Class GeoObjectCollection
Package world.mappable.mapkit
java.lang.Object
↳ world.mappable.mapkit.GeoObjectCollection
class GeoObjectCollection implements Serializable
A collection of geo objects.
Allows you to group geo objects for adding them to the map, setting options, etc. Collections are geo objects too.
Nested Class Summary
|
Modifier and Type |
Interface |
Description |
|
|
The geo objects in the collection. |
Summary
Constructors
|
Signature and Description |
|
GeoObjectCollection() |
|
GeoObjectCollection(@Nullable BoundingBox boundingBox, |
Methods
|
Type and modifiers |
Method and Description |
|
|
getBoundingBox() |
|
|
getMetadataContainer() |
|
|
|
|
void |
serialize(world.mappable.runtime.bindings.Archive archive) |
|
|
Constuctors
GeoObjectCollection
|
GeoObjectCollection() |
Use constructor with parameters in your code.
This one is for serialization only!
GeoObjectCollection
|
GeoObjectCollection(@Nullable BoundingBox boundingBox, |
Methods
getBoundingBox
|
@Nullable |
The bounds around the collection of objects.
Optional field, can be null.
getMetadataContainer
|
@NonNull |
The metadata for the objects.
getChildren
|
@NonNull |
serialize
|
@Override |
getNativeName
|
java.lang.String getNativeName() |