SpatialServer/Leaflet.MapboxVectorTile

L.TileLayer.MVTSource Can't load vector tiles in .Pbf format published by GeoServer

githubhanjunjun opened this issue · 3 comments

Hi:
Leaflet version I'm using: 0.7.7
Browser (with version) I'm using: Google Edition 63.0.3239.132(Formal version) (32 Bit)
S/Platform (with version) I'm using: Win10 professional edition

Step:
1、The vector tiles of the polygon type .Pbf format is published in GeoServer
2、Loading through L.TileLayer.MVTSource
Result:
36712761-36e75d8c-1bc5-11e8-9434-a5fd6f86f8b5
36712762-3753f028-1bc5-11e8-8d40-d7138add7755
Hope to solve this problem

HI @githubhanjunjun I also encountered this problem. Do you have a solution?

@hallahan L.TileLayer.MVTSource Can't load vector tiles in .Pbf format published by GeoServer,Hope to solve this problem

I recommend using MapboxGL instead of Leaflet.