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 void
addGeoPolygon(GeoPolygon polygon)
AddGeoPolygon
object into list.int
getGeoType()
Returns the map object type.java.util.List<GeoPolygon>
getPolygons()
Return all the polygon objects.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
-
-
-
-
Method Detail
-
addGeoPolygon
public void addGeoPolygon(GeoPolygon polygon)
AddGeoPolygon
object into list.- Parameters:
polygon
- aGeoPolgy
object
-
getPolygons
public java.util.List<GeoPolygon> getPolygons()
Return all the polygon objects.- Returns:
- List of
GeoPolygon
objects.
-
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.
-
-