Mapbox: Custom Annotation Callout - ios

In mapbox for ios using swift what is the correct way to create a custom layer in the annotation bubble using the new Mapbox for iOS I know in the previous version you could get something similar following this link but the new official version seems pretty different. Also the intention is to change the callout, possibly just displaying a UIView in its place

The callout uses the same dependency as the old SDK, which is SMCalloutView. It should be just as customizable as in that guide you linked to.

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

Xamarin.iOS MapKit: Looking for an equivalent to Android.Gms.Maps.Model.GroundOverlay

I'm working on a Xamarin Forms app that uses Google Maps and adds annotations to it, using custom renderer. We want the annotation to resize when the user zooms in or out. In Android this can achieved by using the GroundOverlay class, however I haven't found an equivalent for iOS.
Does anyone know how this can be done?
Also posted on Xamarin forums: https://forums.xamarin.com/discussion/92527/ios-mapkit-looking-for-an-equivalent-to-android-gms-maps-model-groundoverlay

Animated Marker on Mapbox

It seems that mapbox updated its ios SDK recently with some huge change.
For example, it seems that it is not possible anymore to provide a layer as a custom marker, or to animate a marker as in this example:
https://www.mapbox.com/mapbox-ios-sdk-legacy/examples/cakeyframeanimation/
It seems that every reference to that example is related to a RMM* named class which has been deprecated.
How can I implement an animation in a Mapbox's MGLMapView?
Any kind of suggestion is appreciated, from a series of png to a CAEmitterLayer, to a generic view to be used as a marker so that I could do anything I want with it.
View-based annotations/markers is a feature that will be coming in the v3.3.0 release. Once you’re able to use views, you’ll also be able to use the same Core Animation methods you’re familiar with.
If you would like to try out a pre-release version of v3.3.0, have a look at alpha 3, which has preliminary support for view-based annotations — see MGLAnnotationView.

How would I create a custom image marker in version 3.0 of the Mapbox iOS SDK?

How would I create a custom image marker in version 3.0 of the Mapbox iOS SDK?
I am trying to create a mapView that shows a bunch of images as map annotations. These images are downloaded remotely using a UIImageView category.
I looked through the examples online, but the "Custom Image Marker" example found here seems a little outdated.
An example of what I'd like to create is attached below:
Mapbox's documentation isn't very well organized at the moment. The link you need for version 3.0 custom marker is here.
I've just started playing around with Mapbox and custom markers. I've used their provided Tower of Pisa images just to try it out. Those work fine but I've had trouble getting my own images to work. Let me know how you do.
Good luck!

Custom callouts in Mapbox

I've created offline maps with Mapbox and MBtiles, it's working perfectly. But the problem is, I couldn't create custom callouts as per my need. I want to create a callout similar to this screenshot.
.
How can I achieve this using Mapbox?
You'll want to tap into the dependent project that Mapbox uses, SMCalloutView, for this.

Resources