Using a Map as a Filter
I love maps. And I love google for making maps useful, interactive, and cool. When they released the API I wanted to use google maps as a filter. That is, I wanted to filter location-based data based on what is viewable on the map canvas. Google currently does this if you goto maps and do a search. For example, search for bars and markers appear for all bars that exist on the map canvas your viewing. The difference between that and this project is that with this project you control the data source, not google.
My first working example is GCM - Google Calendar Map. It uses a google calendar as the data source, plotting all calendar events with a valid location on a map. This way you can control the data source by populating the calendar with whatever data you want. For more info, check out the GCM Project page or view GCM prototype in action.
Google Calendar V3
On Nov 17, 2014, Google deprecated v1 and v2 src In December 2014, GCM was updated to use v3. One of the key things in v3 is usage limits. These are controlled by either API keys (simple, public calendars only) or OAuth (more complicated, but can get private calendar data). GCM uses API keys, which are tied to domains.
Therefore, If you want to run this from any domain besides chadnorwood.com, you need to
- Replace API key in examples/gcm/js/cnMapFilter.js with your key - search js for "Google API Key"
This code is released under the terms of the MIT license.
The MIT License is simple and easy to understand and it places almost no restrictions on what you can do. You are free to use in any other project (even commercial projects) as long as the copyright header is left intact.