complete registration and login
This commit is contained in:
@@ -55,10 +55,9 @@ export class MapService {
|
||||
const hovered = features[0];
|
||||
const hoveredId = hovered.id;
|
||||
|
||||
// Aggiorna l'ID della feature nel container delle informazioni.
|
||||
this.uiService.$info.html(hoveredId?.toString() || "");
|
||||
|
||||
if (hoveredId) {
|
||||
// Aggiorna l'ID della feature nel container delle informazioni.
|
||||
this.uiService.$info.html(hoveredId?.toString() || "None");
|
||||
this.map.setFilter(
|
||||
LAYERS.BUILDING_HIGHLIGHT.id,
|
||||
layerFilterEq(hoveredId),
|
||||
@@ -66,6 +65,7 @@ export class MapService {
|
||||
this.map.getCanvas().style.cursor = "pointer";
|
||||
}
|
||||
} else {
|
||||
this.uiService.$info.html("None");
|
||||
this.map.getCanvas().style.cursor = "default";
|
||||
this.map.setFilter(LAYERS.BUILDING_HIGHLIGHT.id, layerFilterEq());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user