Methods
(inner) drawParcels()
Fetches the parcel polygons based on the ids
and draws that polygon over an image in an OpenLayers map object
- Source:
(inner) fetchParcelWFS(ejerlav, matrikel) → {Array}
Requests MATRIKLEN WFS service and fetches "Jordstykker" filtered by Ejerlav and Matrikel.
Parameters:
Name | Type | Description |
---|---|---|
ejerlav |
number | |
matrikel |
string |
- Source:
Returns:
Polygon array consisting of coordinate pairs
- Type
- Array
(async, inner) renderParcels()
Starts fetching the relevant data to draw the parcels on map
- Source: