Polygon Layer always over a KML Layer for click events

42 views
Skip to first unread message

Deane Venske

unread,
May 25, 2011, 3:01:01 AM5/25/11
to Google Maps JavaScript API v3
Hi Everyone,

I'm having trouble with a kmlLayer never being rendered over a
google.maps.Polygon

Both are being set using .setMap() and no matter what order I try, and
even setting the kmlLayer with a setTimeout() function it is still
rendering behind the other polygons.

Here is where I am having the trouble:
http://phpmyadmin.civicore.com/MiscScripts/RailoStuff/hungerfreecolorado/map.php

Select a county or school district to draw and then select the points
to show, white and yellow are the most abundant.

Hope someone has an easy fix for this one.

Cheers,
Deane Venske

Deane Venske

unread,
May 25, 2011, 3:36:19 AM5/25/11
to Google Maps JavaScript API v3
Nevermind guys, just saw that the code I was trying to integrate with
was on version 3.3, 3.4 resolves the problem. Will be testing against
main version tomorrow!

Thanks,
Deane

On May 25, 7:01 pm, Deane Venske <de...@civicore.com> wrote:
> Hi Everyone,
>
> I'm having trouble with a kmlLayer never being rendered over a
> google.maps.Polygon
>
> Both are being set using .setMap() and no matter what order I try, and
> even setting the kmlLayer with a setTimeout() function it is still
> rendering behind the other polygons.
>
> Here is where I am having the trouble:http://phpmyadmin.civicore.com/MiscScripts/RailoStuff/hungerfreecolor...
Reply all
Reply to author
Forward
0 new messages