ghettovoice / vuelayers

Web map Vue components with the power of OpenLayers
https://vuelayers.github.io/
MIT License
682 stars 230 forks source link

TileJSON source #530

Closed marena closed 1 year ago

marena commented 1 year ago

Hi,

is there any way how tu use TileJSON

like: https://openlayers.org/en/latest/examples/tilejson.html

Thanks for answer

ghettovoice commented 1 year ago

Hello @marena , sorry for the late response.

The simplest way is to append source in the layer created event handler. There is an example: https://jsfiddle.net/ghettovoice/Ln9qr135/423/

marena commented 1 year ago

Hi @ghettovoice,

no problem at all. Thanks for example. I appreciate it.