Revert geolocation point display output format

This commit is contained in:
Tobie Morgan Hitchcock 2022-02-13 23:37:54 +00:00
parent 9a2f8f737a
commit 1ca5f085c5

View file

@ -254,7 +254,7 @@ impl fmt::Display for Geometry {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match self {
Geometry::Point(v) => {
write!(f, "{{ type: 'Point', coordinates: [{}, {}] }}", v.x(), v.y())
write!(f, "({}, {})", v.x(), v.y())
}
Geometry::Line(v) => write!(
f,