(
self,
position="bottomright",
separator=" : ",
empty_string="Unavailable",
lng_first=False,
num_digits=5,
prefix="",
lat_formatter=None,
lng_formatter=None,
**kwargs
)
| 74 | ] |
| 75 | |
| 76 | def __init__( |
| 77 | self, |
| 78 | position="bottomright", |
| 79 | separator=" : ", |
| 80 | empty_string="Unavailable", |
| 81 | lng_first=False, |
| 82 | num_digits=5, |
| 83 | prefix="", |
| 84 | lat_formatter=None, |
| 85 | lng_formatter=None, |
| 86 | **kwargs |
| 87 | ): |
| 88 | super().__init__() |
| 89 | self._name = "MousePosition" |
| 90 | |
| 91 | self.options = remove_empty( |
| 92 | position=position, |
| 93 | separator=separator, |
| 94 | empty_string=empty_string, |
| 95 | lng_first=lng_first, |
| 96 | num_digits=num_digits, |
| 97 | prefix=prefix, |
| 98 | **kwargs |
| 99 | ) |
| 100 | self.lat_formatter = lat_formatter or "undefined" |
| 101 | self.lng_formatter = lng_formatter or "undefined" |
nothing calls this directly
no test coverage detected