diff 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
line wrap: on
line diff
--- a/client/src/components/Map.jsx	Fri Aug 24 10:08:49 2018 +0200
+++ b/client/src/components/Map.jsx	Fri Aug 24 10:50:58 2018 +0200
@@ -1,3 +1,12 @@
+/**
+ * Map comonent and integration point with open layers
+ * Currently JSX was chosen to have more programmatic control
+ * over resulting HTML
+ *
+ * May change in the future
+ *
+ */
+
 /*eslint no-unused-vars: ["error", { "args": "none" }]*/
 import "ol/ol.css";
 import { Map, View } from "ol";