Hi Everyone,

I'm hoping you can help me. It may be something quite obvious I'm
missing, but I've only done a bit of Google Maps API development so
far. Now I have inherited this application which has a bug, so not
only am I learning the API, i'm also unpicking my collegues code to
see what's happening!

Basically when the map opens, it should load a layer of polygons (Ward
boundaries) from a kml file. This layer should be switched off by
default, but still available for a point in polygon to tell the user
which ward is at the centre of the map.

When it's not working, the polygons display on the map on loading, but
there are no attributes for the point in polygon etc. what I've found
so far is it's down the the polygons in the kml file. I can draw some
random ward boundaries, and these work. I can trace some existing ward
boundaries, and some of these work, and some don't. I'm creating the
polygons in MapInfo, and exporting to kml using GELink.

Here is a link to an example working as it should:
http://www.map.hackney.gov.uk/HackneyWhereTest/
This site is reading from the kml file:
http://www.map.hackney.gov.uk/Icons/kml/TestBounds14.kml

Here is s link to an example that it not working:
http://www.map.hackney.gov.uk/HackneyWhereOld/
This site is reading from the kml file (it only has one extra polygon
drawn in exactly the same manner as the others):
http://www.map.hackney.gov.uk/Icons/kml/TestBounds15.kml

Are there any limits to the number or co-ordinate pairs in a single
polygon, or something similar?

Any help will be greatly appreciated!

Thanks

Thomas

-- 
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.

Reply via email to