|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapModel
This interface defines the methods that Gmaps used to get the content of items.
Gmaps,
MapitemRenderer| Method Summary | |
|---|---|
void |
addMapDataListener(MapDataListener listener)
Adds a listener to the Maps that's notified each time a change to the data model occurs. |
void |
clear()
Clear all items of this model. |
java.util.Collection |
getItemsIn(double swlat,
double swlng,
double nelat,
double nelng,
double cenlat,
double cenlng,
int zoom)
Returns the items in the specified bounds (south-west to north-east), center latitude, center longitude, and zoom level. |
void |
removeMapDataListener(MapDataListener listener)
Remove a listener from the list that's notified each time a change to the the data model occurs. |
| Method Detail |
|---|
java.util.Collection getItemsIn(double swlat,
double swlng,
double nelat,
double nelng,
double cenlat,
double cenlng,
int zoom)
swlat - south-west latitudeswlng - south-west longitudenelat - north-east latitudenelng - north-east longitudecenlat - center latitudecenlng - center longitudezoom - current zoom level
void clear()
void addMapDataListener(MapDataListener listener)
listener - void removeMapDataListener(MapDataListener listener)
listener -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||