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.
Related
I am working on a project with OSMDroid and I need to implement a directions feature.
My problem is that the way I'm looking for the next waypoint is not really good.
If anyone knows a good method to do this please do not hesitate to use the answer section.
Thanks.
Good morning,
I've searched in Google and here in StackOverFlow, and I'm still unable to find a way in which I can display a Map in my Android App, I don't care if we don't use Google Maps, I just need a way for users to drop a pin anywhere in the map and get the coordinates.
I'd really appreciate if someone could put me in track.
Thanks
http://youtu.be/3WgI8cHCH2o?list=PLshdtb5UWjSqgZ1yaeyKMiLyY4x1egK3c
this would help you clear and crisp beginners tutorial
I fixed this a long time ago, it just requires some doc checking.
I want to include a MapView in my Application. I have been playing around with the Google Api a bit and it worked quite well.
But now I want to have a map completely offline. I know there are a lot of possibilities to do this.
The problem is that I have maps with .obf extension not zip. It should be possible to zoom in and out and to set markers at specific locations.
I know that there are things like Osmdroid. But I can't find any tutorial to load .obf file.
Thank you in advance.
I suggest you to have a look at OsmAnd.
It works with .obf format and provides you offline navigation.
OsmAnd
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.
First, sorry for my bad English.
My question should be quite simple I think, but I didn't find an understandable example on google.
I'm working on an Android app, which can display a route of several gps points.
I've succeeded with displaying a start and endneedle on the google maps map.
Now I would like to show the route as a line between the individual points as well and thats the point where I don't know how to do it.
I would be really happy if someone could show me a simple example of how I can create line Overlays in Google Maps.
Thanks for your answers.
Here is an example for you.
Take a look ,I think this will help you.