Interactive legend in Google Maps API V3 with two or more KML layers
问题 I'm fairly new to JavaScript and Google Maps API(basically, the whole world of web GIS) and I'm struggling with creating interactive legend for several KML layers (in this example, only two) or something like this http://www.strahlen.org/map/central.htm but for KML layers. Here is my code: <script> var tocka = new google.maps.LatLng(46.150346, 15.863571); function initialize() { var neven = { center: tocka, zoom: 15, mapTypeId: google.maps.MapTypeId.HYBRID }; var map = new google.maps.Map