Class GeoObject
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.GeoObject
class GeoObject implements Serializable
Geo object.
Can be displayed as a placemark, polyline, polygon, and other, depending on the geometry type.
Summary
Constructors
|
Signature and Description |
|
GeoObject() |
|
GeoObject(@Nullable java.lang.String name, |
Methods
|
Type and modifiers |
Method and Description |
|
|
getName() |
|
|
getDescriptionText() |
|
|
getGeometry() |
|
|
getBoundingBox() |
|
|
getAttributionMap() |
|
|
getMetadataContainer() |
|
|
getAref() |
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
|
Constuctors
GeoObject
|
GeoObject() |
Use constructor with parameters in your code.
This one is for serialization only!
GeoObject
|
GeoObject(@Nullable java.lang.String name, |
Methods
getName
|
@Nullable |
Object name.
Optional field, can be null.
getDescriptionText
|
@Nullable |
The description of the object.
Optional field, can be null.
getGeometry
|
@NonNull |
The object's geometry.
getBoundingBox
|
@Nullable |
A rectangular box around the object.
Optional field, can be null.
getAttributionMap
|
@NonNull |
The attribution of information to a specific author.
getMetadataContainer
|
@NonNull |
The object's metadata.
getAref
|
@NonNull |
The name of the internet resource.
serialize
|
@Override |
getNativeName
|
java.lang.String getNativeName() |