Skip to content

Commit 923feb9

Browse files
author
Maxime Mangel
committed
Prepare ReactGoogleMaps for Fable 2
1 parent 9e2c60d commit 923feb9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/Fable.ReactGoogleMaps/Fable.Helpers.ReactGoogleMaps.fs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module Coordinates =
2020

2121

2222
// https://developers.google.com/maps/documentation/javascript/reference/coordinates#LatLngBounds
23-
23+
2424
type LatLngBounds =
2525
abstract member extend : LatLngBounds -> LatLngBounds
2626
abstract member extend : LatLng -> LatLngBounds
@@ -47,11 +47,11 @@ module Coordinates =
4747

4848
module Places =
4949

50-
type [<Pojo>] Geometry = {
50+
type Geometry = {
5151
location: Coordinates.LatLng
5252
}
5353

54-
type [<Pojo>] Place = {
54+
type Place = {
5555
geometry: Geometry
5656
}
5757

@@ -131,7 +131,7 @@ module Props =
131131

132132
type IMapProperties =
133133
interface end
134-
134+
135135
// https://developers.google.com/maps/documentation/javascript/events#EventArguments
136136
type GoogleMapsMouseEvent =
137137
{ latLng: Coordinates.LatLng }

src/Fable.ReactGoogleMaps/RELEASE_NOTES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### NEXT
2+
3+
* Update to Fable 2
4+
15
### 0.4.3
26

37
* Cleaning up map bounds

0 commit comments

Comments
 (0)