Fusiontables example correction
This commit is contained in:
@@ -17,7 +17,7 @@ var map = new OpenLayers.Map({
|
|||||||
row = json.table.rows[i];
|
row = json.table.rows[i];
|
||||||
feature = new OpenLayers.Feature.Vector();
|
feature = new OpenLayers.Feature.Vector();
|
||||||
atts = {};
|
atts = {};
|
||||||
for (var j = 1; j < row.length; j++) {
|
for (var j = 0; j < row.length; j++) {
|
||||||
// 'location's are json objects, other types are strings
|
// 'location's are json objects, other types are strings
|
||||||
if (typeof row[j] === "object") {
|
if (typeof row[j] === "object") {
|
||||||
feature.geometry = this.parseGeometry(row[j]);
|
feature.geometry = this.parseGeometry(row[j]);
|
||||||
|
|||||||
Reference in New Issue
Block a user