It's amazing how easy it is possible to use geofencing with Google Maps API. However for that you have to be "connected" and use online maps. However I can not find how to use geofencing functionality for offline maps and what, if any, offline map provider supports it on Android. Would be thankful for any help here.
Well, I ended up with some hybrid solution. I used MapBox and Open Street Maps for offline map functionality together with Google Play services that allowed me to add geofencing functionality. Somehow I was thinking that geofencing requires to use Google Maps and that was obviously not correct.
Related
I'm having trouble figuring out how do I open a tab of google maps or google maps app on my app within the unity, and can't afford to buy the Asset for facilitating, what do I do? is there any other site or application that I can use and be easier?
You would have to use AndroidJavaClass and AndroidJavaObject API to construct common map intents: https://developer.android.com/guide/components/intents-common.html#Maps
There are plenty examples out there how to use AndroidJavaClass and AndroidJavaObject e.g. how to create a share intent. These are very similar for maps.
I want to use the Tun by Turn voice navigation feature that on google maps app in my android app, I've searched a lot but couldn't find answer, I've used google maps direction API for creating the path from the current location to the user's destination, it's part of the idea of the application to help the user navigate,
What API should I use ? or is it even possible to do it?
Google Maps API v3 does not provide the voice feature at all. And Google Maps API v3 and Google Maps applications are completely different ones. So if you want to implement the voice navigation, you need to prepare it.
Best to read the terms of service. 10.4 (c) ⅲ might be relevant:
ⅲ. No navigation. You will not use the Service or Content for or in connection with (a) real-time navigation or route guidance; or (b) automatic or autonomous vehicle control.
Fortunately, org.apache.cordova.plugin.tts plugin provides that function for Android.
document.addEventListener("deviceready", function() {
tts.speak("Hello");
});
Please refer to the link:
https://github.com/domaemon/org.apache.cordova.plugin.tts
Hope it helps.
Does the google maps sdk for iOS allow caching for offline use?
Just like the Google Maps app now allow offline interaction, I was thinking if it also aplied to apps created with the latest sdk.
Note: I've been around StackOverflow for sometime now that I know questions must be code related, but since the official page's discussion section forward me here with the tag [google-maps-sdk-ios], well.. here I am and I apologize if it shouldn't be this way.
Thank you.
No, as of SDK 1.8.1, there is no direct support for this for Google Maps.
It is however possible to use a custom tile overlay, which could load tiles from a downloaded cache. It's against the SDK T&C to download Google Map tiles, but you could provide your own tiles from another provider, e.g. OpenStreetMap.
The iOS/Android app I am building requires a map component and just wondering what experts here would recommend using?
The app is being developed using pure AS3 and come across MapQuest. I only really need to be able to drop multiple markers and click markers for information. No directions, search etc.
Thanks
You might consider using a StageWebView instance with the HTML version of Google Maps.
You should be able to find helpful articles on the web. Sample: http://www.igorcosta.org/?p=350
Anyway, this might get tricky. :-/
I think Google Maps is still a good idea, but I’m not sure if it will work on mobile:
http://www.gotoandlearn.com/play.php?id=104
Beware that Google Maps API for Flash is deprecated.
Note (form Google Maps API page):
The Google Maps API for Flash has been officially deprecated as of September 2, 2011. The API will continue to work until September 2, 2014. We encourage you to migrate your code to version 3 of the Maps JavaScript API.
If not, you'll probably have to create a native extension.
Recently Google released a new version of their Google Maps which lets you save an offline version of a particular chunk of the map. At the same time I've been playing around with making an Android app which uses the Google Maps API, and I was just wondering... is it possible in some way to get that offline map and get my application to use it? So that my application doesn't need an internet connection either?
I'm aware that OpenStreetMap is an alternative but I don't think it'll work with the project I have in mind.
Cheers
that may be a violation of Google's Terms of Service.
Have a look at this: How to cache Google map tiles for offline usage?