- The ability for users to pick Google, OSM, or Bing as the base map later.
- A vector graphics layer (points and polylines) that is separate from the base map.
This week’s lab, http://www.exploringspatial.com/#demo/1, combines Leaflet’s quick start tutorial with a layer example posted by @james_croft. James used a TileLayer for Google that he found at http://psha.org.ru/leaflet/Google.js (there are a lot of Leaflet goodies at http://psha.org.ru/leaflet. I’m working on figuring out who posted them).
In my lab the shapes and click events work fine on the Cloudmade and OSM layers, but not on the Google layer. That is a deal breaker for me, so my next task is to understand why they don’t work with the Google plugin and resolve the problem.