On 1 Apr., 22:33, Rossko <
ros...@culzean.clara.co.uk> wrote:
> > How is MarkerShape supposed to be used? It's not a constructor,
> > according to FireBug, and it doesn't have a constructor, according to
> > the Google Docs. Is MarkerShape only an object template, which I
> > perfectly matched already?
>
> Here are the docshttp://
code.google.com/apis/maps/documentation/javascript/reference.h...
> Here is an examplehttp://
code.google.com/apis/maps/documentation/javascript/overlays.ht...
>
> You're using it alright, except for the type: which isn't one of the
> types given in the docs
The example does the same thing as I do:
var shape = {
coord: [1, 1, 1, 20, 18, 20, 18 , 1],
type: 'poly'
};
And the API reference still does not explain how the MarkerShape
*type* is used. It cannot be instantiated. So I interpret the
documentation as a blueprint of how my (anonymous) object should be
built.
So what's the point?