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:
1 parent
88f2922f54
commit
9bd7f02dbb
1 file changed
+1
-1
@@ -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 ) {
|
||||
|
||||
Reference in new issue
Block a user