How to set padding on map view (Mapbox-ios-sdk) - ios

Does anybody knows how to set the padding on a MapBox mapView as Google Maps iOS SDK does?.
This example belongs to google maps iOS sdk 1.7.2 (VisibleRegionViewController).
What I want to do is to replicate the overlay view on MapBox SDK for iOS so I can keep the MapBox watermark logo visible when an overlay view is over the mapView.

I contacted MapBox support with the same question in 07/2014 and this was the response:
"Hi, No, there is no documentation for either of these use cases as they are somewhat custom.
We might add this sort of functionality in the future, but it's not there right now."
It looks like they don't provide a Google Maps equivalent of "padding".

Related

How to implement clickable info-bubble on tap of marker in HERE maps in iOS?

I have integrated HERE maps successfully in my iOS app, but now I am facing an issue in implementing info-bubble on tap of markers on HERE map.I have searched on HERE documentation for iOS SDK, but can't find anything relevant. There are many solutions for JS, but nothing for iOS.
This feature doesn't seem to exist on iOS and Android. In order to create a similar behaviour in iOS, you should use NMAMapOverlay instead and add your own subviews/styling to it.
The iOS SDK documentation states that NMAMapOverlay can be used to display custom UIView-based content at a fixed location on the map. (...) Then, give the overlay a NMAGeoCoordinates location and add it to a map. The overlay will automatically be repositioned on the screen as the map moves.
You can find more information about the best practices for the implementation here:
https://developer.here.com/documentation/ios-premium/3.15/api_reference_jazzy/Classes/NMAMapOverlay.html

Google Maps iOS SDK some map tiles loaded with green transparent color

I am using the Goolge Maps iOS SDK 2.1.1.
I manually had to integrate the framework since we are using Carthage and the Google Maps iOS SDK only supports Cocoapods.
I created a custom style with the Google Maps Styling Wizard and loaded it as stated in the documentation.
When I zoom in some map tiles get a weird green transparent color on certain zoom levels (see picture). It's hard to see on the left screenshot so I marked the area that gets colored green on the right screenshot.
Did anyone experience the same problem? What could be the cause for this?
EDIT:
I created a sample project. You have to set your Google Maps API key in the AppDelegate.
I think it just may have to do with the style for this, I have never experienced anything like this. Or maybe it has to do with the device itself.

Turn-By-Turn navigation using Google Map SDK and Swift in iOS app

There is an app, that should provide turn by turn navigation. At the moment it uses Google Map SDK and I was able to draw a route using Google Directions API and GMSPath using tutorial from AppCoda. Problem is it looks kind of ugly - simply thin blue line.
My questions is it possible create turn by turn navigation inside an app using Google Maps?
I think Google does provide this option but not for free.
Have a look at this:
https://cloud.google.com/maps-platform/ridesharing/

MKMapView rotation

Apple's latest Maps application allows a user to rotate a map. How can I add this functionality to my MKMapView? I presumed it'd just be a case of setting a boolean property (similar to zoomEnabled), but I can't find anything relevant in the documentation.
There is no built-in rotation support in the MapKit of iOS. You could use regular view transforms (but than all street names etc. will also be rotated of course), or you use the Google Maps SDK or MapBox or something else.
The Google Maps SDK does support rotation, even 3D rotation. The SDK Download includes an example project showcasing the functionality.
Actually MKMapView does support map rotation starting with iOS 5.0. Either you use the MKUserTrackingBarButtonItem control in your toolbar (user taps it until the map is rotating), or you set the userTrackingMode property to MKUserTrackingModeFollowWithHeading.

Using the Bing API, how can I achieve the same cylindrical view as the Bing iOS app?

In my iPad app I have to integrate Bing maps and their Bird's Eye view.
I have successfully used the Bing API in my app, but after certain level of zooming it is not giving me the cylindrical view as seen in the Bing app on the App Store.
How can I present this same cylindrical view from Bing maps?
Are you using the v7 bing maps control in your app?
If so, map sure the map type you've selected is automatic (the MapTypeId property in the map options when you create the map).
Also make sure you're zooming into a location that does have bird's eye view data. For example, I tried Seattle downtown area, and that works fine.
You can try this at http://www.bingmapsportal.com/ISDK/AjaxV7#CreateMap1
I believe this should apply to the iOS control as well.
After too much googling i came to know that....
The Bing Maps Application has some features not available in the development sdk.. :(

Resources