This is a first draft. The way geometry changes are handled for now is a bit clumsy. Both updating the feature cache RTree and making the layer aware of feature and geometry changes could be handled in a smarter way if these changes would be made through the layer instead of directly on the geometry or feature.
14 lines
229 B
JavaScript
14 lines
229 B
JavaScript
goog.provide('ol.layer.VectorLayerRenderIntent');
|
|
|
|
|
|
/**
|
|
* @enum {string}
|
|
*/
|
|
ol.layer.VectorLayerRenderIntent = {
|
|
DEFAULT: 'default',
|
|
FUTURE: 'future',
|
|
HIDDEN: 'hidden',
|
|
SELECTED: 'selected',
|
|
TEMPORARY: 'temporary'
|
|
};
|