How do I use the Google Maps Geolocation API for indoor positioning and detecting not just lat/long but also elevation. Alternatively is there a way for the Directions API to tell me if indoor directions were completed?
Based from this document Indoor maps, you can use Google Maps API. At high zoom levels, the map will show floor plans for indoor spaces such as airports, shopping malls, large retail stores, and transit stations. These floor plans, called indoor maps, are displayed for the 'normal' and satellite map types (GoogleMap.MAP_TYPE_NORMAL and GoogleMap.MAP_TYPE_SATELLITE). They are automatically enabled when the user zooms in, and they fade away when the map is zoomed out.
Indoor maps (floor plans) are available in select locations. If floor plan data is not available for a building that you would like to highlight in your application, you can:
Add floor plans to Google Maps directly. This will make your floor plans available to all users of Google Maps.
Display a floor plan as a ground overlay or tile overlay on your map. This will enable only users of your application to view your floor plans.
If you have added a MapFragment (or MapView) programmatically, then you can configure its initial state by passing in a GoogleMapOptions object with your options specified. The options available to you are exactly the same as those available via XML. You can create a GoogleMapOptions object like this:
GoogleMapOptions options = new GoogleMapOptions();
options.mapType(GoogleMap.MAP_TYPE_SATELLITE)
.compassEnabled(false)
.rotateGesturesEnabled(false)
.tiltGesturesEnabled(false);
The Google Maps Elevation API provides elevation data for all locations on the surface of the earth, including depth locations on the ocean floor (which return negative values). Check this: https://developers.google.com/maps/documentation/elevation/start
Related
I want to develop an app using rssi of ble,wifi to set position of my users in indoor environment, or something else for example when they are near specific location send theme notification.
I have to add my information and markers to google map. and my own simple map.
it is like customized map for my users in my app.
I have this place in map but I want to add walking path and more information.
right now it does not have anything. no walking path for example.no stores information and exact location.
and i want add something like these or much simpler:
Sample indoor map 1
Sample indoor map 2
as I see you mentioned indoor map is just available for certain country.
this link : are available in select locations
and again you mentioned : Display a floor plan as a ground overlay or tile overlay on your map. This will enable only users of your application to view your floor plans.
my country is not the part of your supported list (sanction). but the google maps app is still working here.
I just want using google map to be shown with my customized map and information,markers just for my users in my app not public.
is it possible ?
I place my beacon and the position of the user is set by my algorithm in map. I do not know that I'm in right way or not. where I should start?
thanks a lot.
You can use Google Maps SDK for Android to create a map in your android app. You can customize the map on this sdk like putting markers, info windows, styles etc.
At high zoom levels, the map shows floor plans for indoor spaces which are available in select locations you mentioned.
As stated in the Maps SDK for Android documentation - If floor plan data is not available for a building that you would like to highlight in your application, you can:
Add floor plans to Google Maps directly. This will make your floor plans available to all users of Google Maps.
Display a floor plan as a ground overlay or tile overlay on your map. This will enable only users of your application to view your floor plans.
Hope this helps!
I am planning to create a app which displays bus lines on a google maps map and I want it to display the paths the buses take. I know about polylines and polygons in google maps, but idk how I can make them snap to the road. Is that possible? Can I just use the Directions API for that?
Halo guys,i found that the google map apps can show indoor floor plan with stores name,
but as i just implement google map v2 into my Android apps, it only shows floor plan without stores, is it possible to show details like the google map apps?
second, is there a indoor routing system in google map v2 for indoor map? e.g. shop a to shop b in same building same floor, and more if same building different floor?
thanks!!
No. You only get the basic outlines of the stores, not the names and such with indoor maps. Also there is no routing period in Google maps.
I am creating an Android application that uses the Google Maps API. I've set the MapType to Satellite so it will not show any labels, but it still shows the Google Maps floor plans when I zoom into an area that has them. Is there a way to make sure they don't appear and I just get the satellite image?
The only options we have for removing labels is using setMapType(MAP_TYPE_SATELLITE) or setMapType(MAP_TYPE_NONE). Indoor plans can be removed with setIndoorEnabled(false).
I am using the Google's Android MAPs API V2 for indoor mapping in our app. It displays the indoor map correctly. Now, I am calling the Directions API to get the co-ordinates between two points to plot them on the indoor map for the way finding. However the Directions API always returns outside walking co-ordinates for two points selected within the indoor map. Is Indoor directions API only available for Google's Maps app ?