From 7f71876dadd518829a2ec4370170e67ddd7b1598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 2 Mar 2015 09:35:32 +0100 Subject: [PATCH] Add upgrade-notes.md file This file includes upgrade notes for changes to the library that require changes to application code. This file is used by the release manager to fill the "Upgrade notes" section in the v3.x.y.md changelog file. --- changelog/upgrade-notes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 changelog/upgrade-notes.md 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 + // … + }); + ```