Class Item

Package world.mappable.mapkit

java.lang.Object
    ↳ world.mappable.mapkit.GeoObjectCollection.Item

static class Item implements Serializable

The geo objects in the collection.

Summary

Constructors

Signature and Description

Item()

Methods

Type and modifiers

Method and Description

static Item

fromObj(@NonNull GeoObject obj)

static Item

fromCollection(@NonNull GeoObjectCollection collection)

GeoObject

getObj()

GeoObjectCollection

getCollection()

void

serialize(world.mappable.runtime.bindings.Archive archive)

Constuctors

Item

Item()


Methods

fromObj

@NonNull
Item fromObj(@NonNull GeoObject obj)


fromCollection

@NonNull
Item fromCollection(@NonNull GeoObjectCollection collection)


getObj

@Nullable
GeoObject getObj()


getCollection

@Nullable
GeoObjectCollection getCollection()


serialize

@Override
void serialize(world.mappable.runtime.bindings.Archive archive)