how to add multiple kml layers to google maps javascript api v3

3,607 views
Skip to first unread message

Natalie O'Toole

unread,
Sep 7, 2011, 6:19:27 PM9/7/11
to google-map...@googlegroups.com
Hi,

I have 7 kml layers located on a server that I would like to add to Google Maps javascript api v3.
How do I do this please?

Thanks,

Nat

Barry Hunter

unread,
Sep 7, 2011, 7:31:09 PM9/7/11
to google-map...@googlegroups.com
Just add multiple kmllayers to the map

http://code.google.com/apis/maps/documentation/javascript/overlays.html#KMLLayers


Although there might be a limit of 5 layers at once (dont remember
right now) - if so group the files with another file containing
network links to the other files.
http://code.google.com/apis/kml/documentation/kml_tut.html#network_links

> --
> You received this message because you are subscribed to the Google Groups
> "Google Maps JavaScript API v3" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-maps-js-api-v3/-/EY_5HGr3_2QJ.
> To post to this group, send email to google-map...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-a...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

Reply all
Reply to author
Forward
0 new messages