stableversion-3.0
Last change
on this file since 92f109b was
307d09d,
checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago
|
se agregaron las librerias
|
-
Propiedad mode establecida a
100644
|
File size:
538 octetos
|
Línea | |
---|
1 | var map = new OpenLayers.Map({ |
---|
2 | div: "map", |
---|
3 | layers: [ |
---|
4 | new OpenLayers.Layer.OSM("OSM (without buffer)"), |
---|
5 | new OpenLayers.Layer.OSM("OSM (with buffer)", null, {buffer: 2}) |
---|
6 | ], |
---|
7 | controls: [ |
---|
8 | new OpenLayers.Control.Navigation({ |
---|
9 | dragPanOptions: { |
---|
10 | enableKinetic: true |
---|
11 | } |
---|
12 | }), |
---|
13 | new OpenLayers.Control.PanZoom(), |
---|
14 | new OpenLayers.Control.Attribution() |
---|
15 | ], |
---|
16 | center: [0, 0], |
---|
17 | zoom: 3 |
---|
18 | }); |
---|
19 | |
---|
20 | map.addControl(new OpenLayers.Control.LayerSwitcher()); |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.