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

Set tms option for custom layer #129

Merged
merged 1 commit into from
Jan 13, 2016
Merged

Set tms option for custom layer #129

merged 1 commit into from
Jan 13, 2016

Conversation

nbtetreault
Copy link
Contributor

Set the L.TileLayer as a TMS. It's required if the base layer specified in custom.url is a TMS. The default value of tms is false in Leaflet.
To use the TMS option, ckanext.spatial.common_map.tms = true has to be set in the ckan .INI file.

Same as ckan/ckanext-geoview#24

Set the L.TileLayer as a TMS. It's required if the base layer specified in custom.url is a TMS. The default value of tms is false in Leaflet.
To use the TMS option, ```ckanext.spatial.common_map.tms = true``` has to be set in the ckan .INI file.

Same as ckan/ckanext-geoview#24
@amercader
Copy link
Member

That was fast! 🏇

Do you mind documenting your new option in the relevant docs?

https://github.com/ckan/ckanext-spatial/blob/master/doc/map-widgets.rst#custom

@nbtetreault
Copy link
Contributor Author

I'll document it.

amercader added a commit that referenced this pull request Jan 13, 2016
Set tms option for custom layer
@amercader amercader merged commit 11b13cd into ckan:master Jan 13, 2016
@amercader
Copy link
Member

Thanks for the patch @nbtetreault

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

Successfully merging this pull request may close these issues.

2 participants