From 252f8cbd9e54bc2a7a48c71a004aa2d47d503dd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Mon, 20 Apr 2015 16:55:36 +0200 Subject: [PATCH] Reformat upgrade-notes.md --- changelog/upgrade-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/upgrade-notes.md b/changelog/upgrade-notes.md index ebb5d7acef..0923934d7e 100644 --- a/changelog/upgrade-notes.md +++ b/changelog/upgrade-notes.md @@ -139,11 +139,11 @@ 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. -### Support for non-square tiles +#### Support for non-square tiles The return value of `ol.tilegrid.TileGrid#getTileSize()` will now be an `ol.Size` array instead of a number if non-square tiles (i.e. an `ol.Size` array instead of a number as `tilsSize`) are used. To always get an `ol.Size`, the new `ol.size.toSize()` was added. -### Change to `ol.interaction.Draw` +#### Change to `ol.interaction.Draw` When finishing a draw, the `drawend` event is now dispatched before the feature is inserted to either the source or the collection. This change allows application code to finish setting up the feature.