1

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",
                                    });

             drawnLayers.addLayer(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 at 9:00

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.