Package com.microstrategy.web.app.maps
Class GeoPath
- java.lang.Object
-
- com.microstrategy.web.app.maps.MultiGeoData<GeoPoint>
-
- com.microstrategy.web.app.maps.GeoPath
-
- All Implemented Interfaces:
GeoData
public class GeoPath extends MultiGeoData<GeoPoint>
The GeoPath object represents a path/line object in the map. The GeoPath object contains a list of {@see GeoPoint} objects that represent the points of the path.
-
-
Field Summary
-
Fields inherited from class com.microstrategy.web.app.maps.MultiGeoData
objectList
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPoint(GeoPoint point)
void
addPoint(LatLng latLng)
int
getGeoType()
Returns the map object type.GeoPoint
getPointAt(int index)
java.util.List<GeoPoint>
getPoints()
GeoDataOutput
serialize(GeoDataSerializer serializer)
UseGeoDataSerializer
visitor to parse and serialize the data content.-
Methods inherited from class com.microstrategy.web.app.maps.MultiGeoData
add, getGeoData, size
-
-
-
-
Constructor Detail
-
GeoPath
public GeoPath()
-
GeoPath
public GeoPath(java.util.List<GeoPoint> points)
-
-
Method Detail
-
addPoint
public void addPoint(GeoPoint point)
-
addPoint
public void addPoint(LatLng latLng)
-
getPointAt
public GeoPoint getPointAt(int index)
-
getPoints
public java.util.List<GeoPoint> getPoints()
-
serialize
public GeoDataOutput serialize(GeoDataSerializer serializer)
Description copied from interface:GeoData
UseGeoDataSerializer
visitor to parse and serialize the data content.- Parameters:
serializer
- aGeoDataSerializer
object.- Returns:
- a formatted string represents the geo data content.
-
getGeoType
public int getGeoType()
Description copied from interface:GeoData
Returns the map object type. The value of the object type is fromEnumMapFeatures
map object types.- Returns:
- a
EnumMapFeatures
map object type.
-
-