Add a featureType to all features.
We had this on some features, but not all.
MODIFY
src/choroplethFeature.js
src/choroplethFeature.js
@@ -74,6 +74,8 @@ var choroplethFeature = function (arg) {
},
arg);
+ this.featureType = 'choropleth';
+
/**
* Get/Set choropleth scalar data.
*

MODIFY
src/graphFeature.js
src/graphFeature.js
@@ -35,6 +35,8 @@ var graphFeature = function (arg) {
s_init = this._init,
s_exit = this._exit;
+ this.featureType = 'graph';
+
/**
* Initialize
*/

MODIFY
src/heatmapFeature.js
src/heatmapFeature.js
@@ -68,6 +68,8 @@ var heatmapFeature = function (arg) {
m_gcsPosition,
s_init = this._init;
+ this.featureType = 'heatmap';
+
m_position = arg.position || function (d) { return d; };
m_intensity = arg.intensity || function (d) { return 1; };
m_maxIntensity = arg.maxIntensity !== undefined ? arg.maxIntensity : null;

MODIFY
src/isolineFeature.js
src/isolineFeature.js
@@ -211,6 +211,8 @@ var isolineFeature = function (arg) {
s_modified = this.modified,
s_update = this._update;
+ this.featureType = 'isoline';
+
this.contour = m_this.mesh;
this.isoline = m_this.mesh;

MODIFY
src/meshFeature.js
src/meshFeature.js
@@ -117,6 +117,8 @@ var meshFeature = function (arg) {
s_init = this._init,
m_mesh = {};
+ this.featureType = 'mesh';
+
/**
* Get/Set mesh accessor.
*

MODIFY
src/pathFeature.js
src/pathFeature.js
@@ -25,6 +25,8 @@ var pathFeature = function (arg) {
m_position = arg.position === undefined ? [] : arg.position,
s_init = this._init;
+ this.featureType = 'path';
+
/**
* Get/Set positions
*

MODIFY
src/pixelmapFeature.js
src/pixelmapFeature.js
@@ -78,6 +78,8 @@ var pixelmapFeature = function (arg) {
s_init = this._init,
s_exit = this._exit;
+ this.featureType = 'pixelmap';
+
/**
* Get/Set position accessor.
*

MODIFY
src/quadFeature.js
src/quadFeature.js
@@ -80,6 +80,8 @@ var quadFeature = function (arg) {
m_videos = [],
m_quads;
+ this.featureType = 'quad';
+
/**
* Track a list of object->object mappings. The mappings are kept in a list.
* This marks all known mappings as unused. If they are not marked as used

MODIFY
src/vectorFeature.js
src/vectorFeature.js
@@ -27,6 +27,8 @@ var vectorFeature = function (arg) {
s_init = this._init,
s_style = this.style;
+ this.featureType = 'vector';
+
/**
* Get or set the accessor for the origin of the vector. This is the point
* that the vector base resides at. Defaults to (0, 0, 0).

Add a featureType to all features.

We had this on some features, but not all.