On May 4, 3:27 pm, COemergency GIS <[email protected]> wrote: > Thank you for the lead. I haven't been able to figure out how to use the > <icon> tag using the layers method call we used... > > var map = new google.maps.Map(mapDiv, options); > > var layers = [{ > type: 'KmlLayer', > id: > 'https://picasaweb.google.com/data/feed/base/user/coemergency.gis/albu... > }, { > type: 'KmlLayer', > id: > 'http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=2049360804505... > }, { > type: 'FusionTablesLayer', > id: 722072 > }]; >
You have to use the icon tag in the KML file itself. You can't (at least currently) change the icon using API (I think there might be a feature request to add that feature though). -- Larry > At minimum- when adding the layer to the map I do not want it to be a blue > dot. > Ideally we could use more than one symbol to illustrate if the stream gauge > is normal, moderate, or high (flooding levels). > I guess I'm going to have to look at KML parsers. > Thanks for the ideas. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
