Package com.microstrategy.web.app.maps
Class GeoPolygon
- java.lang.Object
 - 
- com.microstrategy.web.app.maps.MultiGeoData<GeoPath>
 - 
- com.microstrategy.web.app.maps.GeoPolygon
 
 
 
- 
- All Implemented Interfaces:
 GeoData
public class GeoPolygon extends MultiGeoData<GeoPath>
A GeoPolygon object represent a polygon object that can contains holes. A GeoPolygon object contains multiple rings (represented asGeoPathobjects). The first ring is always represent the outer ring. All the other rings followed represent the holes of the polygon. 
- 
- 
Field Summary
- 
Fields inherited from class com.microstrategy.web.app.maps.MultiGeoData
objectList 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GeoPolygon() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddRing(GeoPath path)voidaddRing(java.util.List<GeoPoint> points)intgetGeoType()Returns the map object type.java.util.List<GeoPath>getRings()GeoDataOutputserialize(GeoDataSerializer serializer)UseGeoDataSerializervisitor to parse and serialize the data content.- 
Methods inherited from class com.microstrategy.web.app.maps.MultiGeoData
add, getGeoData, size 
 - 
 
 - 
 
- 
- 
Method Detail
- 
addRing
public void addRing(java.util.List<GeoPoint> points)
 
- 
addRing
public void addRing(GeoPath path)
 
- 
getRings
public java.util.List<GeoPath> getRings()
 
- 
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. 
 
 - 
 
 -