public class MapBoundsChangeEvent extends AMXEvent
| Constructor and Description | 
|---|
| MapBoundsChangeEvent()Creates a new MapBoundsChangeEvent | 
| MapBoundsChangeEvent(Object minX,
                    Object minY,
                    Object maxX,
                    Object maxY,
                    Object centerX,
                    Object centerY,
                    int zoomLevel)Creates a new MapBoundsChangeEvent with current map view properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| Object | getCenterX()Returns the x coordinate (longitude) of map center. | 
| Object | getCenterY()Returns the y coordinate (latitude) of map center. | 
| Object | getMaxX()Returns the x coordinate (longitude) of maximum map bounds. | 
| Object | getMaxY()Returns the y coordinate (latitude) of maximum map bounds. | 
| Object | getMinX()Returns the x coordinate (longitude) of minimum map bounds. | 
| Object | getMinY()Returns the y coordinate (latitude) of minimum map bounds. | 
| int | getZoomLevel()Returns the zoom level. | 
| void | setCenterX(Object centerX)Sets the x coordinate (longitude) of map center. | 
| void | setCenterY(Object centerY)Sets the y coordinate (latitude) of map center. | 
| void | setMaxX(Object maxX)Sets the x coordinate (longitude) of maximum map bounds. | 
| void | setMaxY(Object maxY)Sets the y coordinate (latitude) of maximum map bounds. | 
| void | setMinX(Object minX)Sets the x coordinate (longitude) of minimum map bounds. | 
| void | setMinY(Object minY)Sets the y coordinate (latitude) of minimum map bounds. | 
| void | setZoomLevel(int zoomLevel)Sets the zoom level. | 
public MapBoundsChangeEvent()
public MapBoundsChangeEvent(Object minX,
                            Object minY,
                            Object maxX,
                            Object maxY,
                            Object centerX,
                            Object centerY,
                            int zoomLevel)
minX - x coordinate (longitude) of minimum map boundsminY - y coordinate (latitude) of minimum map boundsmaxX - x coordinate (longitude) of maximum map boundsmaxY - y coordinate (latitude) of maximum map boundscenterX - x coordinate (longitude) of the map centercenterY - y coordinate (latitude) of the map centerzoomLevel - current zoom levelpublic void setMinX(Object minX)
minX - x coordinatepublic Object getMinX()
public void setMinY(Object minY)
minY - y coordinatepublic Object getMinY()
public void setMaxX(Object maxX)
maxX - x coordinatepublic Object getMaxX()
public void setMaxY(Object maxY)
maxY - y coordinatepublic Object getMaxY()
public void setCenterX(Object centerX)
centerX - center x coordinatepublic Object getCenterX()
public void setCenterY(Object centerY)
centerY - center y coordinatepublic Object getCenterY()
public void setZoomLevel(int zoomLevel)
zoomLevel - zoom levelpublic int getZoomLevel()