Is there a way to set boundaries on the camera, so the zoom is automatically set like in the Android API?
There is a similar question here:
How to setRegion with google maps sdk for iOS?
There is also a feature request to add this to the SDK here:
https://code.google.com/p/gmaps-api-issues/issues/detail?id=4950
Related
I am trying to center the map on certain Feature from FeatureCollection. Within Mapbox Android SDK there is method on MapboxMap called getCameraForGeometry, where I can pass the Geometry of the Feature and get desired map position.
How can I do the same for iOS version of Mapbox SDK?
You can use [MGLMapView camera:fittingShape:edgePadding:] or [MGLMapView cameraThatFitsShape:direction:edgePadding: to change the camera to include a specific shape or feature.
If you have annotations that you would like to show, you can also use [MGLMapView showAnnotations:animated:] or one of the related methods.
I want to add my project Heat map using GoogleMap on iOS. I found the heat map not supports google map for iOS. And i also found one demo but is in Apple(native) map.
So any one know how to add heat map using google map. Please help me.
I'm developing Google Street View app for iOS.
I think Photo Sphere is not sopported iOS API, but it's sopported Android API.
How do i show the Photo Sphere? I can't think of any good ideas.
Use cordova-plugin-googlemaps for PhoneGap?
Thanks.
You can use OpenGL ES and map the image as a spheremap texture. or have a sphere mesh and use a standard texture coordinates.
You can also achieve the same effect using UIView customisation.
I've seen this screen view.
Is it possible to get a 3D map in Google Maps SDK for iOS? I've seen normal, satellite, terrain, hybrid and none here.
Modifying the camera's viewing angle is supported by the SDK. Users can use a two-finger swipe gesture, or you can set animateToViewingAngle: on GMSMapView.
https://developers.google.com/maps/documentation/ios/views?hl=de#introduction
I have integrated Google Maps SDK to an iOS application and I would like to display 3D Satellite maps. According to the documentation this should work just directly. I can tilt the view, but the displayed map remains flat (i.e. mountains do not show up in 3D as they do in Google Earth).
I have been searching extensively for this, but found no reference or mentioning whether it actually works or does not. Does anybody know whether the 3D maps (google SDK) do work on iOS and I am just hitting some limitation/wrong switch or whether they do not work?
As of SDK v1.8, tilted layers do appear to have some 3D elevation effects, but it's more subtle than Google Earth typically is.