Enabling Custom taxonomy markers in views

As part of the build out of a recent client site with location enabled architectural case studies, I modified the Gmap module (patching gmap_plugin_style_gmap.inc) to support taxonomy markers in Gmap Views (http://drupal.org/node/327053). Previously custom markers were only displayed on the standard map/node page.

The inspiration for my patch was included as part of DEV (http://ftp.drupal.org/files/projects/gmap-6.x-1.x-dev.tar.gz) , but not the desired functionality.

The resulting effect is that there are now two options for Taxonomy markers in Gmap Views.

  1. A node can have a single taxonomy marker (regardless of the number of terms associated with that node. This option precludes the use of advanced Category/Industry markers (unless a specific term, and associated taxonomy marker is created for each Category/Industry combination. http://ftp.drupal.org/files/projects/gmap-6.x-1.x-dev.tar.gz
  2. A node can have multiple taxonomy markers, which can then be positioned to create a composite marker. For example tagging a node with “Industry A” and “Category B” would result with both markers being displayed on the map. They can then be position so that the colored dot of “Category ”, is framed but the “Industry A” triangle.
Gmap patch gmap_plugin_style_gmap.inc supports multiple custom taxonomy markers. If a term is not associated with a marker, marker will not be added. This patch should be used in conjunction with 6.x-1.0-rc2. Simply replace gmap/gmap_plugin_style_gmap.inc with patch file (attached to post) gmap_plugin_style_gmap.inc
 
AttachmentSize
gmap_plugin_style_gmap.inc5.42 KB