Leaflet SDA sample - clicking on the map presents a popup with some mapunit data and highlights the current mupolygon.
- Soil lines are from the SDA "Web Map Service" (WMS). Note that the WMS allows
for a "Styled Layer Description" allowing considerable control over the
appearance of the soil polygons and their labels. That feature is not used here.
- The soil polygons are drawn using tiled SDA Web Map Service requests. The selected
polygon is drawn by retrieving the polygon as WKT and drawing the selected polygon.
Note that an SDA "User Defined Function" (UDF) is used to perform the spatial search.
See the SDA Advanced Queries
page for details.