|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GoogleMapsListener
Classes which implement this interface provide methods that deal with the events that are generated in a Google Maps control.
After creating an instance of a class that implements
this interface it can be added to a control using the
addGoogleMapsListener
method and removed using
the removeGoogleMapsListener
method.
See Google Maps API documentation [Class Reference > GMap > Events].
GoogleMapsAdapter
Method Summary | |
---|---|
void |
allOverlaysRemoved()
Called after all overlays are cleared from the map. |
void |
clicked(Overlay clicked)
Called when the user clicks the overlay on the map. |
void |
clicked(Point point)
Called when the user clicks the map. |
void |
mapTypeChanged()
Called after the map type (Map, Hybrid, or Satellite) changes. |
void |
moved()
Called when the map is moving. |
void |
moveEnded()
Called at the end of a discrete or continuous map movement. |
void |
moveStarted()
Called at the beginning of a continuous pan/drag movement. |
void |
overlayAdded(Overlay added)
Called after an overlay is added to the map. |
void |
overlayRemoved(Overlay removed)
Called after an overlay is removed from the map. |
void |
windowClosed()
Called after the info window is closed. |
void |
windowOpend()
Called after the info window is displayed. |
void |
zoomed(int oldZoomLevel,
int newZoomLevel)
Called after the map zoom level changes. |
Method Detail |
---|
void allOverlaysRemoved()
See Google Maps API documentation [Class Reference > GMap > Events > clearoverlays].
void clicked(Overlay clicked)
See Google Maps API documentation [Class Reference > GMap > Events > click].
clicked
- the clicked overlayvoid clicked(Point point)
See Google Maps API documentation [Class Reference > GMap > Events > click].
point
- the clicked pointvoid mapTypeChanged()
See Google Maps API documentation [Class Reference > GMap > Events > maptypechanged].
void moved()
This event is triggered continuously as the map is dragged.
See Google Maps API documentation [Class Reference > GMap > Events > move].
void moveEnded()
This event is triggered once at the end of a continuous pan.
See Google Maps API documentation [Class Reference > GMap > Events > moveend].
void moveStarted()
This event is not triggered when the map moves discretely.
See Google Maps API documentation [Class Reference > GMap > Events > movestart].
void overlayAdded(Overlay added)
See Google Maps API documentation [Class Reference > GMap > Events > addoverlay].
added
- the added overlayvoid overlayRemoved(Overlay removed)
See Google Maps API documentation [Class Reference > GMap > Events > removeoverlay].
removed
- the removed overlayvoid windowClosed()
See Google Maps API documentation [Class Reference > GMap > Events > infowindowclose].
void windowOpend()
See Google Maps API documentation [Class Reference > GMap > Events > infowindowopen].
void zoomed(int oldZoomLevel, int newZoomLevel)
See Google Maps API documentation [Class Reference > GMap > Events > zoom].
oldZoomLevel
- the old zoom levelnewZoomLevel
- the new zoom level
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |