MLNPointFeatureCluster class
An MLNPointFeatureCluster object associates a point shape (with an optional
identifier and attributes) and represents a point cluster.
@see MLNCluster
Related examples
TODO: Clustering point data, learn how to initialize clusters and add them to your map.
- Inheritance
-
- Object
- MLNShape
- MLNPointAnnotation
- MLNPointFeature
- MLNPointFeatureCluster
- Implemented types
Constructors
- MLNPointFeatureCluster()
-
Returns a new instance of MLNPointFeatureCluster constructed with the default
newmethod.factory - MLNPointFeatureCluster.castFrom(ObjCObjectBase other)
-
Constructs a MLNPointFeatureCluster that points to the same underlying object as
other. -
MLNPointFeatureCluster.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a MLNPointFeatureCluster that wraps the given raw object pointer.
Properties
- attributes ↔ NSDictionary
-
A dictionary of attributes for this feature.
getter/setter pairoverride
- clusterIdentifier → int
-
The identifier for the cluster.
no setter
- clusterPointCount → int
-
The number of points within this cluster
no setter
- coordinate ↔ CLLocationCoordinate2D
-
The center point (specified as a map coordinate) of the annotation. (required)
(read-only)
getter/setter pairinherited-setteroverride-getter
- debugDescription$1 → NSString
-
debugDescription
no setterinherited
- description$1 → NSString
-
description
no setterinherited
- hash$1 → int
-
hash
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- identifier ↔ ObjCObjectBase?
-
An object that uniquely identifies the feature in its containing content
source.
getter/setter pairoverride
- isProxy → bool
-
isProxy
no setterinherited
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle ↔ NSString?
-
The string containing the annotation’s subtitle.
getter/setter pairinherited-setteroverride-getter
- superclass$1 → ObjCObjectBase
-
superclass
no setterinherited
- title ↔ NSString?
-
The string containing the annotation’s title.
getter/setter pairinherited-setteroverride-getter
Methods
-
attributeForKey(
NSString key) → ObjCObjectBase? -
Returns the feature attribute for the given attribute name.
override
-
autorelease(
) → MLNPointFeatureCluster -
autorelease
override
-
class$1(
) → ObjCObjectBase -
class
inherited
-
conformsToProtocol$1(
Protocol aProtocol) → bool -
conformsToProtocol:
inherited
-
copy(
) → ObjCObjectBase -
copy
inherited
-
dealloc(
) → void -
dealloc
inherited
-
doesNotRecognizeSelector(
Pointer< ObjCSelector> aSelector) → void -
doesNotRecognizeSelector:
inherited
-
encodeWithCoder(
NSCoder coder) → void -
encodeWithCoder:
inherited
-
forwardingTargetForSelector(
Pointer< ObjCSelector> aSelector) → ObjCObjectBase -
forwardingTargetForSelector:
inherited
-
forwardInvocation(
NSInvocation anInvocation) → void -
forwardInvocation:
inherited
-
geoJSONDataUsingEncoding(
int encoding) → NSData -
Returns the GeoJSON string representation of the shape encapsulated in a data
object.
inherited
-
geoJSONDictionary(
) → NSDictionary -
Returns a dictionary that can be serialized as a GeoJSON Feature representation
of an instance of an
MLNFeaturesubclass.override -
init(
) → MLNPointFeatureCluster -
init
override
-
initWithCoder(
NSCoder coder) → MLNPointFeatureCluster? -
initWithCoder:
override
-
isEqual(
ObjCObjectBase object) → bool -
isEqual:
inherited
-
isKindOfClass(
ObjCObjectBase aClass) → bool -
isKindOfClass:
inherited
-
isMemberOfClass(
ObjCObjectBase aClass) → bool -
isMemberOfClass:
inherited
-
methodForSelector(
Pointer< ObjCSelector> aSelector) → Pointer<NativeFunction< Void Function()> > -
methodForSelector:
inherited
-
methodSignatureForSelector(
Pointer< ObjCSelector> aSelector) → NSMethodSignature -
methodSignatureForSelector:
inherited
-
mutableCopy(
) → ObjCObjectBase -
mutableCopy
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
performSelector(
Pointer< ObjCSelector> aSelector) → ObjCObjectBase -
performSelector:
inherited
-
performSelector$1(
Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject}) → ObjCObjectBase -
performSelector:withObject:
inherited
-
performSelector$2(
Pointer< ObjCSelector> aSelector, {required ObjCObjectBase withObject, required ObjCObjectBase withObject$1}) → ObjCObjectBase -
performSelector:withObject:withObject:
inherited
-
release(
) → void -
release
inherited
-
respondsToSelector(
Pointer< ObjCSelector> aSelector) → bool -
respondsToSelector:
inherited
-
retain(
) → MLNPointFeatureCluster -
retain
override
-
retainCount(
) → int -
retainCount
inherited
-
self$1(
) → MLNPointFeatureCluster -
self
override
-
toString(
) → String -
A string representation of this object.
inherited
-
zone(
) → Pointer< NSZone> -
zone
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
alloc(
) → MLNPointFeatureCluster -
alloc
override
-
allocWithZone(
Pointer< NSZone> zone) → MLNPointFeatureCluster -
allocWithZone:
override
-
getSupportsSecureCoding(
) → bool -
supportsSecureCoding
override
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of MLNPointFeatureCluster.override -
new$(
) → MLNPointFeatureCluster -
new
override
-
shapeWithData(
NSData data, {required int encoding, required Pointer< Pointer< error}) → MLNShape?ObjCObject> > -
Returns an
MLNShapeobject initialized with the given data interpreted as a string containing a GeoJSON object.override