Package org.primefaces.model.map
Class DefaultMapModel
- java.lang.Object
-
- org.primefaces.model.map.DefaultMapModel
-
- All Implemented Interfaces:
Serializable,MapModel
public class DefaultMapModel extends Object implements MapModel, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultMapModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOverlay(Overlay overlay)OverlayfindOverlay(String id)List<Circle>getCircles()List<Marker>getMarkers()List<Polygon>getPolygons()List<Polyline>getPolylines()List<Rectangle>getRectangles()
-
-
-
Method Detail
-
getMarkers
public List<Marker> getMarkers()
- Specified by:
getMarkersin interfaceMapModel
-
getPolylines
public List<Polyline> getPolylines()
- Specified by:
getPolylinesin interfaceMapModel
-
getPolygons
public List<Polygon> getPolygons()
- Specified by:
getPolygonsin interfaceMapModel
-
getCircles
public List<Circle> getCircles()
- Specified by:
getCirclesin interfaceMapModel
-
getRectangles
public List<Rectangle> getRectangles()
- Specified by:
getRectanglesin interfaceMapModel
-
addOverlay
public void addOverlay(Overlay overlay)
- Specified by:
addOverlayin interfaceMapModel
-
findOverlay
public Overlay findOverlay(String id)
- Specified by:
findOverlayin interfaceMapModel
-
-