diff --git a/changelog/upgrade-notes.md b/changelog/upgrade-notes.md new file mode 100644 index 0000000000..d1880f91d7 --- /dev/null +++ b/changelog/upgrade-notes.md @@ -0,0 +1,10 @@ +## Upgrade notes + +* The `ol.events.condition.mouseMove` function was replaced by `ol.events.condition.pointerMove` (see [#3281](https://github.com/openlayers/ol3/pull/3281)). For example, if you use `ol.events.condition.mouseMove` as the condition in a `Select` interaction then you now need to use `ol.events.condition.pointerMove`: + + ```js + var selectInteraction = new ol.interaction.Select({ + condition: ol.events.condition.pointerMove + // … + }); + ```