Class GeoObject

com.yandex.mapkit

java.lang.Object ⇽ GeoObject

public class GeoObject

Geo object.

Can be displayed as a placemark, polyline, polygon, etc., depending on the geometry type.

Constructors

GeoObject()

Use constructor with parameters in your code.

GeoObject(String name, String descriptionText, List< Geometry > geometry, BoundingBox boundingBox, Map< String, Attribution > attributionMap, Collection metadataContainer, List< String > aref)
GeoObject()

Use constructor with parameters in your code.

GeoObject(String name, String descriptionText, List< Geometry > geometry, BoundingBox boundingBox, Map< String, Attribution > attributionMap, Collection metadataContainer, List< String > aref)

Methods

synchronized List< String > getAref()

The name of the internet resource.

synchronized Map< String, Attribution > getAttributionMap()

The attribution of information to a specific author.

synchronized BoundingBox getBoundingBox()

A rectangular box around the object.

synchronized String getDescriptionText()

The description of the object.

synchronized List< Geometry > getGeometry()

The object's geometry.

synchronized Collection getMetadataContainer()

The object's metadata.

synchronized String getName()

Object name.

String getNativeName()
void serialize(Archive archive)
synchronized List< String > getAref()

The name of the internet resource.

synchronized Map< String, Attribution > getAttributionMap()

The attribution of information to a specific author.

synchronized BoundingBox getBoundingBox()

A rectangular box around the object.

synchronized String getDescriptionText()

The description of the object.

synchronized List< Geometry > getGeometry()

The object's geometry.

synchronized Collection getMetadataContainer()

The object's metadata.

synchronized String getName()

Object name.

String getNativeName()
void serialize(Archive archive)

Constructor Detail

GeoObject

public GeoObject ()

Use constructor with parameters in your code.

This one is for serialization only!

GeoObject

public GeoObject (String name, String descriptionText, List< Geometry > geometry, BoundingBox boundingBox, Map< String, Attribution > attributionMap, Collection metadataContainer, List< String > aref)

Method Detail

getAref

public synchronized List< String > getAref ()

The name of the internet resource.

getAttributionMap

public synchronized Map< String, Attribution > getAttributionMap ()

The attribution of information to a specific author.

getBoundingBox

public synchronized BoundingBox getBoundingBox ()

A rectangular box around the object.

Optional field, can be null.

getDescriptionText

public synchronized String getDescriptionText ()

The description of the object.

Optional field, can be null.

getGeometry

public synchronized List< Geometry > getGeometry ()

The object's geometry.

getMetadataContainer

public synchronized Collection getMetadataContainer ()

The object's metadata.

getName

public synchronized String getName ()

Object name.

Optional field, can be null.

getNativeName

public static String getNativeName ()

serialize

public void serialize (Archive archive)