initWithIdentifier method
Returns a background style layer initialized with an identifier.
After initializing and configuring the style layer, add it to a map view’s
style using the MLNStyle/addLayer: or
MLNStyle/insertLayer:belowLayer: method.
@param identifier A string that uniquely identifies the source in the style to which it is added.
Implementation
MLNBackgroundStyleLayer initWithIdentifier(objc.NSString identifier) {
final _ret = _objc_msgSend_1sotr3r(this.ref.retainAndReturnPointer(), _sel_initWithIdentifier_, identifier.ref.pointer);
return MLNBackgroundStyleLayer.castFromPointer(_ret, retain: false, release: true);
}