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

unable to show markers that are on different continents because of minimum zoom level #2902

Open
2 of 5 tasks
CodeWithOz opened this issue Feb 17, 2022 · 0 comments
Open
2 of 5 tasks

Comments

@CodeWithOz
Copy link

I'm submitting a ... (check one with "x")

  • question
  • any problem or bug report

OS: (check one with "x")

  • Android
  • iOS
  • Browser

cordova information: (run $> cordova plugin list)

branch-cordova-sdk 3.2.0 "branch-cordova-sdk"
com.fedirts.cameraroll 0.7.0 "CameraRoll"
com.googlemaps.ios 3.9.0 "Google Maps SDK for iOS"
cordova-background-geolocation 3.6.2 "BackgroundGeolocation"
cordova-launch-review 4.0.1 "Launch Review"
cordova-plugin-actionsheet 2.3.3 "ActionSheet"
cordova-plugin-add-swift-support 2.0.2 "AddSwiftSupport"
cordova-plugin-advanced-http 3.2.2 "Advanced HTTP plugin"
cordova-plugin-android-notch 1.0.0 "AndroidNotch"
cordova-plugin-android-permissions 1.1.2 "Permissions"
cordova-plugin-background-fetch 6.0.8 "CDVBackgroundFetch"
cordova-plugin-badge 0.8.8 "Badge"
cordova-plugin-camera 6.0.0 "Camera"
cordova-plugin-contacts 3.0.1 "Contacts"
cordova-plugin-datepicker 0.9.3 "DatePicker"
cordova-plugin-device 2.0.3 "Device"
cordova-plugin-dialogs 2.0.2 "Notification"
cordova-plugin-enable-multidex 0.2.0 "Enable Multidex"
cordova-plugin-file-transfer 2.0.0-dev "File Transfer"
cordova-plugin-file 6.0.2 "File"
cordova-plugin-googlemaps 2.7.1 "cordova-plugin-googlemaps"
cordova-plugin-googleplus 8.5. "Google SignIn"
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-ionic-keyboard 2.2.0 "cordova-plugin-ionic-keyboard"
cordova-plugin-ionic-webview 5.0.0 "cordova-plugin-ionic-webview"
cordova-plugin-ios-camera-permissions 1.2.0 "iOS Permissions"
cordova-plugin-local-notification 0.9.0-beta.4 "LocalNotification"
cordova-plugin-media-capture 3.0.3 "Capture"
cordova-plugin-media 5.0.4-dev "Media"
cordova-plugin-native-logs 1.0.5 "Native Logs"
cordova-plugin-nativestorage 2.3.2 "NativeStorage"
cordova-plugin-network-information 3.0.0 "Network Information"
cordova-plugin-purchase 10.5.0 "Purchase"
cordova-plugin-sign-in-with-apple 0.1.2 "cordova-plugin-sign-in-with-apple"
cordova-plugin-statusbar 3.0.0-dev "StatusBar"
cordova-plugin-video-editor 1.1.3 "VideoEditor"
cordova-plugin-x-socialsharing 6.0.3 "SocialSharing"
cordova-sqlite-storage 6.0.0 "Cordova SQLite storage plugin - cordova-sqlite-storage plugin version"
cordova.plugins.diagnostic 6.1.1 "Diagnostic"
es6-promise-plugin 4.2.2 "Promise"
pushy-cordova-receiver 1.0.0 "Pushy SDK Receiver for Cordova"
pushy-cordova 1.0.40 "PushySDK"

If you use @ionic-native/google-maps, please tell the package.json (only @ionic-native/core and @ionic-native/google-maps are fine mostly)

@ionic-native/core : N/A
@ionic-native/google-maps : N/A

Current behavior:
For some devices with smaller screens, markers are not within the map if the distances are far away, like on different continents. You can see this in the video I've attached. The method I used is map.animateCamera and I set the target to an array of locations in Africa and North America. However because they're far apart so the minimum zoom level is reached and they're still not visible at that level.

Expected behavior:
I expect to be able to view locations that are far away, perhaps the map can be zoomed out further to accommodate?

Screen capture or video record:

mobizen_20220217_165927.mp4

Related code, data or error log (please format your code or data):

map.animateCamera({
  target: [...]
});

Support this plugin activity

I appreicate if you give me a beer 🍺 from here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant