Compare commits
No commits in common. "e3a3b30ade657718a5170c38221c1602a93b1eeb" and "106c8f60bc77df99d87a11f178e80c91b5a301e4" have entirely different histories.
e3a3b30ade
...
106c8f60bc
File diff suppressed because one or more lines are too long
@ -523,13 +523,11 @@ GIS.cacheDBData = async function (layerId, dbId) {
|
|||||||
GIS.featurePopup = function (layerName, feature) {
|
GIS.featurePopup = function (layerName, feature) {
|
||||||
const html = `
|
const html = `
|
||||||
<table class="table is-striped is-size-6 m-2">
|
<table class="table is-striped is-size-6 m-2">
|
||||||
<tr><th>Oggetto</th><td>${feature.properties.OGGETTO ?? 'n.d.'}</td></tr>
|
<tr><th>Oggetto</th><td>${feature.properties.OGGETTO}</td></tr>
|
||||||
<tr><th>Anno</th><td>${feature.properties.ANNO}</td></tr>
|
<tr><th>Anno</th><td>${feature.properties.ANNO}</td></tr>
|
||||||
<tr><th>Comune</th><td>${capitalize(feature.properties.COMUNE)}</td></tr>
|
<tr><th>Comune</th><td>${capitalize(feature.properties.COMUNE)}</td></tr>
|
||||||
<tr><th>Località</th><td>${capitalize(feature.properties.LOCALITA) ?? 'n.d.'}</td></tr>
|
<tr><th>Località</th><td>${capitalize(feature.properties.LOCALITA)}</td></tr>
|
||||||
<tr><th>Proprietà</th><td>${capitalize(feature.properties.PROPRIETA)}</td></tr>
|
<tr><th>Proprietà</th><td>${capitalize(feature.properties.PROPRIETA)}</td></tr>
|
||||||
<tr><th>Foglio</th><td>${feature.properties.FOGLIO}</td></tr>
|
|
||||||
<tr><th>Particella</th><td>${feature.properties.PART_BIS}</td></tr>
|
|
||||||
</table>
|
</table>
|
||||||
`;
|
`;
|
||||||
const content = {
|
const content = {
|
||||||
@ -551,8 +549,10 @@ GIS.reprojectWMS = function (crs = 'EPSG:4258') {
|
|||||||
const reprojectedWMSLayer = L.TileLayer.WMS.extend({
|
const reprojectedWMSLayer = L.TileLayer.WMS.extend({
|
||||||
getTileUrl(tilePoint) {
|
getTileUrl(tilePoint) {
|
||||||
const map = GisState.map;
|
const map = GisState.map;
|
||||||
|
//const crs = map.options.crs;
|
||||||
const tileSize = this.getTileSize();
|
const tileSize = this.getTileSize();
|
||||||
|
|
||||||
|
//const geoPoint = L.point(tilePoint.x, tilePoint.y);
|
||||||
const nwPoint = L.point(
|
const nwPoint = L.point(
|
||||||
tilePoint.x * tileSize.x,
|
tilePoint.x * tileSize.x,
|
||||||
tilePoint.y * tileSize.y,
|
tilePoint.y * tileSize.y,
|
||||||
|
Loading…
Reference in New Issue
Block a user