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.
Related
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.
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.
I'm new to both iOS programming & the Google Maps iOS SDK, so apologies if this is a basic question.
I want to include a Google map, in an app and give users the ability to search for various places (restaurants, bars, gyms, etc) within a certain radius of a marker.
I know this is possible using the javascript api, but can it be done using the maps iOS SDK? I have read all of the information here and have searched Stack Overflow & Google but I can't really find anything that gives me any pointers.
Within the documentation, Google say that using a URL Scheme you can launch a native iOS app and pass in parameters for searches, directions etc. Is this what I need to be using, or is that more tailored to a webapp?
Any help, advice, or pointers to tutorials (other than the ones provided by Google) would be massively appreciated.
Cheers
The Google Maps URL Scheme can currently only be used to open the Google Maps app to search for a location or for directions. It can't search for places. Also, if your own app did this, then it would shut down your app and switch to the maps app, which may not be what you want. It will also only work if the user has installed the Google Maps app.
You would probably want to use the Google Places API to make http requests from your native app. You can request a response in either JSON or XML format. Then you'll need to parse the response, and use it to add markers to a GMSMapView using the Google Maps SDK for iOS.
This blog post describes this library which the blog post's author wrote to wrap the Google Places API. You wouldn't need most of this code, but it might give you an idea of where to start. This class is the main one which handles the requests to the places API.
Note that this library uses a third-party JSON parser - SBJsonParser. As of version 5.0 iOS includes a native JSON parser, NSJSONSerialization. So if your app's minimum supported iOS version is 5.0 or higher, you don't need to use a third-party library.
I need Google Maps API v3 calls in my GWT Project, more specifically an Autocomplete-Feature for Places like in Google-Maps and the DirectionServices.
We already tried 2 approaches to get v3 access, but none was satisfying:
Using the GWT SuggestionBox Widget + Geocoder suggestions. This solution is very slow and even worser, the constraints you can put on the suggested Places is just country codes (e.g. "uk") and, even worse, it seems to be not working.
Google Maps API v3 Wrapper for GWT done by branflake2267. There seems to be a conflict between the wrapper and the already existing (older) GWT Google Maps API lib. When one tries to remove the Google GWT-maps-api from the project, severe changes would have to be made, since the structure of the API seems different (some Classes are not within the Wrapper).
Does somebody maybe had a similar problem and a solution for this? How can I get the Google Maps V3 API working in my GWT project?
Thank you very much guys for any help on this!
There is an official port of Maps v3 supported by Google which can be found here, but it is still in pre-release.
For more info, look at the comments of this bug.
Be very careful with Maps v3 it has some serious issues when used with the latest GWTversions. It does not appear to use Overlays and uses ArrayHelper all of which cause problems on GWT 2.1 and up..
I've had good luck with the branflake API on GWT 2.8. However, it hasn't been updated in years and still uses API version 3.10. Unfortunately I'm going to have to either for it and take on maintaining my own version of it or find an alternative at some point.
For now, tho, it's still very much a usable solution.
https://mvnrepository.com/artifact/com.github.branflake2267/gwt-maps-api
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?