RE: VLeaflet used with local GeoServer. How to get "geocoding" or "FeatureI

Hi,

Issue a REST request from your Vaadin code to the geoserver API and use that data from there. It is actually easier than form browser as you can use Java and no need to fiddle with cross origin limitations.

Alternatively, if your data is in a RDBMS, then you can connect directly to that DB as well.

cheers,
matti

Hello the vleaflet Add-on is great, thanks.

I am using it with Geoserver on a local intranet. The maps are from OSM as shp files.
It is working great. Yet, I need geocoding; meaning that when the user selects a GPS location I should fetch the nearest street or so…

This feature works great in geoserver interface itself: In the Layer Preview when we click on the map we get the FeatureInfo bellow the map.

1- Is there a way to get this info from geoserver using vleaflet?

2- A more general question: Is there a way to query the fearues tables of a map using vleaflet?

Thanks