Skip to content

Commit 15a0c87

Browse files
author
Maxime Mangel
authored
Merge pull request #117 from nojaf/patch-2
Corrected last createLatLng example
2 parents 6c8fd4c + da1affc commit 15a0c87

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
@@ -75,7 +75,7 @@ let markers =
7575
|> Array.map (fun location ->
7676
marker [
7777
MarkerProperties.Key location.ID
78-
MarkerProperties.Position (Coordinates.newPos location.X location.Y)
78+
MarkerProperties.Position !^ (Fable.Helpers.GoogleMaps.Literal.createLatLng location.X location.Y)
7979
MarkerProperties.Icon (sprintf "Images/markers/%s.png" location.Color)
8080
MarkerProperties.Title location.Title] []))
8181

0 commit comments

Comments
 (0)