comparison client/src/components/Map.jsx @ 483:27502291e564

docs: Added comments on non trivial parts of the code
author Thomas Junk <thomas.junk@intevation.de>
date Fri, 24 Aug 2018 10:50:58 +0200
parents 89f1aa33adcf
children
comparison
equal deleted inserted replaced
482:3e5ed9f40095 483:27502291e564
1 /**
2 * Map comonent and integration point with open layers
3 * Currently JSX was chosen to have more programmatic control
4 * over resulting HTML
5 *
6 * May change in the future
7 *
8 */
9
1 /*eslint no-unused-vars: ["error", { "args": "none" }]*/ 10 /*eslint no-unused-vars: ["error", { "args": "none" }]*/
2 import "ol/ol.css"; 11 import "ol/ol.css";
3 import { Map, View } from "ol"; 12 import { Map, View } from "ol";
4 import TileLayer from "ol/layer/Tile"; 13 import TileLayer from "ol/layer/Tile";
5 import OSM from "ol/source/OSM"; 14 import OSM from "ol/source/OSM";