337 reputation
211
bio website
location Berlin
age
visits member for 2 years, 6 months
seen yesterday

May
2
awarded  Notable Question
Mar
26
comment No popup on map if no feature is selected
Thank you so much! It works like charme! Perfect!
Mar
26
accepted No popup on map if no feature is selected
Mar
26
comment No popup on map if no feature is selected
Might be a solution. But only if one has access to the .ftl file. If requesting a third-party GeoServer this solution wouldn't work.
Mar
25
comment No popup on map if no feature is selected
If I see your screenshot seems to work. I couldn't get it work. Would you mind to post the .js and the index.html? thank you
Mar
25
comment Geoserver popups in Leaflet
Well, seems like finding a nicer solution isn't that easy. Regarding the quick-and-dirty workaround: where do I have to put your mentioned lines? thanks
Mar
19
comment No popup on map if no feature is selected
It was suggested as a quick-and-dirty workaround here but as the author states there might be a nicer solution.
Mar
18
revised No popup on map if no feature is selected
edited tags
Mar
18
asked No popup on map if no feature is selected
Mar
14
comment Geoserver popups in Leaflet
Very nice. Thanks you so much. Works! (now I'll need to find out how to fix that if no feature is selected no empty popup shows up. should be the next question. thanks
Mar
14
accepted Geoserver popups in Leaflet
Mar
14
accepted Geocoder's autocomplete only shows 26px in Leaflet
Mar
14
comment Geocoder's autocomplete only shows 26px in Leaflet
Adding the first two lines did the job. Could get the second to work due to my limited coding knowledge (if you would like to add as a working example feel free...) Thank you so much. One question: what option would likely be the better choice to adapt mobile devices? and a second: is it possible to change font size? seems quite big for now. thanks
Mar
13
asked Geocoder's autocomplete only shows 26px in Leaflet
Mar
13
comment Geoserver popups in Leaflet
Thanks Thomas! If I understand it correctly to use the Freemarker-Templates I have to change files on the server directly. But what if I use other geoservers not handled from my own server? In this case CSS seems to be the better choice, right? Would you mind (as I have no clue how to do it) to my Github and tell me how to change the CSS (if possible shouldn't display the headline as well). Thank you very much
Mar
12
comment Geoserver popups in Leaflet
Thank you very much. I added "propertyName:'LAND,DATUM'" to the L.TileLayer.BetterWMS.js. It now shows these two variables in the popup, but also fid. How can I exclude a field? Is it possible?
Mar
12
comment Geoserver popups in Leaflet
Would it be possible to show a vertical instead of a horizontal list in the popup? Thanks
Mar
12
comment Geoserver popups in Leaflet
Thanks. I'll have a look at the cross-domain later (eventhough I think my webserver uses port 4711 and my geoserver 8080, so probably won't be a problem in production environment). I got a working map with popups using the BetterWMS you cited above. Now my question: As you can see in the screenshot the popup shows all available information. Would it be possible to define, let's says, to display infor from the "name" field only? thanks and BR
Mar
11
comment Geoserver popups in Leaflet
That was a good hint. I updated the JSFiddle. It now sends the right request. But still does not display it on the map. What else do I have to change?
Mar
9
comment Geoserver popups in Leaflet
Thanks. Okay, now I can see that it's sending a request but it does not show any popup in the map. Do I have to add code to my index.html? I took the code as provided in the link above. If you want I can put into a JSFiddle. Any idea?