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:
@@ -1685,7 +1685,7 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, dmsOption) {
|
|||||||
if( coordinatedegrees < 10 ) {
|
if( coordinatedegrees < 10 ) {
|
||||||
coordinatedegrees = "0" + coordinatedegrees;
|
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 (dmsOption.indexOf('dm') >= 0) {
|
||||||
if( coordinateminutes < 10 ) {
|
if( coordinateminutes < 10 ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user