2

I have a kml network link (parent) that loads a second kml file (child) that contains a set of polygons. Currently the style of the polygons is set to a url within the child kml file. I would like to be able to modify the style of the polygons at the level of the network link, without having to change the childs xml. Is this possible?

1

Loading styles with a network link doesn't work. Well, it works, but probably not as intended. Remove the network link in your.kml, and instead of <styleUrl>#Style17</styleUrl> use <styleUrl>styledefs.kml#Style17</styleUrl>. You might need to use an absolute URI to reference styledefs.kml depending on how your.kml is normally accessed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.