Questions tagged [rmannotation]

An RMAnnotation defines a container for annotation data to be placed on a map. At a future point in time, depending on map use, a visible layer may be requested and displayed for the annotation. The layer can be set ahead of time using the annotation’s layer property, or, in the recommended approach, can be provided by an RMMapView’s delegate when first needed for display.

4 questions
1
vote
1 answer

Can't change RMPointAnnotation image in Mapbox IOS Sdk

I am drawing a line in - (RMMapLayer *)mapView:(RMMapView *)mapView layerForAnnotation:(RMAnnotation *)annotation. But at the same time i also want to use a customise marker for annotaion. How can i do this. Any kind of help will be really…
Rafay Hasan
  • 115
  • 9
1
vote
0 answers

MapBox Animate adding or removing RMAnnotation layer

I can animate adding RMAnnotation to map box mapView: - (RMMapLayer *)mapView:(RMMapView *)mapView layerForAnnotation:(RMAnnotation *)annotation{ //create a new annotation marker RMMarker *marker = [[RMMarker alloc] initWithUIImage:[UIImage…
Hashem Aboonajmi
  • 13,077
  • 8
  • 66
  • 75
0
votes
0 answers

MapBox comparing two sets of RMAnnotations

I'm trying to compare two sets of RMAnnotations (Annotations used in the MapBox SDK for iOS), using the following code: NSMutableSet *before = [NSMutableSet setWithArray:self.mapboxView.annotations]; if(self.mapboxView.userLocation) [before…
trdavidson
  • 1,051
  • 12
  • 25
0
votes
1 answer

Multiple lines in RMAnnotation title in Mapbox?

Im wondering if its possible to make the annotation title that comes up when you tap an annotation have multiple lines. Mapbox uses the SMCalloutView for that popup view. The Mapbox references are very poor for ios...
Arbitur
  • 38,684
  • 22
  • 91
  • 128