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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Zoom to group of markers on a map

Thread ID:





141470 Dec 13,2018 08:19 AM UTC Dec 20,2018 05:17 AM UTC WPF 5
Tags: SfMaps
Nico van der Merwe
Asked On December 13, 2018 08:19 AM UTC

Good day,

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


Muneesh Kumar G [Syncfusion]
Replied On 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.  
Muneesh Kumar G. 

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


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

Hope the information helps.


Muneesh Kumar G [Syncfusion]
Replied On 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. 
Muneesh Kumar G. 

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

Thank you for the feedback.

Muneesh Kumar G [Syncfusion]
Replied On December 20, 2018 05:17 AM UTC

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


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon