MLNComputedShapeSourceDataSource class interface

Data source for MLNComputedShapeSource. This protocol defines two optional methods for fetching data, one based on tile coordinates, and one based on a bounding box. Classes that implement this protocol must implement one, and only one of the methods. Methods on this protocol will not be called on main thread, they will be called on the caller's requestQueue.

Constructors

MLNComputedShapeSourceDataSource.castFrom(ObjCObjectBase other)
Constructs a MLNComputedShapeSourceDataSource that points to the same underlying object as other.
MLNComputedShapeSourceDataSource.castFromPointer(Pointer<ObjCObject> other, {bool retain = false, bool release = false})
Constructs a MLNComputedShapeSourceDataSource that wraps the given raw object pointer.

Properties

hashCode int
The hash code for this object.
no setterinherited
ref → ObjCObjectRef
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

$protocol → Protocol
Returns the objc.Protocol object for this protocol.
no setter
featuresInCoordinateBounds_zoomLevel_ → ObjCProtocolMethod<NSArray Function(MLNCoordinateBounds, int)>
Fetch features for a tile. This method will not be invoked on the main queue, it will be invoked on the caller's requestQueue. @param bounds The bounds to fetch data for. @param zoomLevel Tile zoom level.
final
featuresInTileAtX_y_zoomLevel_ → ObjCProtocolMethod<NSArray Function(int, int, int)>
Fetch features for a tile. This method will not be invoked on the main queue, it will be invoked on the caller's requestQueue. @param x Tile X coordinate. @param y Tile Y coordinate. @param zoomLevel Tile zoom level.
final

Static Methods

addToBuilder(ObjCProtocolBuilder builder, {NSArray featuresInTileAtX_y_zoomLevel_(int, int, int)?, NSArray featuresInCoordinateBounds_zoomLevel_(MLNCoordinateBounds, int)?, bool $keepIsolateAlive = true}) → void
Adds the implementation of the MLNComputedShapeSourceDataSource protocol to an existing objc.ObjCProtocolBuilder.
conformsTo(ObjCObjectBase obj) bool
Returns whether obj is an instance of MLNComputedShapeSourceDataSource.
implement({NSArray featuresInTileAtX_y_zoomLevel_(int, int, int)?, NSArray featuresInCoordinateBounds_zoomLevel_(MLNCoordinateBounds, int)?, bool $keepIsolateAlive = true}) MLNComputedShapeSourceDataSource
Builds an object that implements the MLNComputedShapeSourceDataSource protocol. To implement multiple protocols, use addToBuilder or objc.ObjCProtocolBuilder directly.