Skip to content

Commit 6192ddf

Browse files
authored
Correct create LatLngLiteral in readme.
1 parent 72117ef commit 6192ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Fable.ReactGoogleMaps/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In your css add the following:
2626
and in your F# code you can create the map like this:
2727

2828
```fs
29-
let defaultCenter:Position = Coordinates.newPos 40.6892494 -74.0445004
29+
let defaultCenter:Position = Fable.Helpers.GoogleMaps.Literal.createLatLng 40.6892494 -74.0445004
3030
3131
let myMap =
3232
googleMap [

0 commit comments

Comments
 (0)