Open thomascailhol opened 3 months ago
I managed to improve some stuff but now on the device the first time I launch the map I see annotations/clusters but when moving nothing happens but when I press back and come back to the map everything works fine š¤
Here are some print statements:
First load:
fetchData: Data fetch complete
BUOYS COUNT: 81
Annotations onAppear: 81
Camera change update region to: 43.36285018920898, -1.8889000415802
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 12
Camera change update region to: 43.46831427255401, -1.864360783462244
Annotations onMapCameraChange: 12
Second load:
fetchData: Data fetch complete
BUOYS COUNT: 81
Annotations onAppear: 81
Camera change update region to: 43.36285018920898, -1.8889000415802
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 0
Camera change update region to: 43.362850189208984, -1.8889000415801414
Annotations onMapCameraChange: 12
Camera change update region to: 43.44456374750019, -1.864360783462244
Annotations onMapCameraChange: 3
See how Annotations onMapCameraChange: x
stays at 12 on first load (which reflect on the map not updating)
Hello there,
I'm trying to clusterize a bunch of annotations to display marine buoys on a map. Everything seems to work fine on the preview canvas but when running on a device or simulator it looks like the differences arrays are empty.
Hope you can help, I'll try to share a max of code but do not hesitate if you need more info.
Here is my integration: