# Disables buggy client functions
* disables auto-buffering of new points and lines * improves rendering of surface size
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user