Leaflet.VectorGrid icon indicating copy to clipboard operation
Leaflet.VectorGrid copied to clipboard

Marker icons are being clipped

Open laacz opened this issue 5 years ago • 5 comments

I'm using Postgis to render MVT and L.vectorGrid.protobuf to render these layers. buffer options property has no effect - icons are sliced at the edge of tile.

Are there any solutions besides generating markers as contents of the tiles themselves in postgis? That can be done, yet a bit of a hassle :)

image

PS I'm aware of similar issues being reported already, however no solution was provided for protobuf layers.

laacz avatar May 02 '19 17:05 laacz

Hi there, can I ask you which version of leaflet and vectorgrid are you using on this, or the code to draw icons in every point? I also am generating pbf tiles from Postgis but I just can't make custom icons for points to appear, it keeps drawing blue circle markers instead of points, hope you can help and thanks

DanielShinken avatar Feb 28 '20 22:02 DanielShinken

Nevermind, I got it, but got same issue as you, icons are being clipped, did you find any solution to this? thanks in advance

DanielShinken avatar Feb 28 '20 23:02 DanielShinken

Did you find any solution to this problem?

sadafzohra19 avatar Jun 04 '20 07:06 sadafzohra19

Any solution or workaround to this issue? Thanks

ericwei0919 avatar Jun 08 '21 00:06 ericwei0919