Package com.microstrategy.web.app.maps
Class MultiGeoPolygon
- java.lang.Object
 - 
- com.microstrategy.web.app.maps.MultiGeoData<GeoPolygon>
 - 
- com.microstrategy.web.app.maps.MultiGeoPolygon
 
 
 
- 
- All Implemented Interfaces:
 GeoData
public class MultiGeoPolygon extends MultiGeoData<GeoPolygon>
A MultiGeoPolygon can contain multiple polygons. Each polygon can contain multiple path, including one outer ring and some inner rings. 
- 
- 
Field Summary
- 
Fields inherited from class com.microstrategy.web.app.maps.MultiGeoData
objectList 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MultiGeoPolygon() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddGeoPolygon(GeoPolygon polygon)AddGeoPolygonobject into list.intgetGeoType()Returns the map object type.java.util.List<GeoPolygon>getPolygons()Return all the polygon objects.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
- 
addGeoPolygon
public void addGeoPolygon(GeoPolygon polygon)
AddGeoPolygonobject into list.- Parameters:
 polygon- aGeoPolgyobject
 
- 
getPolygons
public java.util.List<GeoPolygon> getPolygons()
Return all the polygon objects.- Returns:
 - List of 
GeoPolygonobjects. 
 
- 
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. 
 
 - 
 
 -