Uploading a floor map is obvious to me, but I need to implement indoor navigation (this means that Users want to know whether Indoor Google navigation is supported in India or not in indoor location (blue dot) on indoor map and destination path in android). If it is supported then how to implement it Thank you
Yes, it is supported in India In fact, you Indoor Google Maps can use indoor indoor spots in 22 cities.
Please use this code to implement geolocation (detect user status) in your website:
& lt; Script src = "http://www.google.com/jsapi?key=ABQAAAAlJFc1lrstqhgTl3ZYo38bBQcfCcww1WgMTxEFsdaTsnOXOVOUhTplLhHcmgnaY0u87hQyd-n-kiOKQ" & gt; & Lt; / Script & gt; & Lt; Script & gt; (Google.load ("maps", "2"); google.setOnLoadCallback (function () {// map var map = new google.maps.Map2 (document.getElementById ("map")), markerText = markOutLocation = Function (long, long) {var LatLong = new google.maps, "& lt; h2> you are here with good geolocation, no It & lt;; / p & gt ".LatLng (lat, long time), marker = new google.maps.Marker (LatLong); map.setCenter (LatLong, 13); map.addOverlay (marker); marker.openInfoWindow (MarkerText); google.maps.Event.addListener (marker, "click", function () {marker.openInfoWindow (markerText);});}; map.setUIToDefault (); // check for geolocation support if no Vigator.Golocation) {// Get Current Status: Itian Navigator.Golocation.GetContent (Work (Status) {// Success! MarkOutLocation (position.coords.latitude, position.coords.longitude);}, Function () {// Gelocation fallback: .. Stockholm, Sweden markerText = "l & lt defaults; p & gt; please accept geolocation to be able to find me & lt; Br> I've put you in Stockholm for now & lt; / P & gt; "; MarkOut location (59.3325215, 18.0643818);});} Else {// No Geolocation Fallback: Eeaster Island, Chile markerText =" default "by & lt; P & gt; Try Easter Island for any location support now. -) & lt; / P & gt; "; MarkOn location (-27.1211 92-363624);}});}) (); & lt; / script & gt;
Expected That it helps
No comments:
Post a Comment