Skip to content

Make default interactions configurable as @Input properties #310

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

Open
wants to merge 117 commits into
base: next
Choose a base branch
from

Conversation

achimha
Copy link
Contributor

@achimha achimha commented Jun 3, 2025

No description provided.

davinkevin and others added 30 commits August 1, 2018 16:25
- re-instantiate raster when source change
- add TileEvent(s) on XYZ and OSM
- add wrapX to ArcGISRest
- add example desciption
jeremy-eychenne and others added 26 commits March 26, 2024 21:00
BREAKING CHANGE: `ol` peer dep is now `~7.5.2`
BREAKING CHANGE: see all breaking changes from `ol` `7.0.0` (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#700)
BREAKING CHANGE: see all breaking changes from `ol` `7.1.0` (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#710)
BREAKING CHANGE: see all breaking changes from `ol` `7.2.0` (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#720)
BREAKING CHANGE: see all breaking changes from `ol` `7.5.0` (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#750)
BREAKING CHANGE: Angular 14 is no more supported
BREAKING CHANGE: `ol` peer dep is now `8.2.0`
BREAKING CHANGE: see all breaking changes from `ol` `8.0.0` (https://github.com/openlayers/openlayers/blob/main/changelog/upgrade-notes.md#800)
BREAKING CHANGE: Angular 15 is no more supported
BREAKING CHANGE: `ol` peer dep is now `~9.2.4`
BREAKING CHANGE: see all breaking changes from `ol` `9.0.0` (https://github.com/openlayers/openlayers/blob/main/changelog/v9.0.0.md)
Copy link
Collaborator

@jeremy-eychenne jeremy-eychenne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution!

  • As of automatic changelog generation, can you please use conventional commits for commits please?

  • This code does not compile because Input import is missing

  • Are you sure inputs have effects on interaction configuration? I think we should add this as param when calling defaults()

Comment on lines +12 to +33
@Input()
altShiftDragRotate: boolean;
@Input()
onFocusOnly: boolean;
@Input()
doubleClickZoom: boolean;
@Input()
keyboard: boolean;
@Input()
mouseWheelZoom: boolean;
@Input()
shiftDragZoom: boolean;
@Input()
dragPan: boolean;
@Input()
pinchRotate: boolean;
@Input()
pinchZoom: boolean;
@Input()
zoomDelta: number;
@Input()
zoomDuration: number;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it possible to update typings accordingly to OpenLayers please?

@jeremy-eychenne
Copy link
Collaborator

Hi, as we just merged next branch into main, can you please rebase this PR if it is still needed?

If this PR remains unchanged within 3 months, we will automatically close it.

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.