On Sep 23, 9:37 am, theemg <[email protected]> wrote:
> Hi,
>
> Can anyone help me to remove click event from the kml polygon? When I
> click on any part of polygon, window message pops up with a data KML
> TEST which is from KML file.
> I just want to have polygon drawn over google map without having any
> click events. Does anyone know how to achieve this?
>
> This is my page:http://www.keithwoodrow.co.uk/globalmap-nav/
>
> This is how my KML file looks:

Change:
<name>KML TEST</name>
to:
<name></name>

(at least that worked for me in a quick test)

  -- Larry


>
> <?xml version="1.0" encoding="UTF-8"?>
> <kml xmlns="http://www.opengis.net/kml/2.2"; 
> xmlns:gx="http://www.google.com/kml/ext/2.2"; 
> xmlns:kml="http://www.opengis.net/kml/2.2";
> xmlns:atom="http://www.w3.org/2005/Atom";>
> <Document>
>         <Style id="-0.678571428571429">
>                 <LineStyle> <!--color of lines-->
>                         <color>ff0000ff</color>
>                         <width>2.0</width>
>                 </LineStyle>
>                 <PolyStyle><!--color inside polygon-->
>                         <color>7fff0000</color>
>                 </PolyStyle>
>         </Style>
>         <Folder>
>                 <Folder>
>                         <Placemark>
>                         <name>KML TEST</name><!--Data inside ballon-->
>                                 <styleUrl>#-0.678571428571429</styleUrl>
>                                 <gx:balloonVisibility>1</gx:balloonVisibility>
>                                 <Polygon>
>                                         <outerBoundaryIs>
>                                                 <LinearRing>
>                                                         <coordinates>
>                                                                 61.27,35.60,0 
> 62.04,35.44,0 62.31,35.14,0 63.08,35.42,0
> 63.29,35.85,0 64.46,36.25,0 64.78,37.09,0 65.52,37.24,0 65.70,37.53,0
> 66.535,37.36,0 66.650,37.99,0 65.595,38.25,0 64.33,38.98,0
> 64.20,38.95,0 62.44,40.03,0 61.89,41.11,0 60.52,41.21,0 60.07,41.4,0
> 60.17,41.86,0 59.91,42.29,0 59.448,42.29,0 58.613,42.79,0
> 58.267,42.69,0 57.83,42.18,0 57.289,42.12,0 56.97,41.86,0
> 57.03,41.25,0 55.9,41.32,0 55.52,41.26,0 54.7,42.06,0 54.021,42.35,0
> 53.00,42.13,0 52.17,41.59,0 51.25,41.2,0 51.53,40.92,0 51.67,40.29,0
> 51.65,39.40,0 51.29,38.71,0 51.972,37.92,0 52.65,37.77,0 53.,37.32,0
> 54.20,37.33,0 54.77,37.51,0 55.47,38.08,0 56.33,38.08,0 56.443,38.25,0
> 57.24,38.26,0 57.45,37.94,0 59.34,37.53,0 59.48,37.23,0 60.01,37.04,0
> 60.36,36.64,0 61.15,36.64,0 61.27,35.60,0
>                                                         </coordinates>
>                                                 </LinearRing>
>                                         </outerBoundaryIs>
>                                 </Polygon>
>                         </Placemark>
>                 </Folder>
>         </Folder>
> </Document>
> </kml>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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