android google apis turn off google map - android

We're building an application where the user has the ability to overlay lots of geospatial data on top of a map. The google apis have terrific support for this; allowing vector features to be drawn as well as a tileoverlay class.
The downside is that their map is ALWAYS the basemap. The only way this is a downside is if a user says "i dont want that" or something. I don't think that's likely, but it's possible. I'm curious if there's a way to turn the google tiles portion off, or tell it to hide it's google tiles, and tell it to stop trying to get tiles from google? I want to use the api, but be able to not show the google map, do-able?

Have you tried setting the map type to MAP_TYPE_NONE?

Related

Make android google maps polyline appear above street names?

How to add a polyline to google map in android above street/area name?
I think this is not possible in an easy way due to how google maps API handles the "background".
If you set the background to normal or hybrid, the map is drawn as a background either in road view like your screenshot or in satellite view if hybrid is selected.
Then all the users features are drawn (and eventually overlays, lines, poligons, then points and lastly, street names. You can't really change this, but you could do a trick:
- Use just the satellite view (so no roads will be added).
- Remove the google background and add an alternative one (there are different services like Open Street Map, Mapnik ecc that allows it).
Following the second choice could also allow to add googlemaps background from web api, but I really don't advice to do it, since you are downloading tiles in a non standard way for google.

Android Custom Dijkstra Map

I need to implement a map for a shopping mall in my app. This map needs to have a way to visually mark the fastest path to go from one place to another.
I currently have two options in mind. I could use the Google Maps API, overlay the shopping mall's picture and try to use some algorithm to mark the best route. Or, I could just place the picture and manually make an algorithm to mark the path (probably Dijkstra).
Yet, it's my first time working with Android, and I don't really know which one could work the best, and which libraries I could use.
I'd appreciate any tip or suggestion.
Google map has an android api that you can directly embed google maps into your application. You can also draw overlays using its api. Take a look at
google map android api

Implementing an indoor map

I would like to implement an indoor positioning system on an Android device (galaxy tab)
I have a picture of the map I intend to use. However I am not sure what is the right way to do
this.
I want my application to have some of the abilities of google maps, such as zoom and scroll, and the ability to use overlay items.
However, as I understand, it is not possible to use google maps with a custom map.
What is the right way to do this? Is there a library which enables us to zoom and scroll images/maps?
Can you use the overlay package without google maps? If not, how can you present a location in such a map?
Thanks in advance
Ariel
Have a look at these two Android apps:
MapCalibrator by Martin Ohlin
Custom Maps by Marlo Teittinen
To develop a full-blown indoor navigation system, have a look at these platforms:
http://insiteo.com/
http://cloudmade.com/
Googling aroud for "indoor positioning" and/or "indoor navigation" you will find many more solutions.
If it was a large location - say a shopping centre - you could possibly map it out in a KML layer and add it to google maps but I'm not sure how well that would work. Google maps does not allow the user to zoom in very far - probably not far enough for your needs if you want to map down to the room level.
Here is a tutorial on "Map your business inside and out".
The google maps API v3 supports "custom maps"
Discussions from the v3 group
one example from a search.

Any way to change the Map used by Google Maps API in Android?

I'm trying to make an Android application that will display a map of a local area only (a big building and surroundings), and I want to know if it's possible to take the Google Maps API and modify the map it's using to be the map I made myself.
If this cannot be done, I will ask my question in a broader sense: How can I create an interactive map app for Android that will use an image made by myself?
I want to know if it's possible to take the Google Maps API and modify the map it's using to be the map I made myself.
Not through the Google Maps add-on for Android.
How can I create an interactive map app for Android that will use an image made by myself?
The same way you implement 2D games: draw it yourself, probably using the Canvas 2D API.
It is possible that there is a third-party library for handling this. For example, you might peek at the OSMDroid code, as that is open source and handles map tiles coming from OpenStreetMap. In theory, one should be able to create a general purpose "map" widget with pluggable tile sources, where the widget handles pan, zoom, etc.
I note that you have the app-inventor tag on this question -- App Inventor is going to be incapable of doing this any time soon.

Using pre-defined overlays in Google map

well i was able to find loads of information on how to create my own custom overlays onto the map, but none on how can i use the ones that google already has put on.
I basically want to use all the overlays of one type (say the Hotel overlay icons) and get their geoPoints and then use them in any way i want...right now i have to manually get the geoPoint of every such hotel overlay and then use them, which is pretty painful considering google has already marked them out...but i have no idea how can i use them..
Any idea how can i do this?
Those are not available to Android SDK developers -- they are part of the proprietary Google Maps application. The only pre-built overlay available to SDK developers is MyLocationOverlay.

Categories

Resources