-
Notifications
You must be signed in to change notification settings - Fork 3
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
feat: adds basic support for vector tiles / mapbox-style layers #869
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
src/parser/SHOGunApplicationUtil.ts
Outdated
private forEachLayer(groupLayer: OlLayerGroup, callback: (layer: OlLayer) => void) { | ||
groupLayer.getLayers().forEach(childLayer => { | ||
if (childLayer instanceof OlLayerGroup) { | ||
this.forEachLayer(childLayer, callback); | ||
} | ||
|
||
if (childLayer instanceof OlLayer) { | ||
callback(childLayer); | ||
} | ||
}); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this function used for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, this function is currently not used and can be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see 4c4e4d6
🎉 This PR is included in version 10.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This PR is based on the work of @dnlkoch in #422 and the feature added for
ol7
maintenance branch #658Plz review @terrestris/devs