can anybody tell me or send me some links if there is any..which tells how Google map draw on canvas in android. what is the logic behind that.
any help will be highly appreciative.
thanks alot
You will need to download the Google APIs to start. You will then need to tell your project to use the APIs, specifically maps. You can follow the documentation here.
Related
I have a huge plan of a site (the plan is just a picture), the problem is that Google Maps, can't have access to it, so I need to add markers in this picture (Plan), My question how to that ? how to make a picture interactive ? how to add markers ?
Really I have no idea, I saw indoor of Google Maps, but it's not what my custmer need.
Thank's !
this is a small example
you may give this library a try or see its demo here: https://leafletjs.com
it's a pure javascript library that may be used with any web platforms
wish it to be helpful.
I need to make an Android app where the users have an option to draw a polyline on Google Maps and when the touch is removed, then do some action with the plotted polyline. Drawing and performing action is secondary. But the question is how could I achieve this?
Is there any predefined drawing tool (something like http://googlegeodevelopers.blogspot.in/2011/11/make-your-map-interactive-with-shape.html for JavaScript) to be used in google maps, or do I need to go with customization? Please suggest, or provide any links.
And can we extract the points to compare them with the ideal answer which was to be traced?
But the question is how could I achieve this?
With code. ;)
do I need to go with customization?
Yes. You would have to code all the functionality yourself. AFAIK there is no library that does that and of course Google Maps Android API v2 doesn't (and most probably won't) provide such functionality because it is too specific. I still think this would make a pretty useful library.
And can we extract the points to compare them with the ideal answer which was to be traced?
Yes. That would be simple after you are done with everything else.
Polyline polyline = ...
List<LatLng> extractedPoints = polyline.getPoints();
Simply use google maps api Google map API v2 following link might help you with the code.
code reference
I want to draw a line from one gps point to another.
Is there a way which uses the streets on the map? And not just the air line?
Does anyone have an example code for android programming in eclipse?
I didn't find any suitable way in google which I will understand. I'm just a beginner.
Thank you for the outset. :)
You can check this blog post I wrote on this topic exactly:
Google Maps V2: Draw Driving Direction on Map:
There is also a sample project there that you can use.
yes there is its called Google Directions API
We added about 200 new markers in the MapView.
Now the app stucks and you cant use the MapView.
I heared about MarkerClusterer but did not found any more inforamation how to use MarkerClusterer with Android...or are there better solutions?
Can anyone give me a link or write a little turorial?
Thanks :)
You can have a look at this example Android project https://github.com/igorab/ManyPinsProject
It shows limited amount of markers depending on MapView zoom level.
Here is tutorial from Google https://developers.google.com/maps/articles/toomanymarkers
As #CommonsWare said it is only for JavaScript version or GoogleMaps, but may be you can find something useful there. For example, they have a link to MarkerClusterer js source code. Maybe you can find a way to adopt it to Android.
You can use this library – Android MapView Balloons. This project provides an easy way to annotate map overlay items with a simple information balloon when using the Android Maps.
I am trying to put a small area of openstreetmap onto the mapview and override the Google maps. How can i go about doing this? How do I even get started?
I am new to this concept, so I would appreciate if someone could lead me.
Currently, I have downloaded the map.osm file of the region I want. Now I have no clue on what direction I should take.
Sorry about this ignorance.
I appreciate your help.
You want to use osmdroid:
http://code.google.com/p/osmdroid/
They have extensive explanations, examples, wiki, etc.