Skip to content
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

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Coltonbrugger master #389

wants to merge 12 commits into from

Conversation

juristr
Copy link
Collaborator

@juristr juristr commented Feb 14, 2018

Original PR #365.

coltonbrugger and others added 12 commits April 25, 2017 10:24
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
@juristr
Copy link
Collaborator Author

juristr commented Feb 14, 2018

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 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants