styleJSON property
The style JSON representation of the map.
Setting this property results in an asynchronous style change. If you wish to know when the style
change is complete, observe the MLNMapViewDelegate/mapView:didFinishLoadingStyle: method
on MLNMapViewDelegate.
The JSON must conform to the MapLibre Style Specification.
@throws NSInvalidArgumentException if styleJSON is nil or invalid JSON
Implementation
objc.NSString get styleJSON {
final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_styleJSON);
return objc.NSString.castFromPointer(_ret, retain: true, release: true);
}
The style JSON representation of the map.
Setting this property results in an asynchronous style change. If you wish to know when the style
change is complete, observe the MLNMapViewDelegate/mapView:didFinishLoadingStyle: method
on MLNMapViewDelegate.
The JSON must conform to the MapLibre Style Specification.
@throws NSInvalidArgumentException if styleJSON is nil or invalid JSON
Implementation
set styleJSON(objc.NSString value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setStyleJSON_, value.ref.pointer);
}