> > I try to build a app likehttp://econym.org.uk/gmap/example_states.htm.
> > In my issue the polygons are included via ajax. A PHP-class parse a
> > KML and send Javascript.
>
> > Here is the ithttp://tools.webmasterei.com/countrymap/
>
> > If I click outside a polygon , all works, but if I click into a
> > colored polygon overlay is filled with an object and latlng is empty.
>
> > Any idas why?
>
> Because that is the way the documentation says it will work. You get
> either overlay or latlng, not
> both:http://code.google.com/apis/maps/documentation/reference.html#GMap2.E...
> click ...
It is clear, but thinking about why the mike's app above works. It
read read latlng infos by polygone clicking.
Here are my polygons:
====
polygons['3'] = new GPolygon.fromEncoded({polylines:
[{points:"[EMAIL PROTECTED]@`cTzxL",
levels: "PJLHMKLP",color:"#000000",opacity:0,weight:1,numLevels:
18,zoomFactor:2},], fill:true, color:"#ffff00", opacity:
0.45,clickable:false, outline:false});
map.addOverlay(polygons['3'],{clickable:false});
===
Rainer
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---