forked from 0x2620/oxjs
fix find on map
This commit is contained in:
parent
7bede77748
commit
358ee1bc96
7 changed files with 18 additions and 5 deletions
|
|
@ -1260,6 +1260,8 @@ Ox.element = function(str) {
|
|||
Generic HTML element, mimics jQuery
|
||||
>>> Ox.element('div').attr({id: 'foo'}).attr('id')
|
||||
'foo'
|
||||
>>> Ox.element('div').css('color', 'red').css('color')
|
||||
'red'
|
||||
>>> Ox.element('div').html('foo').html()
|
||||
'foo'
|
||||
*/
|
||||
|
|
@ -1677,7 +1679,7 @@ Format functions
|
|||
*/
|
||||
|
||||
Ox.formatArea = function(num, dec) {
|
||||
return Ox.formatNumber(Ox.round(num / 1000000, dec)) + ' km²';
|
||||
return Ox.formatNumber(Ox.round(num / 1000000, dec)) + ' km\u00B2';
|
||||
}
|
||||
|
||||
Ox.formatColor = function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue