From 98d9a4375d2900f404562b9a3797f1da6551bd6c Mon Sep 17 00:00:00 2001
From: Esko Ikkala <esko.ikkala@aalto.fi>
Date: Mon, 20 Aug 2018 11:25:36 +0300
Subject: [PATCH] Add WFS comments

---
 src/client/components/map/LeafletMap.js | 5 +++--
 src/server/index.js                     | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/client/components/map/LeafletMap.js b/src/client/components/map/LeafletMap.js
index d6befcd3..4f286356 100644
--- a/src/client/components/map/LeafletMap.js
+++ b/src/client/components/map/LeafletMap.js
@@ -27,9 +27,10 @@ const ColorIcon = L.Icon.extend({
 class LeafletMap extends React.Component {
 
   componentDidMount() {
-    //
+    // https://avaa.tdata.fi/web/kotus/rajapinta
+    // Ilmiöt:
+    //    kotus:paikkatieto_view
     // Taustakartan rajat:
-    //
     //   kotus:pitajat
     //   kotus:rajat-sms-alueosat  murrealueenosat
     //   kotus:rajat-lansi-ita
diff --git a/src/server/index.js b/src/server/index.js
index a80beaf3..de2dd151 100644
--- a/src/server/index.js
+++ b/src/server/index.js
@@ -78,6 +78,7 @@ const getWFSLayers = (layerIDs) => {
 
 const getWFSLayer = (layerID) => {
   return new Promise((resolve, reject) => {
+    // https://avaa.tdata.fi/web/kotus/rajapinta
     const url = 'http://avaa.tdata.fi/geoserver/kotus/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=' + layerID + '&srsName=EPSG:4326&outputformat=json';
     request
       .get(url)
-- 
GitLab