polygons

Events happening in the community are now at Drupal community events on www.drupal.org.
tom.camp's picture

Popups and Polygons

I have created a world map with polygons overlaying certain countries using Drupal 6 and the gmap module. However, I cannot for the life of me figure out how to make those polygons clickable so when a user clicks on them they open a popup with the information about the country. Any help/thoughts would be appreciated.


$map = array(
'id' => 'big_map',
'width' => '940px',
'height' => '405px',
'latitude' => 20.0,
'longitude' => 15.0,
'zoom' => 2,
'align' => 'left',
'controltype' => 'None',
'mtc' => 'none',

'behavior' => array(
Read more
seanberto's picture

Clickable Polygons

Anyone had any luck adding clickable polygons to a Google map in Drupal?

Use case:

Create a node type that allows you to enter the boundaries of a polygon. Then, display those polygons a Google map, such that someone can click on a polygon to be taken to a specific node.

Thanks,
S

Read more
Subscribe with RSS Syndicate content