styleURL property

NSURL get styleURL

URL of the style currently displayed in the receiver.

The URL may be a full HTTP or HTTPS URL, canonical URL, or a path to a local file relative to the application’s resource path.

If you set this property to nil, the receiver will use the default style and this property will automatically be set to that style’s URL.

If you want to modify the current style without replacing it outright, or if you want to introspect individual style attributes, use the style property.

  • TODO: change the style of a map at runtime.

Implementation

objc.NSURL get styleURL {
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_styleURL);
  return objc.NSURL.castFromPointer(_ret, retain: true, release: true);
}
set styleURL (NSURL value)

URL of the style currently displayed in the receiver.

The URL may be a full HTTP or HTTPS URL, canonical URL, or a path to a local file relative to the application’s resource path.

If you set this property to nil, the receiver will use the default style and this property will automatically be set to that style’s URL.

If you want to modify the current style without replacing it outright, or if you want to introspect individual style attributes, use the style property.

  • TODO: change the style of a map at runtime.

Implementation

set styleURL(objc.NSURL value) {
_objc_msgSend_xtuoz7(this.ref.pointer, _sel_setStyleURL_, value.ref.pointer);

}