Hi,
Is it possible to get center in [lon, lat] or bounds for MapShapeLayer of .NET MAUI SfMaps control?
Now it returns :
OldZoomLevel, NewZoomLevel for ZoomLevelChanging (but no center)
X,Y (not lon/lat but absolute) for Panning.
Thanks.
Hi Serhii Selevych,
In MAUI SfMaps, the MapShapeLayer doesn’t have the support to get the center position. We are having difficulty understanding your use case clearly. Please provide additional details, including images or short videos about your use case, so we can better understand your needs and provide a solution as soon as possible.
Regards,
Eswaran
Hello, thanks for the fast reply!
My case is to update MapShapeSublayers based on the currently shown part of MapShapeLayer.
The reason is that I have multiple quite big json files for each city. I don't want to attach all that data in one goal as it is quite memory consuming and not optimal. Instead I'm trying to investigate if it is possible to use ZoomLevelChanging or Panning callbacks to attach exactly the data of area which is shown at the moment. To make it possible I need top right lon/lat and bottom left for instance as an arguments for callbacks.
Hi Serhii,
As of now, MAUI Maps does not have a support for "to get center position for MapShapeLayer" and we have logged a feature request for the same. We will implement this feature in any of our upcoming releases.
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.
You can also communicate with us regarding the open features any time using our Feature Report page.
We will prioritize the features every release based on the demands and we do not have an immediate plan to implement this feature since we committed with already planned work. So, this feature will be available in any of our upcoming releases.
Please upvote this features to make this our priority. While this feature itself is important we will prioritize the features every release, based on the user demands. So, this feature will be available in any of our upcoming releases.
Feedback link: https://www.syncfusion.com/feedback/43313/provide-support-to-get-the-mapshapelayer-center-value-in-net-maui-maps
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.
Regards,
Vishal O.