TransWikia.com

kml network link styling

Geographic Information Systems Asked by Matthew Snape on December 16, 2020

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?

One Answer

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.

Answered by Mapperz on December 16, 2020

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP