# Disables buggy client functions

* disables auto-buffering of new points and lines
* improves rendering of surface size
This commit is contained in:
2023-02-13 12:00:19 +01:00
parent ddbf6d570e
commit 728402b4e1
2 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -163,7 +163,7 @@ netgis.util =
var output;
// Normal / Large Value
var large = ( area > 10000 );
var large = ( area > 100000 );
// Round Value
var i = 0;
@@ -186,10 +186,10 @@ netgis.util =
if ( i === 0 ) large = false;
// Build String
output = i + ( large ? " qkm" : " qm" );
i = i.toLocaleString("de-DE")
output = i + ( large ? " km²" : " m²" );
//NOTE: HTML Superscript / Unicode (² etc.) not supported in OL Labels
return output;
};