put google layers in parenthesis

master
Antoine Beaupré 2012-08-24 17:31:31 -04:00
parent 69467738ed
commit c7070ddd48
1 changed files with 1 additions and 1 deletions

View File

@ -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),