Custom (different than Google Map) Map in Android - android

I want to use some other Map instead of using Google Map.
So please suggest how I can initiate such thing in Android.
Provide some link or code snippet.
Regards,
Parmanand

You can do this easily by using the Google Maps API v2 and subclassing UrlTileProvider. I discuss this approach in my online guide here: http://guides.cocoahero.com/google-maps-android-custom-tile-providers.html

Related

Custom Google Map Types

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.

Google Maps Drawing Tools for Android

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

using Android Google Maps API to display a Heat Map layer

I am doing a project in Android, where I have given a list of Geography Points (lat, lng) and each point has an associated Altitude(height) value with it.
My task is to create a Heat Map of the given map with varying colors depending on the points altitude value.
Does someone know of any existing library for doing the same. Or, it would also be very helpful to me if anyone can give pointers on how it cam be implemented. My only constraint is that it should work in Android.
Thanks in advance.
mapex, for example. Or this post.
The question is old but Google launched recently the new Google Maps Android API Utility Library allowing to create easily heatmaps. Take a look the BlogPost and the Google Maps V2 documentation.
Also, the source code can be found on GitHub with some sample code available.

Using Navteq maps in Android

1.Is it possible to NOT use Google Maps in Android?
2. Can we use Navteq maps?
3. What will it take to write such an application?
4. Do we have to come up with our own version of MapView?
Pointers and links that can answer these questions and help me get started on 4. are welcome.
Thanks.
Most likely NDrive use NAVTEQ's map, at least in some areas
OSMDroid provides an opensource alternative to Google Maps. They have their own implementation of MapView (similar to Google's implementation).
http://code.google.com/p/osmdroid/
there are some applications on the market that are custom maps, i.e. YandexMaps, OpenStreetMap & others
I believe they had written their own map class implementation, not a MapView one.

Android and Google Maps API - Icons

I want to place markers on the map.
I want to use the standard Google Maps icons for markers.
how do I use them? I don't want to create my own icons.
I'm developing for Android.
in the documentation they tell me to create a class that overrides ItemizedOverlay but in the constructor I'm asked to provide a drawable object.
how do I point to the standard Google Maps ones?
thanks.
this sample project helps you.
how to add a itemizedOverlay and when you click on it. it will show an balloon to display what you need..
Those icons are not available from the Google Maps add-on for Android -- or, at least, they are not documented. Perhaps there is a way you can obtain them for legal download through Google Maps for the Web.
A simple solution can be found here: https://github.com/jgilfelt/android-mapviewballoons/

Categories

Resources