From 9bd7f02dbb0844e25c4491cfb9491d3e664a01b4 Mon Sep 17 00:00:00 2001 From: ahocevar Date: Thu, 3 Jun 2010 07:08:46 +0000 Subject: [PATCH] Added degrees symbol to Util.getFormattedLonLat. p=milesjordan, r=me (closes #2654) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10368 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- lib/OpenLayers/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 099ba4bc9c..8961dd5c65 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -1685,7 +1685,7 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, dmsOption) { if( coordinatedegrees < 10 ) { coordinatedegrees = "0" + coordinatedegrees; } - var str = coordinatedegrees + " "; //get degree symbol here somehow for SVG/VML labelling + var str = coordinatedegrees + "\u00B0"; if (dmsOption.indexOf('dm') >= 0) { if( coordinateminutes < 10 ) {