Google Maps
This sample shows how the SWAN GoogleMap wrapper retrieves markers dynamically from the database server according to the GoogleMap zoom level.
The table at the right shows the available markers with their visible zoom thresholds.
Center the Tampico marker and Zoom it. At zoom level 10, two markers will be visible. At zoom level 12, four new ones will be visible.
Markers of zoom level 10 are visible also for Guadalajara, Monterrey and McAllen cities.
Markers loaded are kept cached but hidden when the GoogleMap zoom level is lower than the marker zoom threshold.
|
Zoom Information
|
|
|
Database Locations
1 | Altamira | Location | 10 |
| 2 | Ciudad Madero | Location | 10 |
| 3 | Club Campestre Tampico | Place | 12 |
| 4 | Club Regatas Corona | Place | 12 |
| 5 | DF | City | 5 |
| 6 | Guadalajara | City | 5 |
| 7 | Guadalupe | Location | 10 |
| 8 | McAllen | City | 5 |
| 9 | Mercedes | Location | 10 |
| 10 | Mission | Location | 10 |
| 11 | Monterrey | City | 5 |
| 12 | Parque Metropolitano | Place | 12 |
| 13 | Pharr | Location | 10 |
| 14 | Puente Tampico | Place | 12 |
| 15 | San Nicolás | Location | 10 |
| 16 | San Pedro Garza García | Location | 10 |
| 17 | Tampico | City | 5 |
| 18 | Tlaquepaque | Location | 10 |
| 19 | Tonalá | Location | 10 |
| 20 | Zapopan | Location | 10 |
|