Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Mar 31, 2020
1 parent 964a4bd commit 3a25185
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ require "geo"
c = Geo::Coord.new(50.004444, 36.231389)
c.to_s
# => 50°0'16"N 36°13'53"E
c.to_s(dms: false)
# => 50.004444,36.231389
c.strfcoord(%{%latd %latm' %0.1lats" %lath, %lngd %lngm' %0.1lngs" %lngh})
# => 50 0' 16.0" N, 36 13' 53.0" E
c.strfcoord("%lat,%lng")
# => "-50.004444,-36.231389"
c.to_s
# => 50°0'16"N 36°13'53"E
```

### Polygon
Expand Down

0 comments on commit 3a25185

Please sign in to comment.