We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Zoom to group of markers on a map

Good day,

Is there a way to zoom to a group of markers placed in the map layer?

Regards,

5 Replies

MK Muneesh Kumar G Syncfusion Team December 13, 2018 11:05 AM UTC

Hi Nico, 
 
Greetings, we have analyzed your requirement and you can achieve this by setting EnableZoom property as true in SfMaps as per the below code snippet.  
 
Code snippet 
<syncfusion:SfMap EnableZoom="True">                 
 
</syncfusion:SfMap > 
 
When the mouse is scrolled up, the map is zoomed in. When the mouse is scrolled down, the map is zoomed out. You can place mouse in any position and do the zooming operation for that custom position.  
 
Please refer below user documentation for more details about SfMaps zooming and panning.  
 
 
If your requirement different this, please give more information about that. This would be helpful for us to give better solution in this.  
 
Regards, 
Muneesh Kumar G. 



NV Nico van der Merwe December 13, 2018 11:55 PM UTC

Hi,

Thank you for the information, I would like to automatically zoom to the extends of the markers at load.

Hope the information helps.

Regards


MK Muneesh Kumar G Syncfusion Team December 19, 2018 10:16 AM UTC

Hi Nico, 
 
We have analyzed your requirement with our source level and we would like to inform you that currently we do not have support to achieve your requirement “While zooming position the maps based on the specified center point. “but we have logged a feature request on this and it can be tracked through our feedback portal below. 
  
  
Please cast your vote to make it count. We will prioritize the features every release based on the demands. 
  
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal. 
 
Regards, 
Muneesh Kumar G. 



NV Nico van der Merwe December 20, 2018 01:21 AM UTC

Thank you for the feedback.


MK Muneesh Kumar G Syncfusion Team December 20, 2018 05:17 AM UTC

Hi Nico, 
 
Please get back to us if you need any other assistance.  
 
Thanks,
Muneesh Kumar G.
 


Loader.
Live Chat Icon For mobile
Up arrow icon