Fusiontables example correction

This commit is contained in:
Peter Robins
2012-03-27 11:09:29 +01:00
committed by Tim Schaub
parent bb09ff341e
commit 4c0d85ee67

View File

@@ -17,7 +17,7 @@ var map = new OpenLayers.Map({
row = json.table.rows[i];
feature = new OpenLayers.Feature.Vector();
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
if (typeof row[j] === "object") {
feature.geometry = this.parseGeometry(row[j]);