diff --git a/examples/zone/ZonesPlugin_createZones.html b/examples/zone/ZonesPlugin_createZones.html index 8c83afe88..16d748399 100644 --- a/examples/zone/ZonesPlugin_createZones.html +++ b/examples/zone/ZonesPlugin_createZones.html @@ -199,7 +199,7 @@

Resources

container: document.getElementById("annotationsContainer"), - markerHTML: "
{{glyph}}
", + markerHTML: "
 {{glyph}} {{volume}}u² 
", labelHTML: "
{{title}}
{{description}}
", values: { @@ -222,6 +222,7 @@

Resources

description: description }, }); + annotation.setMarkerAlign("center"); adjustZoneAnnotation(zone); zone.on("destroyed", () => annotation.destroy()); @@ -240,6 +241,7 @@

Resources

if (pos) { zoneAnnotation.worldPos = pos; + zoneAnnotation.setField("volume", zone.volume.toFixed(2)); } } };