Smooth map panning

Hi,

I'm trying to implement "smooth" panning, When I want to move the view, I click with the mouse and move the map. Right now, after moving the view, I have to release the mouse button for the view to load. 
In the demos (ex.: https://blazor.syncfusion.com/demos/maps/osm-sublayer), reloading the view takes place immediately after moving the mouse. I copied all the code from the example and the panning works smoothly on your website, but not on mine.
How can this be achieved? I am using Blazor Server.

Thanks in advance.

3 Replies 1 reply marked as answer

IR Indumathi Ravi Syncfusion Team May 18, 2021 03:08 PM UTC

 Hi Tomasz, 
  
Thank you for contacting Syncfusion Support. 
  
We have created the Blazor server application and tested the panning feature, it is working fine. However, we have recorded a video when we tried to reproduce the reported scenario and the same can be downloaded from the following link. 
  
  
Please find the sample application from the below link to demonstrate the same. 
  
  
Since we are unaware of your exact scenario in which an issue was reproduced and so please share the following information which will be more helpful for further analysis. 
  • Try to reproduce the reported scenario in the above sample.
  • Please share your sample (or) code snippet with complete configurations.
  • Share the details if you have done any other customization in your sample.
  • How many markers and clusters used in your sample?
  • What is the zoom factor​ set while panning?​
  
Regards, 
Indumathi R 


Marked as answer

TO Tomasz May 19, 2021 05:28 AM UTC

Hello,

Thanks for the shared files. I was able to get your version up and running and it worked fine. This allowed me to find the cause of the error in my application. The problem was in the version: my application has target framework .NET Core 3.1. When I switched to .NET 5.0 everything works fine.
Thank you for your help. 

Best regards.



SB Swetha Babu Syncfusion Team May 20, 2021 06:15 AM UTC

Hi Tomasz, 
 
Thank you for your update. 
 
We are happy to hear that the reported problem has been resolved. 
 
Please let us know if you need further assistance. 
 
Regards, 
Swetha Babu

Loader.
Up arrow icon