Skip to content
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

tiled is a geoserver param #16

Closed
jfgodoy opened this issue Jan 20, 2015 · 1 comment
Closed

tiled is a geoserver param #16

jfgodoy opened this issue Jan 20, 2015 · 1 comment

Comments

@jfgodoy
Copy link

jfgodoy commented Jan 20, 2015

To enable geoserver wms service with geowebcache is needed to pass tiled=true as param, but this is filtered by leaflet.wms :(
http://docs.geoserver.org/stable/en/user/webadmin/tilecache/defaults.html#enable-direct-integration-with-geoserver-wms

@sheppard
Copy link
Member

sheppard commented Feb 5, 2015

Hmm, yes that's a problem. We'll probably need to change the option name - perhaps to untiled with the default of true? A temporary workaround would be to add &tiled=true to your base WMS url, i.e.:

var s = L.WMS.source("http://example.com/mapserv?tiled=true", {
    'transparent': true,
    'tiled': true
});

The ideal solution would be to treat WMS parameters entirely separately from the layer options, but we're punting on that for now for compatibility with Leaflet (see Leaflet/Leaflet#2972).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants