-
Notifications
You must be signed in to change notification settings - Fork 183
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
Coltonbrugger master #389
base: master
Are you sure you want to change the base?
Coltonbrugger master #389
Conversation
…ayer property changes Resolves #336
When a layer was not fully instantiated (perhaps due to not being assigned "source" geojson yet), it is still listed as a layer to be destroyed, though the `olLayer` is undefined for it. This update avoids attempts to remove a layer that is undefined.
This change tries to infer the attribution given the source configuration of the ol3 object. Apparently each OL3 source type might have different properties for storing the attribution. Thus the code needs to iterate over them and "search" for the presence of it. WARNING: This also slightly changes the default behavior, meaning while currently the attribution had to be enabled explicitly you now have to opt-out by setting the `source.attribution = false`.
This addresses issue #386. It is a one-character change, changing the protocol from http to https.
BREAKING CHANGE: upgrade to openlayers 4 The upgrade to openlayers 4 might break some people.
Adjust the version number in order to create a breaking change with semantic-release plugin. BREAKING CHANGE: The upgrade to v4 of openlayers which happened in commit e7a0708 is a breaking change requiring a major version bump
Thx @coltonbrugger for PRing this, really appreciate and I'm sorry I didn't merge this earlier. But I didn't work on this project any more and a lot of other things happened meanwhile. As I took some time today for some cleanup, I came across your PR and rebased it with the latest changes which results in this PR here. Could you just give this a look whether this branch still works for you? As I don't have any project right now using angular-openlayers-directive which makes it a bit hard to verify 😅 |
Original PR #365.