diff --git a/examples/basic/main.js b/examples/basic/main.js index 82988a4..d98db7c 100644 --- a/examples/basic/main.js +++ b/examples/basic/main.js @@ -66,16 +66,16 @@ var topoJSONTileLayer = VIZI.topoJSONTileLayer('https://vector.mapzen.com/osm/bu // Don't show points return feature.geometry.type !== 'Point'; }, - onEachFeature: function(feature, layer) { - if (feature.geometry.type !== 'Polygon') { - return; - } - - // Make polygons clickable - layer.on('click', function(layer, point2d, point3d, intersects) { - console.log(layer, point2d, point3d, intersects); - }); - }, + // onEachFeature: function(feature, layer) { + // if (feature.geometry.type !== 'Polygon') { + // return; + // } + // + // // Make polygons clickable + // layer.on('click', function(layer, point2d, point3d, intersects) { + // console.log(layer, point2d, point3d, intersects); + // }); + // }, attribution: '© OpenStreetMap contributors, Who\'s On First.' }).addTo(world);