vue2-leaflet-vectorgrid icon indicating copy to clipboard operation
vue2-leaflet-vectorgrid copied to clipboard

Does not show the layer

Open josejachuf opened this issue 2 years ago • 2 comments

Hello how are you?

I'm trying to use the component to show my own layer served as VT.

If I do it with Leaflet andL.vectorGrid.protobuf as a test, it works fine, but when I take it to my application that uses Vue Leaflet and your component, it does not show me the points, I do not get errors or anything, but if I see the response of the requests, I am obtaining the data in the right way from the server

imagen

        <l-protobuf
          :options="vectorTileOptions"
          url="http://127.0.0.1:8009/tiles/{z}/{y}/{x}.pbf"
          name="Puntos VTL"
          layerType="overlay"
        />
      vectorTileOptions: {
        vectorTileLayerStyles: {
          puntos: {
            color: '#666666',
            weight: 2,
            fillColor: '#ffb407',
            opacity: 1,
            fillOpacity: 0.4,
            fill: true
          }
        },
        minZoom: 8,
        maxZoom: 18,
        interactive: true
      }

Any idea about this?

josejachuf avatar Aug 03 '22 12:08 josejachuf