Hello,

I'm having an issue calling a Vector Tile layer into my map. I went through
the tutorial here and was able to successfully get a layer on my geoserver
install to view.
https://docs.geoserver.org/latest/en/user/extensions/vectortiles/tutorial.html


Yet when I am trying to do the call in openlayers I can't get it to render.
My layer is in a workspace 'COVID'

    new VectorTileLayer({
declutter: true,
source: new VectorTileSource({
tilePixelRatio: 1, // oversampling when > 1
tileGrid: createXYZ({ maxZoom: 19 }),
format: new MVT(),
url: 'http://XXXXXXX:8080/geoserver/gwc/service/tms/1.0.0/' + covidLayer +
            '@EPSG%3A'+mapProj+'@pbf/{z}/{x}/{-y}.pbf'
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to