MLNMultiPoint class
The MLNMultiPoint class is an abstract superclass used to define shapes
composed of multiple vertices.
Create instances of MLNPolyline or MLNPolyline in order to use
properties of MLNMultiPoint. Do not create instances of MLNMultiPoint
directly and do not create your own subclasses of this class. You can use
the method and properties of this class to access information about the
vertices of the line or polygon.
Do not confuse MLNMultiPoint with MLNMultiPoint, which represents a
collection of related but disconnected points.
- Inheritance
- Implementers
Constructors
- MLNMultiPoint()
-
Returns a new instance of MLNMultiPoint constructed with the default
newmethod.factory - MLNMultiPoint.castFrom(ObjCObjectBase other)
-
Constructs a MLNMultiPoint that points to the same underlying object as
other. -
MLNMultiPoint.castFromPointer(Pointer<
ObjCObject> other, {bool retain = false, bool release = false}) - Constructs a MLNMultiPoint that wraps the given raw object pointer.
Properties
- coordinate → CLLocationCoordinate2D
-
The center point (specified as a map coordinate) of the annotation. (required)
(read-only)
no setterinherited
-
coordinates
→ Pointer<
CLLocationCoordinate2D> -
The array of vertices associated with the shape.
no setter
- 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
- isProxy → bool
-
isProxy
no setterinherited
- pointCount → int
-
The number of vertices in the shape.
no setter
- ref → ObjCObjectRef
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitle ↔ NSString?
-
The subtitle of the shape annotation. The default value of this property is
nil.getter/setter pairinherited - superclass$1 → ObjCObjectBase
-
superclass
no setterinherited
- title ↔ NSString?
-
The title of the shape annotation.
getter/setter pairinherited
Methods
-
appendCoordinates(
Pointer< CLLocationCoordinate2D> coords, {required int count}) → void - Appends the given vertices to the shape.
-
autorelease(
) → MLNMultiPoint -
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
-
getCoordinates(
Pointer< CLLocationCoordinate2D> coords, {required NSRange range}) → void - Retrieves the vertices of part of the shape.
-
init(
) → MLNMultiPoint -
init
override
-
initWithCoder(
NSCoder coder) → MLNMultiPoint? -
initWithCoder:
override
-
insertCoordinates(
Pointer< CLLocationCoordinate2D> coords, {required int count, required int atIndex}) → void - Inserts the given vertices into the shape.
-
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
-
removeCoordinatesInRange(
NSRange range) → void - Removes the vertices at the given range from the shape.
-
replaceCoordinatesInRange(
NSRange range, {required Pointer< CLLocationCoordinate2D> withCoordinates}) → void - Replaces the vertices at the given range in the shape with the same number of vertices from a given C array.
-
replaceCoordinatesInRange$1(
NSRange range, {required Pointer< CLLocationCoordinate2D> withCoordinates, required int count}) → void - Replaces the vertices at the given range in the shape with the specified number of vertices from a given C array.
-
respondsToSelector(
Pointer< ObjCSelector> aSelector) → bool -
respondsToSelector:
inherited
-
retain(
) → MLNMultiPoint -
retain
override
-
retainCount(
) → int -
retainCount
inherited
-
self$1(
) → MLNMultiPoint -
self
override
-
setCoordinates(
Pointer< CLLocationCoordinate2D> coords, {required int count}) → void - Sets the shape’s vertices to the given C array of vertices.
-
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(
) → MLNMultiPoint -
alloc
override
-
allocWithZone(
Pointer< NSZone> zone) → MLNMultiPoint -
allocWithZone:
override
-
getSupportsSecureCoding(
) → bool -
supportsSecureCoding
override
-
isInstance(
ObjCObjectBase obj) → bool -
Returns whether
objis an instance of MLNMultiPoint.override -
new$(
) → MLNMultiPoint -
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