initWithIdentifier method
Returns a vector tile source initialized with an identifier and configuration URL.
After initializing and configuring the source, add it to a map view’s style
using the MLNStyle/addSource: method.
The URL may be a full HTTP or HTTPS URL or a canonical URL. The URL should point to a JSON file that conforms to the TileJSON specification.
@param identifier A string that uniquely identifies the source in the style to which it is added. @param configurationURL A URL to a TileJSON configuration file describing the source’s contents and other metadata. @return An initialized vector tile source.
Implementation
MLNVectorTileSource initWithIdentifier(objc.NSString identifier, {required objc.NSURL configurationURL}) {
final _ret = _objc_msgSend_15qeuct(this.ref.retainAndReturnPointer(), _sel_initWithIdentifier_configurationURL_, identifier.ref.pointer, configurationURL.ref.pointer);
return MLNVectorTileSource.castFromPointer(_ret, retain: false, release: true);
}