Google Maps iOS SDK Night Mode - ios

Is there a way of implementing a night mode in Google Maps iOS SDK considering the fact that there is NO documented property for doing so?

The latest Google maps iOS SDK (Version 2.1) does include some map styling.
You can read about implementing night mode in the Google Maps SDK Docs.
Also, you can take a look at the update notes.

No - at least not with the current Google Maps SDK (1.8.1). There is no way to apply custom styles to the map.

Related

Does Google Map supporting Apple Watch in iOS Development?

I want to add Google Map into Apple Watch. I am running one app which has already integrated Google Map. I want to integrate some functionality with the Apple Watch kit.
Is there any way to do that? Please share your thought if you have any.
There is no Google Maps SDK for watchOS at the moment, but you can use the Google Maps REST API from watchOS.

MapKit & Google Maps

Recently included maps using apple's MapKit. I understand MapKit uses Google Maps. I would however like to know if the app developer is charged for using Google maps.
Apple's MapKit only used Google Maps up to iOS 5.1 as stated in the "Important" note in the MKMapView class reference:
Important: In iOS 5.1 and earlier, the Map Kit framework uses the Google Mobile Maps (GMM) service to provide map data.
Since then, and including iOS 7.1, MapKit uses Apple's mapping service instead.
However, regardless of iOS version, the developer is not charged for using maps.
Developers are not charged for using google maps.

Is it possible to load a library before linking based on iOS version?

I have an application which is supposed to use google maps and mapkit framework. Now, google maps are only supported on iOS version 5.1 and further whereas Mapkit framework is supported on lower versions.
I want to the application to:
Load Mapkit on lower versions of the device.
Load Google maps for 5.1 and above versions,
before linking.
Bottomline is, is it possible to load the specific libraries based on iOS version of the device when application launches, before linking ? OR so can I programmatically choose between the two, based on the iOS version ?
Thanks for any help.
Note that just including the Google Maps SDK for iOS in your app will make it crash on iOS 4.x - even if you don't call anything in the SDK. See here for details:
Google Maps SDK for iOS trying to run on iOS 4.3
So if you take this approach, you'll be able to use Google maps on iOS 5.1+, but only be able to use Apple maps on iOS 5.0. Given that probably less than 1% of users are running iOS 5.0 (see here), it might not be worth the trouble.
It is possible to choose between the two, but what you are describing exactly is not possible. Apple doesn't allow third-party dynamically linked frameworks. The Google Maps framework will actually be a static library inside your application, so it exists in your binary itself (no linking involved).
I should point out that the SDKs are obviously not API-compatible, so you will need different code in each case and can't just, for example, change the class of your map view based on iOS version.

Migrating to Google maps from iOS maps

I have an app in the app store which I use iOS/ Apple maps. Now with google maps sdk 1.1 I decided to migrate form Apple maps to Google maps. Is there an easy way to do this without re-writing most of the code?
Note: I currently use custom classes for overlays, pins, and map settings.
Thank you in advance..
No, there is no easy way, you have to rewrite yourself.

Let users choose between Google Maps and Apple Maps in IOS 6?

I am using basic MapKit functionality in my iOS app.
Is there a way to let my iOS 6 users choose between Google and Apple maps for the mapping data presented within my app? If so, how can I do this programmatically?
No.
You can let users choose between iOS maps and other maps (OpenStreetMap, Microsoft VirtualEarth, CloudMade, OpenAerialMap, OpenCycleMap, SpatialCloud, TileStream7) with route me (on github) or you can go with Bing maps (also a library available).
But you'll have to code for the different libraries as the MapKit Framework is only available for Apple maps in iOS 6.
ClassicMap (GitHub) does exactly what you're looking for. The sample project shows how to add a Google Maps overlay to MapKit and how to switch between Google and Apple maps.
It works well, but zoom levels seem to be limited to Apple's data (I'm pretty sure that the maximum zoom was higher in Google Maps, at least where I live).

Resources