Changeset 82590 in spip-zone
- Timestamp:
- May 19, 2014, 7:15:31 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/gis/trunk/javascript/gis_init_map.js
r82589 r82590 138 138 map.setGeoJsonFeaturePopup(feature, layer); 139 139 } 140 }).add To(map);141 geojson.addData(data);140 }).addData(data).addTo(map); 141 142 142 if (mapcfg.autocenterandzoom) { 143 143 if (data.features.length == 1 && data.features[0].geometry.type == 'Point')
Note: See TracChangeset
for help on using the changeset viewer.