Is it possible to use OpenStreetMap data (for routing) on a Google map layer ?
I'm asking this because the Google Directions API is quite expensive, but at the same time I find OSM maps very ugly.
So is it possible to "mix" both the Google map and the OSM data ?? Or if someone knows an OSM map that looks like the Google one, please tell me, I would really appreciate it.
Thank you
PS : I am developping on Android
The OSM license doesn't forbid it: You can do it, as long as you don't mix two datasource for one type of data, so you're good.
You might try e.g. Mapbox, which have some rather nicely looking OpenStreetMap tiles and are also providing directions. They also have an SDK for Android: https://www.mapbox.com/android-sdk/
Related
I'm looking for a way to use custom map tiles with the Google Map API V2 for Android.
I'm writing an application that will create it's own maps in real time with data that are comming from a robot.
The application need to show to the operator this map. The operator need to interact with this map, letting way points, etc.
I want to use the GoogleMap engine in order to do the same that in this page :
http://cdn.mikecouturier.com/blog.mikecouturier.com/tilesgenerator/index.html
The problem is, this guy use the [javascrip API]
But me, I want to use the [Android API]
Are there any way to use Custom tiles map on android with the GoogleMap Engine ?
Thank's a lot
PS : I'm already looking how to use ArcGIS. But, i prefer using API without paying license, thanks
By using GoogleMap.setMapType(MAP_TYPE_NONE) you will get an empty map.
Using e.g. the CanvasTileProvider I have described in the answer to this SO question you may then draw anything into the tiles.
I want to make my final year project and for my idea I'd need the 3d buildings from google maps extracted somehow. Does google maps support this? Is it achievable ? I couldn't find anything really relevant on the internet.
I think the reason why you didn't find anything related to Google Maps is that the 3D information belongs to Google Earth. Google Maps/Earth API doesn't support this directly as far as I know.
The link below describes a process to get the information, I didn't test it and it's too complex and not mine to repeat here but basically "the only way to obtain this geometry is to capture it from the systems graphics engines (directX or opengl)." :
http://zachsoflin.com/blog/2012/03/01/extract-geometry-from-google-earth-to-mesh/
If you google "Extracting 3d models from google Earth" you'll get more results.
I'm not sure if this will work, but have you tried 3D information from OpenStreetMap? I think some like http://www.osm-3d.org/map.htm have building height layers available, if that's what you're looking for.
Here you can find a tutorial for extracting the 3D models from Google Earth.
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 have a server with a lot of Places of Interest information. (long, lat, picture url, name, etc)
About 100.000 items.
What is the best way to: load/download it into Android, and
what is the best way to show them on a Google Maps?
For such a big amount of Markers I suggest you give KML Layers a shot.
With Google Maps you can either have google render all markers for you, (default: KMLLayers)
or you can rely on GeoXML3 for client side parsing.
The same applies to Android Google Maps. Layers can easily be added using this: How to draw a path on a map using kml file?
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.