Implementing renderIntent handling

This commit is contained in:
ahocevar
2013-08-20 23:29:44 +02:00
parent 4f2d37b6a3
commit 3a50a754aa
7 changed files with 87 additions and 10 deletions

View File

@@ -2,6 +2,7 @@ goog.provide('ol.Feature');
goog.require('ol.Object');
goog.require('ol.geom.Geometry');
goog.require('ol.layer.VectorLayerRenderIntent');
@@ -34,6 +35,12 @@ ol.Feature = function(opt_values) {
*/
this.geometryName_;
/**
* The render intent for this feature.
* @type {ol.layer.VectorLayerRenderIntent|string}
*/
this.renderIntent = ol.layer.VectorLayerRenderIntent.DEFAULT;
/**
* @type {Array.<ol.style.Symbolizer>}
* @private