From e672083027a1cf41523f3e8e2ceddbfaa80d31e3 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sun, 28 Oct 2012 23:59:36 +0100 Subject: [PATCH] Indentation and line break fixes --- examples/wms-custom-proj.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/examples/wms-custom-proj.js b/examples/wms-custom-proj.js index 270b1423e9..9c5f8e9351 100644 --- a/examples/wms-custom-proj.js +++ b/examples/wms-custom-proj.js @@ -16,15 +16,16 @@ if (goog.DEBUG) { var extent = new ol.Extent(420000, 30000, 900000, 350000); var epsg21781 = new ol.Projection('EPSG:21781', - ol.ProjectionUnits.METERS, - extent -); + ol.ProjectionUnits.METERS, extent); var layers = new ol.Collection([ new ol.layer.TileLayer({ source: new ol.source.TiledWMS({ url: 'http://wms.geo.admin.ch/?', - attributions: [new ol.Attribution('© Pixelmap 1:1000000 / geo.admin.ch')], + attributions: [new ol.Attribution( + '© ' + + '' + + 'Pixelmap 1:1000000 / geo.admin.ch')], crossOrigin: null, params: {'LAYERS': 'ch.swisstopo.pixelkarte-farbe-pk1000.noscale'}, projection: epsg21781, @@ -34,7 +35,10 @@ var layers = new ol.Collection([ new ol.layer.TileLayer({ source: new ol.source.TiledWMS({ url: 'http://wms.geo.admin.ch/?', - attributions: [new ol.Attribution('© National parks / geo.admin.ch')], + attributions: [new ol.Attribution( + '© ' + + '' + + 'National parks / geo.admin.ch')], crossOrigin: null, params: {'LAYERS': 'ch.bafu.schutzgebiete-paerke_nationaler_bedeutung'}, projection: epsg21781,