-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support gx:CascadingStyle #311
Comments
I cannot find documentation about |
From what I see it's basically like any other Here's a <gx:CascadingStyle kml:id="__managed_style_881999257A2F4EDCAD33">
<styleUrl>https://earth.google.com/balloon_components/base/1.0.26.0/card_template.kml#main</styleUrl>
<Style>
<IconStyle>
<scale>1.2</scale>
<Icon>
<href>https://earth.google.com/earth/rpc/cc/icon?color=1976d2&id=2000&scale=4</href>
</Icon>
<hotSpot x="64" y="128" xunits="pixels" yunits="insetPixels"/>
</IconStyle>
<LabelStyle>
</LabelStyle>
<LineStyle>
<color>ff2846cc</color>
<width>3</width>
</LineStyle>
<PolyStyle>
<color>40ffffff</color>
</PolyStyle>
<BalloonStyle>
</BalloonStyle>
</Style>
</gx:CascadingStyle> Hope this helps @cleder |
The architecture has changed a lot from fastkml 0.x to 1.x. One of the advantages of these changes is that you can define and add new behaviour at runtime through the registry. Ping me if you are interested in helping to implement this. |
This is now documented, and an example was added:
|
Hello,
We've ran into an issue on our end where we cannot extract Polygon colors from the Google Earth KML files we exported on our end, as they are contained within a
gx:CascadingStyle
extension element that is not read. At minimum it would be useful for fastkml to read this element when it is referenced bystyleUrl
and then apply the relevant styles to the object being read.Thanks.
The text was updated successfully, but these errors were encountered: