How do I change the icon style of multiple locations at once instead of changing them one by one?

2,955 views
Skip to first unread message

winXD

unread,
Jan 3, 2011, 2:05:24 AM1/3/11
to google-earth-...@googlegroups.com
hi all,
I want to create a function which allow user to select "display placemarker label "  or "hide placemarker label",
For now,I use a loop to change icon style one by one,it can work,but I don't think this is a good solution,
Is there a way of changing icon style at once?

Josh L

unread,
Jan 4, 2011, 2:57:51 PM1/4/11
to KML Developer Support - Google Earth Plug-in
Hi there,

Assuming the placemarks all use the same Style, you can just change
the LabelStyle so the label is transparent and all the placemarks that
inherit from that Style will be affected.

Cheers,

-Josh
Reply all
Reply to author
Forward
0 new messages