In the API reference the shape property of MarkerOptions is defined as
being of type "object". The Description is:

"Image map region for drag/click. Array of x/y values that define the
perimeter of the icon."

When I look at the examples I find one that uses the shape property
and there I can see that this object actually has two properties:
coord and type. coord takes the array of x/y values and type takes a
string stating what kind of shape it is. In the example the value for
type is 'poly'.

var shape = {
  coord: [1, 1, 1, 20, 18, 20, 18 , 1],
  type: 'poly'
};

My question is are there other valid values for type other than
'poly'?

Also, maybe the API reference should be updated with more precise
information about the shape property.

Thanks!
- Gabriel

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to