We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1935e91 commit 6e8e0efCopy full SHA for 6e8e0ef
1 file changed
src/Fable.ReactGoogleMaps/README.md
@@ -145,11 +145,11 @@ let bounds = mapRef.GetBounds()
145
let setRef (ref:obj) =
146
let bounds = ReactGoogleMaps.Coordinates.newLatLngBounds()
147
148
- match markerPositions, Option.ofObj ref with
149
- | multiple, Some ref ->
150
- multiple
+ match Option.ofObj ref with
+ | Some ref ->
+ markerPositions
151
|> List.fold (fun (acc:LatLngBounds) pos ->
152
- acc.extend( !^ pos)
+ acc.extend(!^ pos)
153
) bounds
154
|> (MapRef ref).FitBounds
155
| _ ->
0 commit comments