You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using your plugin to load both WMS and WFS layers from a GeoServer instance on a leaflet map inside an Angular app.
WMS are working fine, but when I switched to WFS, I got this error:
JSONP for GeoServer is enabled.
If I try to preview the WFS "Levels" layer from GeoServer web UI, I got the following JSONP data back:
Since the issue seems to be related to $ jQuery function not being found, I've also tried to add a reference to jquery in my module, but with no success. The jquery npm package is already installed in my application.
import*as$_from'jquery';const$=$_;
The text was updated successfully, but these errors were encountered:
@iamtekson Yes, I've tried, but insert that line on top of my component.ts file didn't work.
Instead, it worked once I added that line inside the L.Geoserver.js file of the package... which obviously is not a solution but only a workaround!
Also, that import line is already present in the app.component.ts main file, because jQuery is also used by other components on the app.
Hi!
I'm using your plugin to load both WMS and WFS layers from a GeoServer instance on a leaflet map inside an Angular app.
WMS are working fine, but when I switched to WFS, I got this error:
JSONP
for GeoServer is enabled.If I try to preview the WFS "Levels" layer from GeoServer web UI, I got the following
JSONP
data back:Layers' configuration
Since the issue seems to be related to
$
jQuery function not being found, I've also tried to add a reference tojquery
in my module, but with no success. Thejquery
npm package is already installed in my application.The text was updated successfully, but these errors were encountered: