Merge pull request #749 from openlayers/webgl-vector

Skeleton WebGL vector support
This commit is contained in:
Tom Payne
2013-06-17 07:08:33 -07:00
24 changed files with 1889 additions and 12 deletions
+1
View File
@@ -0,0 +1 @@
@exportSymbol ol.layer.VectorLayer2
+25
View File
@@ -0,0 +1,25 @@
goog.provide('ol.layer.VectorLayer2');
goog.require('ol.layer.Layer');
goog.require('ol.source.VectorSource2');
/**
* This is an internal class that will be removed from the API.
* @constructor
* @extends {ol.layer.Layer}
* @param {ol.layer.LayerOptions} options Options.
*/
ol.layer.VectorLayer2 = function(options) {
goog.base(this, options);
};
goog.inherits(ol.layer.VectorLayer2, ol.layer.Layer);
/**
* @return {ol.source.VectorSource2} Source.
*/
ol.layer.VectorLayer2.prototype.getVectorSource = function() {
return /** @type {ol.source.VectorSource2} */ (this.getSource());
};