Esa's
Google Maps API experiments. ZMarker with color switching
Markers too close together - not anymore
- Three methods to solve the famous problem
1.) Z-index switching
- See what happens when you close the info window
- The marker was thrown behind others
- Now your user is able to click the second one that used to be hidden
- The 2.70 feature to set marker z-index is used
- Marker is deleted and a copy created to switch z-index
2.) Color switching
-
My first colorSwitching page was online only a few hours when v2.75 came out
- 2.75 made marker color switching a simple task
- Just use GMarker.setIcon(src) method
3.) Two way highlighting sidebar
- Marker GEvents are triggering the color changes on markers and sidebar
- Sidebar clicks and mouseovers are triggering marker GEvents
Google Spreadsheets API beta
- The marker data comes from here
without any proxy.
-
The feed comes in JSON format wearing .js script clothes
Recommended