On Saturday night Drummy, Tony, and I went to Super Happy Dev House IX. I was a bit drunk. I bet Neil and Tony that I the "business guy" would beat them the "hackers" at hacking. My goal for the night was to integrate the gmaps module with views to allow users to create maps of any view.
I won handily:
http://zacker.org/mapdev/?q=crimemap
The how-to is posted on this handbook page.
Comments
Re: Gmaps + Views: A happy hack
Hey Zack,
I noticed that after your mashup was done your view defaulted to San Francisco and not some generic view. Is this because your gmap settings are set to focus on SF, or did this happen because that is where your content is located? I have a global map that I want to filter by country, and ideally focus on that country once this is done. Is this possible?
Re: Gmaps + Views: A happy hack
If you are not using any special template overrides just go to Administer=>Settings=>GMap and set your default center with the desired Lat/Lon and set a defaut zoom and you are set. Now if you have multiple maps and/or themeing you might want something like
[gmap|id=viewmap|center=33.57486831814041, -101.86454772949219|zoom=12|width=800px|height=600px]
but there is plenty of information on this stuff outhere.
-Matt