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
This commit is contained in:
ahocevar
2010-06-03 07:08:46 +00:00
parent 88f2922f54
commit 9bd7f02dbb

View File

@@ -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 ) {