I have a problem with Google Maps where I need to hide some icons that are shown automatically on the map such as museums, bus stops, parks etc.
I am having problems searching the documentation for this because I do not even know how these marker icons are called in Google Maps. I would highly appreciate any information you have that can help me find a solution, thank you in advance.
You would need to use Places API for this.
Would need to do poi.park visiblity turn off.
You can see all of the supported places type here.
To see how to use Places API in Android, you can check this link out.
Related
I am working on building an app with a map function. We have parsed restaurants from Google Places and put them on Apple Maps for iOS and Google Maps for Android.
Our main problem is that the map looks very crowded when restaurants happen to be close to each other. See example here: http://picpaste.com/MAP_EXAMPLE-P17m5Aqe.png
We can't figure out a good solution for this. Google/Apple seem to have solved it by showing different restaurants depending on the level of zoom. Is there an easy way to replicate the algorithm?
Update: We have tried clustering but it does not really solve the issue when you zoom in enough (as picture above shows).
Thank you for your help!!
You should use clustering here. There is already an official utility implementation of maps marker clustering here.
I am using Google map in my application it shows places in it's suggested area and if i click it, it shows route as my expectation but it never show me any cafe in it's suggestions.
So my question is that, how i get that kind of suggestions from map?
is there any library for that?
Take a look at Google Places API
https://developers.google.com/places/?csw=1
A short tutorial: http://www.androidhive.info/2012/08/android-working-with-google-places-and-maps-tutorial/
OR
http://code.tutsplus.com/tutorials/android-sdk-working-with-google-maps-application-setup--mobile-15771
Over the past few days, I am trying to find a step - by - step tutorial to implement google places with the updated version of google maps (in eclipse for Android) with no success.
In the old tutorials I find , the map doesn't appear, because it is not updated in the v2.
Can anyone suggest a way to proceed? I feel lost with all the scattered information I get, and I don't have the experience to change the old examples by myself.
I want to make a simple app, that finds my current location and displays the cafes and restaurants, within 3Km distance. At this point I have tha map showing my location, and I need a tutorial to guide me into implementing Google Places from scratch.
Please help!
I'm actually making an app quite similar to yours! I haven't updated to v2 yet but from what I can tell, the only major difference in implementation is the use of a MapFragment as opposed to a MapActivity.
So you have the map up, yes? Then you should be able to make calls to Google Places the same way you did with the v1 Maps (since they're separate components and don't depend on each other). If Places is what's giving you trouble, I suggest following this tutorial: http://ddewaele.blogspot.com/2011/05/introducing-google-places-api.html. It's pretty good and only needs a couple of tweaks to get things up and running.
If you're still having trouble, post back and I might be able to help you out with some code.
i found this post helpful,i hope you will find it too,
http://mobile.tutsplus.com/tutorials/android/android-sdk-working-with-google-maps-map-setup/
I built my application using Google Maps and it is using:
-BalloonItemizedOverlay
-BalloonOverlayView
-ItemizedOverlay
and what it does:
-Displays multiple points on map, each one clickable and balloon appears with relative text + description.
-Displays and updates the marker/point of user's position.
The only reason I want to switch to Open Street Map is because I would like to use the feature "caching map tiles" (presaving maps) which as far as I have looked it up is not allowed with Google Maps.
Can someone help me convert my application thoroughly to use OSMdroid instead of GoogleMaps? Providing me with some guides (very few support for OSMdroid at the moment...)
I have already looked up a lot of codes but they mostly differ in comparison with Google Maps and I can't seem to get it all right. I have managed to display user's location on the map but adding BalloonItemizedOverlays and so on is a hassle.
Anyway just help me out in any way you can - proposals on how to do it, sites with guides, anything :)
Thanks
http://code.google.com/p/osmbonuspack/wiki/Tutorial_1
http://code.google.com/p/osmbonuspack/wiki/Tutorial_2
I think these two tutorials should get you started with Balloons and Customized Balloons
Itemized overlay with osmdroid is quite easy to use, you should give it a try and you will get the feel of it once you try it our.
Is this possible in Android, when i will say a name of place google map pointer will zoom to that place. i.e. I want to search Map by voice
if possible then how to do this? Though i have done so many apps in Google map, but din't try this before! Can any body help?
this should be useful to start off.then you can go through these APIs.If you want to include the voice recoginition part , now APIs are available from level 8.check this out. RecognizerIntent.you can even use the Voice recoginition example
Check out the animateTo method of the MapController class. I think this will do what you're looking for.