Questions tagged [mapbox-ios]

2

votes
1

answer
94

Views

Mapbox iOS clustering works, but circle style layer and numbers layer aren't appearing/reflecting the marker density of the cluster

I am using Mapbox to create an iOS application. The application gets makes a request to my API that returns a number of events going on within the map's bounding box in JSON format. I was previously not using clustering, so some map annotations were simply covering others. I am using this Mapbox tut...
David Chopin
1

votes
1

answer
32

Views

How to show polylines added in the source in mapbox ios?

I'm trying to show the polylines taken from a GeoJson then added to the same source but with poor results. NSString *jsonString = @'{\'type\': \'FeatureCollection\',\'features\': [{\'type\': \'Feature\',\'properties\': {},\'geometry\': {\'type\': \'LineString\',\'coordinates\': [[4.873809814453125,5...
trippolo
1

votes
0

answer
16

Views

Set FillColor of MGLFillStyleLayer by color feature attribute

we are developing an iOS-App and have a problem with setting the fill color of the MGLFillStyleLayer (MapBox iOS SDK). We have a large .geojson-file which is parsed and added to the standard MapBox map. Each feature in the geojson has an 'color' attribute to set the background-color of the feature....
TorbenI