Correct to upgrade notes

This commit is contained in:
Tim Schaub
2016-03-18 13:16:28 -06:00
parent d0b2016bb6
commit 1339d6b3a6

View File

@@ -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);
});
```