Revision 5c47f51c
Added by Andreas Kohlbecker almost 7 years ago
- ID 5c47f51c0e90cbdf0b7e4bee3a3d308cf366d824
- Parent c6c196ff
modules/cdm_dataportal/js/map/openlayers_layers.js | ||
---|---|---|
155 | 155 |
return new OpenLayers.Layer.Google( |
156 | 156 |
"Google Roadmap", |
157 | 157 |
{ |
158 |
// rooad map is default
|
|
158 |
// road map is default |
|
159 | 159 |
projection: window.CdmOpenLayers.projections.epsg_900913, |
160 | 160 |
// Allow user to pan forever east/west |
161 | 161 |
// Setting this to false only restricts panning if sphericalMercator is true. |
... | ... | |
171 | 171 |
"Google Satellite", |
172 | 172 |
{ |
173 | 173 |
type: 'satellite', |
174 |
//projection: window.CdmOpenLayers.projections.epsg_900913,
|
|
174 |
projection: window.CdmOpenLayers.projections.epsg_900913, |
|
175 | 175 |
// Allow user to pan forever east/west |
176 | 176 |
// Setting this to false only restricts panning if sphericalMercator is true. |
177 | 177 |
wrapDateLine: false, |
... | ... | |
198 | 198 |
"Google Terrain", |
199 | 199 |
{ |
200 | 200 |
type: google.maps.MapTypeId.TERRAIN, |
201 |
// projection: window.CdmOpenLayers.projections.epsg_900913,
|
|
201 |
//projection: window.CdmOpenLayers.projections.epsg_900913, |
|
202 | 202 |
// Allow user to pan forever east/west |
203 | 203 |
// Setting this to false only restricts panning if sphericalMercator is true. |
204 |
wrapDateLine: false, |
|
204 |
// wrapDateLine: false, |
|
205 |
//sphericalMercator: true, |
|
205 | 206 |
numZoomLevels: 22 |
206 | 207 |
} |
207 | 208 |
); |
Also available in: Unified diff
#6609 using openlayers 2.14-dev, solving some problems