I am using boundary canvas plugin to display the tiles belongs to polygon drawn area.

Presently tiles outside the polygon boundary is getting cropped while adding to map. But I wanted to display the complete tile without cropping.

  var newLayer = L.TileLayer.boundaryCanvas(tileProxy_url, {
                                        boundary: geojson,
                                        name: "newlayer",


Is there any option available to add the complete tiles intersecting the polygon boundary to the map?

  • Leaflet plugin leaflet-boundary-canvas has no such option. To achieve desired effect you would have to modify plugin code. – TomazicM Sep 11 '20 at 9:00
  • Thankyou TomazicM, but i am very new to leaflet and i am facing difficulty understandg the plugin to do modifications . could some one help me on this? – user169827 Oct 9 '20 at 11:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.