put google layers in parenthesis
parent
69467738ed
commit
c7070ddd48
|
@ -57,7 +57,7 @@ function mapsetup(divname, options) {
|
||||||
}
|
}
|
||||||
// this nightmare is possible through http://docs.openlayers.org/library/spherical_mercator.html
|
// this nightmare is possible through http://docs.openlayers.org/library/spherical_mercator.html
|
||||||
googleLayer = new OpenLayers.Layer.Google(
|
googleLayer = new OpenLayers.Layer.Google(
|
||||||
"Google " + options.layers[layer],
|
"Google (" + options.layers[layer] + ")",
|
||||||
{type: gtype,
|
{type: gtype,
|
||||||
'sphericalMercator': true,
|
'sphericalMercator': true,
|
||||||
'maxExtent': new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
'maxExtent': new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),
|
||||||
|
|
Loading…
Reference in New Issue