gmap polygon drawing

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

I'm looking for some speculation and setting-straight. If you look at the links below, you see that the developer has used the Google Maps API to mark a polygon.

http://www.chicagocrime.org/zipcodes/60601/
More info: http://www.holovaty.com/blog/archive/2005/05/31/0225

I understand from the README that this is not currently built into gmap. Have I got this right?
Thanks

Comments

Actually drawing lines is

webgeer's picture

Actually drawing lines is supported fine using the gmap.module.

What gmap.module relied upon xmaps functions to achieve was drawing filled in polygons, and regular polygons (pentagons, hexagons, octagons, etc...).

Hope that makes sense...

Thanks for the info

sime's picture

Thanks for the info

is gmap.module support for

psi-borg's picture

is gmap.module support for filled in polygons being considered? control over the shapes array would be great... or if anyone has a working wmss array working that might be as good, or better.

no xmaps has meant no control over:

shapes - an array of shape arrays. Each shape array can have the
following elements:
'type' - 'line', 'circle', 'rpolygon', or 'polygon'
'color' - the hex for the color to create the line (eg. '#00dd00')
'width' - the width of the line in px
'opacity' - between 0 and 1 for the opacity of the line
'pattern' - a broken line definition '20 5 10 5' would mean 20 px
long line, 5x break, 10px line 5px break 20px line ...
(xmaps objects only)
'text' - the text used in the line (xmaps only)
'fillcolor' - the fill color for filled objects (xmaps objects only)
'fillopacity' - the opacity of the filled objects (xmaps object only)

i personally would really like filled polygon overlays so i can render homer simpson images over south dakota (near bdragon). this way i can visualize what homer simpson crop "circles" would look like before going to all the trouble of making them.

Location and Mapping

Group organizers

Group categories

Wiki type

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: