initWithIdentifier method
Returns a fill style layer initialized with an identifier and source.
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. @param source The source from which to obtain the data to style. If the source has not yet been added to the current style, the behavior is undefined. @return An initialized foreground style layer.
Implementation
MLNFillStyleLayer initWithIdentifier(objc.NSString identifier, {required MLNSource source}) {
final _ret = _objc_msgSend_15qeuct(this.ref.retainAndReturnPointer(), _sel_initWithIdentifier_source_, identifier.ref.pointer, source.ref.pointer);
return MLNFillStyleLayer.castFromPointer(_ret, retain: false, release: true);
}