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

[feature request] add clipped tile layer #105

Closed
tiernanmartin opened this issue Sep 17, 2017 · 1 comment
Closed

[feature request] add clipped tile layer #105

tiernanmartin opened this issue Sep 17, 2017 · 1 comment

Comments

@tiernanmartin
Copy link

I would like to add a tile layer for the focus area of a map I'm building, something like this:
clipped-tiles-leaflet

This image comes from @KoGor's Dynamic Tile Clipping example. The "dynamic" part of this example is really nice, but I would actually be fine with being able to provide a polygon that defines the bounds of the added tile layer - if that's easier to implement.

Any chance of adding this feature?

@trafficonese
Copy link
Owner

I dont think there is an easy way to implement that, since it's not a plugin, but a mix of leaflet.draw, d3 and leaflet-0.7.3

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