When on Zoom level 4 and using OpenMaps provider, the Map will pan aggressively North-ish no matter your movement - even from a stationary touch. For example, if you are centered on the US at this zoom level on a mobile device, and you touch the screen the map moves rapidly to northern Canada or Alaska. Attempts to move it down are futile, and it move E-W along the North edge instead. (In developer mode of Chrome, I was not able to replicate this behavior. Needed an actual touch screen or mobile device - Android and iOS devic)
Zooming out a level allows the map to be panned normally.
Hi Joe,
We are unable to reproduce the reported issue using the provided scenario. Please check out the video below to see how we tested for the issue in an Android phone.
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/maps_video171304597
Please share the code snippet or a video to replicate the reported issue. It will be
helpful for us to analyze and assist
you further.
You can duplicate it here https://app.knowdelay.com/delay-map using either a mobile device or with Chrome using Dev Tools in mobile mode.
Hi Joe,
We are able to reproduce the reported issue using the sample hosted and accessible via the provided online link. Please see the video below, which was captured while we tested the online sample link provided.
https://www.syncfusion.com/downloads/support/directtrac/general/ze/maps_demo_one1704123347
Meanwhile, we were unable to replicate the reported issue in our sample application. Please see the link below for a sample and video.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/MapsSample1180420110
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/maps_demo_two1948204075
So, we suspect that external factors in your
Blazor application, such as calling StateHasChanged to the entire razor
page or some property updates, may have impacted the Blazor Maps component.
Please modify the above sample application (shared by Syncfusion Team) or share
the appropriate code snippet to replicate the exact scenario. It will help us analyze
and assist you further.
I have downloaded your sample and tested it and now have the issue characterized.
summary: If the map is scrolled off screen (or initially is out of view either above or below current scrolled view) and back in screen, when scrolled into view, then using a touch control (either mobile or chrome dev tools->sensors->Touch->force Enabled, chrome dev tools mobile view also works) it will exhibit the wild panning.
Reproduce with your above sample: Add a few divs above the
Altered ZoomFactor to = 4
And the only thing I added in the sample was adding the following content I above
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum" by Cicero are also reproduced in their exact original form, accompanied by English versions from the 1914 translation by H. Rackham.
Hi Joe,
We can reproduce the reported issue - “Panning is not working properly in the mobile device when Maps component is in lower section of the web page”. However, we have considered this as a defect and logged a defect report for the same. The fix for this issue will be included in our weekly patch release, which is expected to be available by the mid of November 2023. You can track the status of the bug using below feedback link.
Hi Joe,
We have resolved the reported issue “Panning is not working properly in the mobile device when Maps component is in lower section of the web page” and the fix is included in our Essential Studio 2023 Volume 3 SP release v23.2.4 which is rolled out and is available for download under the following link.
We thank you for your support and appreciate
your patience in waiting for this release. Please get in touch with us if you
would require any further assistance.