We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This map shows (as expected) an OSM base layer with a WMS layer on top:
leaflet() %>% setView(lng = 5.287638, lat = 51.703039, zoom = 12) %>% addMapPane("myPane", zIndex = 10) %>% # Defines open-source base maps addProviderTiles(group = "OSM", providers$OpenStreetMap) %>% # Defines bodemgebruik 2017 WMS from PDOK addWMSTiles(group = "BBG17", baseUrl = "https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wms/v1_0?", layers = "bestandbodemgebruik_2017_hoofdgroep", options = WMSTileOptions(format = "image/png", transparent = TRUE, crs = "EPSG:4326", interactive = TRUE, minZoom = 7, maxZoom = 15)) %>% addLayersControl( baseGroups = "OSM", overlayGroups = "BBG17", options = layersControlOptions(collapsed = FALSE) )
(Note that it may take about 10 seconds before the WMS tiles arrive)
However, when I assign the WMS tile layer to the custom pane, "myPane" it isn't appearing:
leaflet() %>% setView(lng = 5.287638, lat = 51.703039, zoom = 12) %>% addMapPane("myPane", zIndex = 10) %>% # Defines open-source base maps addProviderTiles(group = "OSM", providers$OpenStreetMap) %>% # Defines bodemgebruik 2017 WMS from PDOK addWMSTiles(group = "BBG17", baseUrl = "https://service.pdok.nl/cbs/bestandbodemgebruik/2017/wms/v1_0?", layers = "bestandbodemgebruik_2017_hoofdgroep", options = WMSTileOptions(pane = "myPane", format = "image/png", transparent = TRUE, crs = "EPSG:4326", interactive = TRUE, minZoom = 7, maxZoom = 15)) %>% addLayersControl( baseGroups = "OSM", overlayGroups = "BBG17", options = layersControlOptions(collapsed = FALSE) )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This map shows (as expected) an OSM base layer with a WMS layer on top:
(Note that it may take about 10 seconds before the WMS tiles arrive)
However, when I assign the WMS tile layer to the custom pane, "myPane" it isn't appearing:
The text was updated successfully, but these errors were encountered: