On Jul 19, 4:33 pm, Umme Essa <shamaila.ta...@gmail.com> wrote:
> I am trying to get the following KML rendered in to google maps using
> GGeoXML. All I get is a logo at the top left corner. Typically when
> you load kmls you display a list of all layers, user can choose one or
> more layers to get then displayed. In my application we don't have
> such an interface. We want all the layers to be displayed. How can I
> achieve this?
>
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?><kml
> xmlns="http://earth.google.com/kml/2.1";>
> <Document>
> <name>MarineTraffic.com</name>
> <description>Real-time ship positions around the world!</description>
> <atom:author><atom:name>Dimitris Lekkas</atom:name></atom:author>
> <LookAt>
> <latitude>47.0</latitude>
> <longitude>19.0</longitude>
> <range>4000000.0</range>
> </LookAt>
> <NetworkLink>
> <description>MarineTraffic.com</description>
> <name>Real Time Vessels Positions - AIS</name>
> <Link>
> <href>http://marinetraffic2.aegean.gr/ais/getkml.aspx</href>

See:
http://code.google.com/apis/kml/documentation/mapsSupport.html

I don't think your kmz file meets either of these:
Maximum fetched file size (raw KML, raw GeoRSS, or compressed KMZ)      3MB
Maximum uncompressed KML file size      10MB

  -- Larry
> <refreshInterval>600.0</refreshInterval>
> <refreshMode>onInterval</refreshMode>
> </Link>
> </NetworkLink>
> <ScreenOverlay>
> <description>MarineTraffic Logo</description>
> <name>MarineTraffic Logo</name>
> <color>FFFFFFFF</color>
> <drawOrder>0</drawOrder>
> <Icon>
> <href>http://www.marinetraffic.com/ais/images/shiplogo.png</href>
> </Icon>
> <overlayXY yunits="fraction" y="1.0" xunits="fraction" x="0.0"/>
> <screenXY yunits="fraction" y="1.0" xunits="fraction" x="0.0"/>
> <size yunits="fraction" y="-1" xunits="fraction" x="-1"/>
> </ScreenOverlay>
> </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 google-maps-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to