New answers tagged

0

above answer is correct, but getFeatureInfoUrl function creates only the WFS request of crs EPSG:4326. uses this modified function, because this way WFS request is created based on used crs, regardless of whether it is 4326 or 3857: getFeatureInfoUrl: function (latlng) { // Construct a GetFeatureInfo request URL given a point var point = ...


0

You can add conditional statements to freemarker templates. For example in your content.ftl file you can add something like this to only list "YOUR_FIELDNAME". <#if attribute.name == "YOUR_FIELDNAME"> <li>${attribute.name}: ${attribute.value}</li> </#if> Alternatively you can exclude a field by doing this: <#if ...



Top 50 recent answers are included