Skip to content

Support for tile-layer-class option on l-tile-layer, as in vue2-leaflet #388

@mhirsch

Description

@mhirsch

In vue2-leaflet you could use different TileLayer plugins by using the tile-layer-class prop to pass a custom initialization function to LTileLayer.

This is implemented here in vue2-leaflet.

You can see an example from one of the vue2-leaflet maintainers for how it's used in this closed issue: vue-leaflet/Vue2Leaflet#632 (comment)

I used this to work with TileLayerGL.

Would it be possible to include this feature in vue-leaflet? Or if I'm missing something, how can one use a custom TileLayer object with vue-leaflet?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions