From 1339d6b3a6a7e6f20c8b68727ef1ae8e8c96fa46 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 18 Mar 2016 13:16:28 -0600 Subject: [PATCH] Correct to upgrade notes --- 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 6222ababc1..0f2d5cbf66 100644 --- a/changelog/upgrade-notes.md +++ b/changelog/upgrade-notes.md @@ -12,12 +12,12 @@ In addition, the previous methods for setting style parts have been replaced wit * Removed experimental style setting methods: `setFillStrokeStyle`, `setImageStyle`, `setTextStyle` (all have been replaced with `setStyle`). -Below is an example of how the vector context may have been used in the past: +Below is an example of how the vector context might have been used in the past: ```js // OLD WAY, NO LONGER SUPPORTED map.on('postcompose', function(event) { - event.vectorContext.setFillStrokeStyle(style.getStroke(), style.getFill()); + event.vectorContext.setFillStrokeStyle(style.getFill(), style.getStroke()); event.vectorContext.drawPointGeometry(geometry); }); ```