-
The proxy object for the current map style.
DingiStyle provides a set of convenience methods for changing Mapbox default styles using
-[DingiMapView styleURL]
. Learn more about Mapbox default styles.It is also possible to directly manipulate the current map style via
-[DingiMapView style]
by updating the style’s data sources or layers.Note
Wait until the map style has finished loading before modifying a map’s style via any of theDingiStyle
instance methods below. You can use the-[DingiMapViewDelegate mapView:didFinishLoadingStyle:]
or-[DingiMapViewDelegate mapViewDidFinishLoadingMap:]
methods as indicators that it’s safe to modify the map’s style.Declaration
Objective-C
@interface DingiStyle : NSObject
Swift
class DingiStyle : NSObject
-
An
See moreDingiLight
object represents the light source for extruded geometries inDingiStyle
.Declaration
Objective-C
@interface DingiLight : NSObject
Swift
class DingiLight : NSObject