Offline-Open street maps on windows phone - windows-phone-8

I'm planning to implement an offline map solution for windows phone using open street maps. To achieve this, would I need to download complete OSM database first and than use it? Or is possible to fetch it on-demand and store it locally?
If OSM is not the best solution what else could be used to have an offline maps application? Offline data would be required only for about 3-5 cities, not more than that.

Related

Alternative framework to Google map API which is "offline"

I need to develop a feature where I need to show the directions between two zipcodes on a map offline. Is there any such framework which can display directions between two zipcodes ? I tried Highmaps, but it doesn't show directions between tow point. I looked at the below apis too. But I think they cannot work offline. Thanks in advance
MapTiler Cloud: https://cloud.maptiler.com/
Microsoft Maps API: http://www.microsoft.com/maps/developers/web.aspx
MapQuest: http://developer.mapquest.com/
(provided by TuxGeek)
Mapjam: http://mapjam.com
OpenStreetMap API: http://wiki.openstreetmap.org/wiki/API_v0.6
Osmdroid: http://wiki.openstreetmap.org/wiki/Osmdroid
OpenStreetMap Android http://wiki.openstreetmap.org/wiki/Android
(provided by AGrunewald)
GraphHopper Directions and Matrix API https://graphhopper.com/#directions-api
(provided by karussell)
The GrapHopper API that you mention is based on their SDK:
https://github.com/graphhopper/graphhopper
and it allows to perform routing in offline mode, in Java, and, more in particular, in Android.
There's a sub-project where GrapHopper is integrated with Mapsforge (library for rendering OpenStreeMap data offline) for Android:
https://github.com/graphhopper/graphhopper/tree/0.8/android
Try hosting your own open-source instance, for example Graphhopper.

Best opensource maps solution for java dynamic application similar to bing maps

I would like to use maps in my web application to plot various points.
Which one should i use google maps or bing or some other?
Using bing maps is free??
I expect a free solution.
Is there any that i can use?
Thanks.
The only one that I know of that's actually Open Source as specified is Open Street Map: http://www.openstreetmap.org/. The map tiles are generated in a crowd sourced manner, and the entire dataset is free to download/play with.
You'll need a seperate data interaction layer (unlike Google Maps or Bing), the best I know of is OpenLayers: http://openlayers.org/ again, open source and free to use/fiddle with as you will.

Offline Google Maps in an Android app

Recently Google released a new version of their Google Maps which lets you save an offline version of a particular chunk of the map. At the same time I've been playing around with making an Android app which uses the Google Maps API, and I was just wondering... is it possible in some way to get that offline map and get my application to use it? So that my application doesn't need an internet connection either?
I'm aware that OpenStreetMap is an alternative but I don't think it'll work with the project I have in mind.
Cheers
that may be a violation of Google's Terms of Service.
Have a look at this: How to cache Google map tiles for offline usage?

Open source map

anyone can suggest what program / approach I should use?
I need to have a map like google map where I can display map, add marker polygon etc.
But I cannot rely on such online services as client is afraid that such service die off and there goes our system...
Have a look at lots of resources pointed in answers to these questions on GIS.SE:
GIS for the web
Steps to Start Web Mapping
You might want to look at Google Fusion Tables, or solutions like MapBox or CartoDB for quick, hosted solutions.
Willing to invest more time (and depending on your skills and language preferences) you could delve into PostGIS & GeoServer / Mapserver with a frontend of OpenLayers / Leaflet (or any other libraries). OSGeo-Live DVD might come handy for a quick and dirty review of most of these options.
Here are pure open source based web map and geo-location database resources. Google map or Bing map is wonderful, but they require business contract for commercial use. It is said that Foursquare recently switched their map tool from Google map to open source based Leaflet API which looks like the picture below. This map tools is quite great and recommendable.
web API for map : http://leafletjs.com/
Good place to start. Two resources below are not really used for developers, cause those are already included in leaflet javascript API.
Map style : http://cloudmade.com/
Map data : http://www.openstreetmap.org/
Geo location based on ip address : http://dev.maxmind.com/geoip/geolite
Can download free ip address & city mapping file, which can be used for custom mapping code.
I recommend http://mapserver.org/
You can create map files into you server...and you can connect to open source databases like PostGIS

How do I use my own maps instead of google maps?

Is it possible to use my own map instead of google maps for my app. How can I do that...Where should I look?
I think you need Open Street Maps (OSM). I have a little GPS app (Maverick Pro) on my Droid, and it can use 3 types of maps: google, bing, and "OSM". The latter seems to be what you need:
http://wiki.openstreetmap.org/wiki/Main_Page
You would need a few things:
A source for data about your geography, in the US see the TIGER Line data published by the Census Bureau.
Software to render the geo data into maps that are visually meaningful, for example Mapnik. Use something like OpenLayers to generate the
movability and nice user features people expect.
Software to deliver the rendered maps efficiently to your users, ie TileCache.
There is a nice summary of this FOSS approach here: http://m.alistapart.com/articles/takecontrolofyourmaps
You may want to check out MapTiler, an open source map tiling tool for Google Maps (and other mapping systems) which runs on Windows and Mac OS X.
MapTiler will automate the tiling process for you through a simple GUI wizard, and in addition, once the tiling process is finished, it will also generate a simple HTML viewer where you can see the results immediately.
Custom Map Tile Overlays are quite an advanced topic in the Google Maps API (even the documentation will warn you in red about this). However, I am sure you will be able to use and understand the HTML viewer of MapTiler.
PostGIS, Geoserver, GeoWebCache, OpenLayers, + GeoEXT gets you all the software you need.
Data is up to you and some of the examples above are good ideas.