Fix todos
This commit is contained in:
parent
c53f00ea4a
commit
7e3b7599c7
@ -16,7 +16,6 @@ pub enum Error {
|
|||||||
Pluscodes(pluscodes::Error),
|
Pluscodes(pluscodes::Error),
|
||||||
#[error("WSG84ToLatLon error: {0:?}")]
|
#[error("WSG84ToLatLon error: {0:?}")]
|
||||||
WSG84ToLatLonError(utm::WSG84ToLatLonError),
|
WSG84ToLatLonError(utm::WSG84ToLatLonError),
|
||||||
// TODO: Does this one have to be a string?
|
|
||||||
#[error("Error parsing: {0}")]
|
#[error("Error parsing: {0}")]
|
||||||
NomErr(String),
|
NomErr(String),
|
||||||
#[error("No UTM zone letter")]
|
#[error("No UTM zone letter")]
|
||||||
|
@ -253,8 +253,7 @@ mod tests {
|
|||||||
p!("1 2");
|
p!("1 2");
|
||||||
p!(r#"0° 0' 0" N 100° 30' 1" W"#);
|
p!(r#"0° 0' 0" N 100° 30' 1" W"#);
|
||||||
p!(r#"0 0 0 N 100 30 1 W"#);
|
p!(r#"0 0 0 N 100 30 1 W"#);
|
||||||
// TODO: Handle no bearings
|
p!(r#"0° 0' 0" 100° 30' 1""#);
|
||||||
// p!(r#"0° 0' 0" 100° 30' 1""#);
|
|
||||||
|
|
||||||
// assert_eq!(
|
// assert_eq!(
|
||||||
// dms::Coordinate::try_from(Coordinate::from_str("0.000000 100.500278").unwrap()),
|
// dms::Coordinate::try_from(Coordinate::from_str("0.000000 100.500278").unwrap()),
|
||||||
|
@ -114,9 +114,6 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div id="container" class="h-3/4" class:invisible={!isVisible}>
|
<div id="container" class="h-3/4" class:invisible={!isVisible}>
|
||||||
<!-- TODO: I want to set the border background to some tailwind class, but I don't know how.
|
|
||||||
This is to copy .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar border style
|
|
||||||
-->
|
|
||||||
<label
|
<label
|
||||||
bind:this={locationControl}
|
bind:this={locationControl}
|
||||||
style="border-color: rgba(0,0,0,0.2);"
|
style="border-color: rgba(0,0,0,0.2);"
|
||||||
|
Loading…
Reference in New Issue
Block a user