diff options
| author | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-25 17:50:02 +0000 |
|---|---|---|
| committer | etienne <etienne@9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864> | 2009-01-25 17:50:02 +0000 |
| commit | 751846ea0ade97184b5417bcfd64efc6f97a128f (patch) | |
| tree | 23c8769abf0de0974b40f82ea9251f36058882c9 /static/edit_area.js | |
| parent | ccea45fa5494a2a89b99e0a222c16ee897884b09 (diff) | |
| download | Chimère-751846ea0ade97184b5417bcfd64efc6f97a128f.tar.bz2 Chimère-751846ea0ade97184b5417bcfd64efc6f97a128f.zip | |
Configuration of the map in the configuration file
git-svn-id: http://www.peacefrogs.net/svn/chimere/trunk@27 9215b0d5-fb2c-4bbd-8d3e-bd2e9090e864
Diffstat (limited to 'static/edit_area.js')
| -rw-r--r-- | static/edit_area.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/static/edit_area.js b/static/edit_area.js index 3105a03..325deaf 100644 --- a/static/edit_area.js +++ b/static/edit_area.js @@ -20,9 +20,6 @@ See the file COPYING for details. var map; -/* availaible map layers */ -var layerMapnik = new OpenLayers.Layer.OSM.Mapnik('Mapnik'); - /* update form fields on zoom action */ function updateForm(){ var bounds = map.getExtent(); @@ -43,7 +40,7 @@ function init(){ projection: epsg_projection, displayProjection: epsg_display_projection } ); - map.addLayers([layerMapnik]); + map.addLayers([map_layer]); map.events.register('zoomend', map, updateForm); map.events.register('moveend', map, updateForm); /* zoom to the appropriate extent */ |
