Mercurial > gemma
changeset 275:89f1aa33adcf
style: corrected coding style
Used `yarn lint` automatic style fix.
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 30 Jul 2018 13:13:10 +0200 |
parents | 4d37c8646123 |
children | 863ec6010045 |
files | client/src/components/Map.jsx |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/Map.jsx Mon Jul 30 12:59:01 2018 +0200 +++ b/client/src/components/Map.jsx Mon Jul 30 13:13:10 2018 +0200 @@ -3,7 +3,7 @@ import { Map, View } from "ol"; import TileLayer from "ol/layer/Tile"; import OSM from "ol/source/OSM"; -import TileWMS from 'ol/source/TileWMS.js'; +import TileWMS from "ol/source/TileWMS.js"; export default { render(h) { @@ -22,11 +22,11 @@ layers: [ new TileLayer({ source: new OSM() - }), + }), new TileLayer({ source: new TileWMS({ - url: 'https://demo.d4d-portal.info/wms', - params: {'LAYERS': 'd4d', 'VERSION': '1.1.1', 'TILED': true}, + url: "https://demo.d4d-portal.info/wms", + params: { LAYERS: "d4d", VERSION: "1.1.1", TILED: true } }) }) ],