Change on-map home icon
This commit is contained in:
commit
c1490267e6
12 changed files with 73 additions and 95 deletions
|
@ -103,7 +103,7 @@ export default class ValidatedTextField {
|
|||
"A geographical direction, in degrees. 0° is north, 90° is east, ... Will return a value between 0 (incl) and 360 (excl)",
|
||||
(str) => {
|
||||
str = "" + str;
|
||||
return str !== undefined && str.indexOf(".") < 0 && !isNaN(Number(str)) && Number(str) > 0 && Number(str) <= 360
|
||||
return str !== undefined && str.indexOf(".") < 0 && !isNaN(Number(str)) && Number(str) >= 0 && Number(str) <= 360
|
||||
},str => str,
|
||||
(value) => {
|
||||
return new DirectionInput(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue