File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ QGIS supports OGC API Vector Tiles via the [Vector Tiles Layer](https://docs.qgi
279279 { width=100% }
280280
281281 - right-click to bring up the context menu and choose `New Generic connection`
282- - fill the required values. For URL, use the URL you noted from the previous step, replacing `{tileMatrix}/{tileRow}/{tileCol}` with `{z}/{x }/{y }`.
282+ - fill the required values. For URL, use the URL you noted from the previous step, replacing `{tileMatrix}/{tileRow}/{tileCol}` with `{z}/{y }/{x }`.
283283 - press `OK` to add the service. At this point, if you are using the browser you should see the collection appearing in the menu, below "Vector Tiles"
284284 - double-click in the collection to add it to the map
285285 <!-- - remember to set the CRS of the map to `EPSG:3857` by clicking in the button on the lower right corner
@@ -340,7 +340,7 @@ map.addLayer(
340340 interactive: true,
341341 vectorTileLayerStyles: vectorTileStyling,
342342 };
343- var pbfURL='http://localhost:5000/collections/hyderabad/tiles/WorldCRS84Quad/{z}/{x }/{y }?f=mvt';
343+ var pbfURL='http://localhost:5000/collections/hyderabad/tiles/WorldCRS84Quad/{z}/{y }/{x }?f=mvt';
344344 var pbfLayer=L.vectorGrid.protobuf(pbfURL,mapVectorTileOptions).on('click',function(e) {
345345 console.log(e.layer);
346346 L.DomEvent.stop(e);
Original file line number Diff line number Diff line change 3838 interactive : true ,
3939 vectorTileLayerStyles : vectorTileStyling ,
4040 } ;
41- var pbfURL = 'http://localhost:5000/collections/hyderabad/tiles/WebMercatorQuad/{z}/{x }/{y }?f=mvt' ;
41+ var pbfURL = 'http://localhost:5000/collections/hyderabad/tiles/WebMercatorQuad/{z}/{y }/{x }?f=mvt' ;
4242 var pbfLayer = L . vectorGrid . protobuf ( pbfURL , mapVectorTileOptions ) . on ( 'click' , function ( e ) {
4343 console . log ( e . layer ) ;
4444 L . DomEvent . stop ( e ) ;
You can’t perform that action at this time.
0 commit comments