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:
1.1 KB
|
Línea | |
---|
1 | var map = new OpenLayers.Map({ |
---|
2 | div: "map", |
---|
3 | projection: "EPSG:900913", |
---|
4 | layers: [ |
---|
5 | new OpenLayers.Layer.XYZ( |
---|
6 | "Imagery", |
---|
7 | [ |
---|
8 | "http://oatile1.mqcdn.com/naip/${z}/${x}/${y}.png", |
---|
9 | "http://oatile2.mqcdn.com/naip/${z}/${x}/${y}.png", |
---|
10 | "http://oatile3.mqcdn.com/naip/${z}/${x}/${y}.png", |
---|
11 | "http://oatile4.mqcdn.com/naip/${z}/${x}/${y}.png" |
---|
12 | ], |
---|
13 | { |
---|
14 | attribution: "Tiles Courtesy of <a href='http://open.mapquest.co.uk/' target='_blank'>MapQuest</a>. Portions Courtesy NASA/JPL-Caltech and U.S. Depart. of Agriculture, Farm Service Agency. <img src='http://developer.mapquest.com/content/osm/mq_logo.png' border='0'>", |
---|
15 | transitionEffect: "resize", |
---|
16 | wrapDateLine: true |
---|
17 | } |
---|
18 | ) |
---|
19 | ], |
---|
20 | controls: [ |
---|
21 | new OpenLayers.Control.Navigation({ |
---|
22 | dragPanOptions: { |
---|
23 | enableKinetic: true |
---|
24 | } |
---|
25 | }), |
---|
26 | new OpenLayers.Control.Zoom(), |
---|
27 | new OpenLayers.Control.Attribution() |
---|
28 | ], |
---|
29 | center: [0, 0], |
---|
30 | zoom: 1 |
---|
31 | }); |
---|
Nota: Vea
TracBrowser
para ayuda de uso del navegador del repositorio.