I need to implement offline map in my app.I have googled a lot but didnt get any code for that. For instance open street map, Once we downloaded the map only we can able to show them in a map. but is also lacking with zoom in and zoom out capability.
If anyone know any good tutorial to show offline map dynamic downloading. If am specifying any country code, it need to download the whole map.
you can use the Open Map Street offline.
here you will find some information and code.
Open Street Map working offline android
The OpenStreetMap wiki has a really large list of software for Android capable of displaying an OSM map.
Related
We have our own open street map server which is maintain by our company. for both Android and iOS we are planning to use this Map Server which is like
"http://maps.mycompanyname.com/osmtiles/15/23655/15748.png."
For Android they have amazing osmdroid for all displaying, routing and all those things. it works perfectly. But for iOS we couldn't find a such library. we are trying to do this with MKMapView with custom tiles, but doesn't success.
Features love to have,
show any given location with markers.
show multiple marker points.
navigation support (optional)
Hope any Guidance for this from you. Please help me with this.
It's some years since I've done it, but can't you still have a webview within an iOS app and have e.g. Leaflet in there? That can definitely display the tiles you're interested in.
I show on my Android App a map with stores on its location with the posibility to see the street view.
I want to show the store's exact location in the street view, so, Is there a way to add a marker on StreetViewPanoramaView?
I know that it is possible on Web with Overlays within Street View but I don't find anything for Android.
Thanks.
Yes, it is possible on Web and IOS. However, its not available for Android platform. This is more likely a feature request.
I found this blog which shows how to display StreetViewPanoramaView with markers. You can use this as a work around: http://android-er.blogspot.com/2015/11/display-streetviewpanoramaview-in.html
I would like to search a place with the android emulator. I use openstreetmap and I want to do it offline!
Can someone tells me how to do it! I would like to send a name or a restaurant for example and to have the position of this on on the map but offline!
I don't know if it can help but I have already an KML and GPX file but no librairie, for the moment, I'm using osmbonuspack because I've used osmdroid and mapnik to display the map
Help me please!
Take a look at the list of OSM apps and libraries for Android in the OSM wiki.
KML and GPX files probably won't help. Likewise, osmdroid is neither capable of displaying maps nor of performing geocoding requests when used offline.
I designed indoor map with Josm. I try to doing indoor map project with android.
I made open street map on josm and I asking question about it on OSM HELP PAGE and they said use tilemill for showing your indoor map. But tilemille suport .shp file and I could not convert it on tilemill.
you can download my work josm HERE
My question is.
How can I design this indoor map on mapbox-TileMill. Or Could you give other advise
exxample project and I found this project for example When I import it ,Why it does not show map
And How can I show map on my android application
could you give me advise. I am so mixed.Could you give me open source project or example
If you are looking for a way to load .osm map to tilemill there is a way. I did it following instructions in this guide. After you have your tiles created using Tilemill you can either either export them to your mapbox account or as mbtiles. Then you can use the mapbox android sdk to create your indoor map app.
Another alternative is to use mapsforge. They provide a mapwriter plugin (which is a plugin for osmosis)that allows you to convert .osm files into .map files. This .map file can then be loaded into the SD card and be used to render maps. However this option will only allow offline maps.
I hope this helps.
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.