-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blank WMS Pop Up #4
Comments
This seems to be a Cross-Origin-problem and might have to be tackled in the underlying library. Those are the errors I see in the browser console: |
Thanks for the reply. It's a shame that it's possibly an issue with leaflet.js....I'm assuming a reasonably quick fix for this is probably out of the question? I'm happy to raise an issue with the library team but not sure how best to word it. Are you able to assist? |
If you need it only for local development, there is this Chrome plugin, which overwrites The following shiny-app should work with activated CORS changer. But including The original problem has already an issue heigeo/leaflet.wms#65
|
Hello,
I'm trying to load some data on wetland areas into a Leaflet map and enable a popup when clicking various parts of the layer. I have studied the WMS XML file and I believe it's queryable, so I thought I would be able to implement this functionality with
leaflet.extras2::addWMS()
. I've included below a short code snippet showing what I'm up to. I was wondering if I've done something wrong or whether there's an issue withaddWMS()
? When I use the below code the pop up box is always empty.NB. Please be patient for the map to load...the WMS server is pretty slow!
Here's a link to the WMS XML data.
The text was updated successfully, but these errors were encountered: