Upgrade note on zIndex for drawFeature() styles

This commit is contained in:
Tim Schaub
2016-03-18 17:52:16 -06:00
parent 0eb7e8220d
commit ed71cf74f6

View File

@@ -31,6 +31,8 @@ map.on('postcompose', function(event) {
});
```
A final change to the immediate rendering API is that `vectorContext.drawFeature()` calls are not "immediate" as well. The drawing now occurs synchronously. This means that any `zIndex` in a style passed to `drawFeature()` will be ignored. To achieve `zIndex` ordering, order your calls to `drawFeature()` instead.
#### Removal of `ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK`
The `ol.DEFAULT_TILE_CACHE_HIGH_WATER_MARK` define has been removed. The size of the cache can now be defined on every tile based `ol.source`: