Files
openlayers/changelog/upgrade-notes.md
2015-04-02 19:18:38 +02:00

720 B

Upgrade notes

v3.5.0

  • When manually loading an image for ol.style.Icon, the image size should now be set with the imgSize option and not with size. size is supposed to be used for the size of a sub-rectangle in an image sprite.

v3.4.0

v3.3.0

  • The ol.events.condition.mouseMove function was replaced by ol.events.condition.pointerMove (see #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:

    var selectInteraction = new ol.interaction.Select({
      condition: ol.events.condition.pointerMove
      // …
    });