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

Track feature #422

Merged
merged 8 commits into from
Sep 25, 2019
Merged

Track feature #422

merged 8 commits into from
Sep 25, 2019

Conversation

matrottier
Copy link
Contributor

Please check if the PR fulfills these requirements

What is the current behavior? (You can also link to an open issue here)

What is the new behavior?
possibility to track a feature (center map on feature when feature added)

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications:

Other information:
follow discussion #416
tested on a websocket datasource
'update mode' will have to be tested on vector layer. Websocket datasouce always 'add' feature because OL3 do not add feature when ID already exists (see doc https://openlayers.org/en/latest/apidoc/module-ol_source_Vector-VectorSource.html#addFeature)
Maybe a event on 'changefeature' will have to be created in the vector layer

@matrottier matrottier requested a review from mbarbeau September 24, 2019 12:23
@mbarbeau mbarbeau merged commit e4534d6 into master Sep 25, 2019
@mbarbeau mbarbeau deleted the trackFeature branch September 25, 2019 11:49
mbarbeau pushed a commit that referenced this pull request Sep 25, 2019
* feat(geo.layer.vector) add possibility to track a feature

* fix(geo.layer.styleByAttribute) fix 0 value

* feat(geo.layer.vector) possibility to track a feature on map

* feat(geo.filter.trackfeature.button) add a good tooltip

* feat(geo.layer) relocate button "trackFeature"

* Update filter.module.ts

* Update layer-item.component.html

* Update vector-layer.interface.ts
mbarbeau pushed a commit that referenced this pull request Sep 25, 2019
* feat(geo.layer.vector) add possibility to track a feature

* fix(geo.layer.styleByAttribute) fix 0 value

* feat(geo.layer.vector) possibility to track a feature on map

* feat(geo.filter.trackfeature.button) add a good tooltip

* feat(geo.layer) relocate button "trackFeature"

* Update filter.module.ts

* Update layer-item.component.html

* Update vector-layer.interface.ts
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.

2 participants