Revert geolocation point display output format
This commit is contained in:
parent
9a2f8f737a
commit
1ca5f085c5
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ impl fmt::Display for Geometry {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
match self {
|
match self {
|
||||||
Geometry::Point(v) => {
|
Geometry::Point(v) => {
|
||||||
write!(f, "{{ type: 'Point', coordinates: [{}, {}] }}", v.x(), v.y())
|
write!(f, "({}, {})", v.x(), v.y())
|
||||||
}
|
}
|
||||||
Geometry::Line(v) => write!(
|
Geometry::Line(v) => write!(
|
||||||
f,
|
f,
|
||||||
|
|
Loading…
Reference in a new issue