Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(map): bugs in map package #1166

Open
wants to merge 9 commits into
base: refactor/SVA-1365-change-map-package
Choose a base branch
from

Conversation

ardasnturk
Copy link
Member

@ardasnturk ardasnturk commented Jul 26, 2024

SVA-1399

- added `clusteringEnabled` prop as `false` to solve the problem of collapsable closing when the map component in `LocationSettings` clicks
  somewhere other than the coordinates inside the bounds array

SVA-1399
- added `anchor` prop to `PointAnnotation` component to fix the problem that the marker is not positioned
  correctly after clicking on the map
- added `zIndex` style to `markerContainer` to fix the problem of markers not displaying correctly for android
- added `undefined` value to `onMarkerPress` function when zoom value is changed in `onRegionDidChange` prop to
  fix the bug that callout text continues to be shown when zoomIn or zoomOut on the map

SVA-1399
- added `onDidFinishLoadingMap` prop to `MapView` to prevent the map from being shown without loading and updated `isLoading` to `false`
- added style to `Collapsible` component to solve the problem of collapsible buttons overlapping after loading the map on the settings screen
- improved code readability

SVA-1399
@ardasnturk ardasnturk added the bug Something isn't working label Jul 26, 2024
@ardasnturk ardasnturk added this to the 4.0.1 milestone Jul 26, 2024
@ardasnturk ardasnturk self-assigned this Jul 26, 2024
@ardasnturk ardasnturk changed the title fix: bugs in map package fix(map): bugs in map package Jul 26, 2024
- refactored code to be more decoupled in effects
- added timeout to setting markers which had positive
  outcomes regarding map reactivity and usability
  (drag & zoom)

SVA-1399
- set default zoom to one marker zoom to
  not have one step difference between initial
  zoom and zoom after click in map

SVA-1399
@ardasnturk ardasnturk force-pushed the fix/SVA-1399-fix-bugs-in-map-package branch from 2060632 to 278f6bd Compare August 8, 2024 10:47
@ardasnturk ardasnturk removed this from the 4.0.1 milestone Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants