Fix todos

This commit is contained in:
Austen Adler 2023-04-18 21:17:27 -04:00
parent c53f00ea4a
commit 7e3b7599c7
3 changed files with 1 additions and 6 deletions

View File

@ -16,7 +16,6 @@ pub enum Error {
Pluscodes(pluscodes::Error),
#[error("WSG84ToLatLon error: {0:?}")]
WSG84ToLatLonError(utm::WSG84ToLatLonError),
// TODO: Does this one have to be a string?
#[error("Error parsing: {0}")]
NomErr(String),
#[error("No UTM zone letter")]

View File

@ -253,8 +253,7 @@ mod tests {
p!("1 2");
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!(
// dms::Coordinate::try_from(Coordinate::from_str("0.000000 100.500278").unwrap()),

View File

@ -114,9 +114,6 @@
</script>
<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
bind:this={locationControl}
style="border-color: rgba(0,0,0,0.2);"