ghettovoice / vuelayers

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

Optional prop vl-source-wtms #279

Closed RobbieVerdurme closed 4 years ago

RobbieVerdurme commented 4 years ago

Hi @ghettovoice

I want to make a PWA with your librairy and used the tag to get the map from the geoserver. The tags that i use are these `

`

the url i get is: https://geo.gent.be/geoserver/gwc/service/wmts/?layer=SG-E-Stadsplan%3AStadsplan&style=default&tilematrixset=SG-WEB%20MERCATOR&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix=14&TileCol=16722&TileRow=10966

the url i need is: https://geo.gent.be/geoserver/gwc/service/wmts/?layer=SG-E-Stadsplan%3AStadsplan&style=default&tilematrixset=SG-WEB%20MERCATOR&Service=WMTS&Request=GetTile&Version=1.0.0&Format=image%2Fpng&TileMatrix=SG-WEB%20MERCATOR%3A15&TileCol=16722&TileRow=10966

The tilematrix did not ajust to my tag i have written. Could the problem be https://github.com/ghettovoice/vuelayers/blob/master/src/component/wmts-source/source.vue#L95

RobbieVerdurme commented 4 years ago

Closed because i was on a wrong version