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 Answer 1

2

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 and acknowledge you have read our privacy policy.

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