Solved!
I just kept ripping out parts of the page until it started working
(there are a lot of parts!)
I had added a prototype function that added an objectType property to
all objects. Here is the code:
Object.prototype.objectType = function() {
var obType = String(this.constructor).match(/function\s+(\w+)/);
if (obType) return obType[1];
return "undefined"; // just in case...
}
Well, this appears to conflict with the GMaps polygon functions. As
soon as I take it out, drawing polygons starts working.
The name of the prototype function appears to make no difference so I
do not think it is any sort of reserved word conflict. A search for
"prototype" on this group has shown Object.prototype has caused issues
in the past.
I further confirmed this by downloading another working example
(http://www.firstbasesolutions.com/polytest.html) and adding the above
code. The polygon drawing capability shows the same issue.
- Brad
On Nov 5, 10:22 am, Marcelo <[email protected]> wrote:
> On Nov 5, 6:51 pm, bradlymathews <[email protected]> wrote:
>
>
>
> > If you are not volunteering to help me on this, that is certainly
> > fine, your posts have helped me many times in the past and I thank you
> > for that. I would appreciate it if you did not discourage other from
> > doing so however.
>
> I do not tell others what to do, but I'd advocate "strict moderation".
> If it was up to me, posts that do not follow the posting guidelines
> wouldn't even make it to the board.
>
> You are the one asking for help, so your firewall and all that are
> your problems, not mine. Remember that you're not talking to people
> who have never uploaded a page here, so we all know what it involves.
>
> I also have a firewall, different operating systems, different server
> configurations, yada yada yada ...., and yet, that does not prevent me
> from quickly putting together some sample pages to help others with
> their issues, and quickly upload them.
> If I can upload a page and post a link to solve someone else's
> problems then you can certainly do the same to help people help you
> solve your own problem.
>
> --
> Marcelo -http://maps.forum.nu
> --
--
You received this message because you are subscribed to the Google Groups
"Google Maps API" 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-api?hl=en.