-
Notifications
You must be signed in to change notification settings - Fork 1.3k
iOS tile source bridge API #836
Comments
Definitely need that |
Related to this, with the recent addition of |
We are splitting the GL |
The main problem here is that the Other ideas:
|
As an example, this is all that's required to use a legacy raster map ID in GL: {
"version": 7,
"name": "Raster",
"sources": {
"raster": {
"type": "raster",
"url": "mapbox://examples.map-pgygbwdm",
"tileSize": 256
}
},
"layers": [{
"id": "raster",
"type": "raster",
"source": "raster",
"paint": {
"raster-fade-duration": 100
}
}]
} |
Use like so: [self.mapView setRasterMapID:@"examples.map-pgygbwdm"]; |
👉 #1844 |
Let's push this from b3; it's a nice hack, but let's take the time to do this right. |
Is this work in progress or still waiting to be picked up? |
So far we've not added a legacy-raster-specific API for setting the map style and, at this point, I don't think that we will. Have no fear, though, because this example shows how to use a Mapbox-hosted raster tile map with this SDK via a custom GL style. |
Easy to way to use old
RMTileSource
protocol on iOS.The text was updated successfully, but these errors were encountered: