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 voidaddPoint(GeoPoint point)voidaddPoint(LatLng latLng)intgetGeoType()Returns the map object type.GeoPointgetPointAt(int index)java.util.List<GeoPoint>getPoints()GeoDataOutputserialize(GeoDataSerializer serializer)UseGeoDataSerializervisitor 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:GeoDataUseGeoDataSerializervisitor to parse and serialize the data content.- Parameters:
 serializer- aGeoDataSerializerobject.- Returns:
 - a formatted string represents the geo data content.
 
 
- 
getGeoType
public int getGeoType()
Description copied from interface:GeoDataReturns the map object type. The value of the object type is fromEnumMapFeaturesmap object types.- Returns:
 - a 
EnumMapFeaturesmap object type. 
 
 - 
 
 -