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

How to change sfMaps projection

I have shapefile (shp) with wgs84 coordinates that is loaded in sfMaps. it looks like this

How to change projection to get orthogonal view


5 Replies

AK Ashwin Kumaravel Syncfusion Team August 28, 2017 12:46 PM UTC

Hi Vasiliy,

Thanks for using Syncfusion products,

We have validated your query and it can be achieved by setting LayoutType="Tile" inside ShapeFileLayer settings. Can you please refer the following code snippet for better understanding?

Code Snippet-

<syncfusion:ShapeFileLayer LayoutType="Tile">

Please get back us if you have any concern. 

Regards,
Ashwin 



VL Vasiliy Lukin August 28, 2017 02:30 PM UTC

That works like a charm. Thank you.



AK Ashwin Kumaravel Syncfusion Team August 29, 2017 11:38 AM UTC

Hi Vasiliy,

We are glad to know that you have met your requirement. Please let us know if you have any queries.

Regards,
Ashwin



VL Vasiliy Lukin August 29, 2017 02:42 PM UTC

Hi, Ashwin.

i have some artefacts after setting LayoutType=Tile. It is cutting the bottom of my map when using with <sfmaps.header>.

its look like shapelayer size is lager than mapcontrol size.




AK Ashwin Kumaravel Syncfusion Team August 30, 2017 11:45 AM UTC

Hi Vasiliy,

Thanks for using Syncfusion products.

We could reproduce the reported issue “Map is getting cropped at the bottom” at our end. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account.

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  

Note-As a workaround can you please add Textblock and place above the map control to overcome this issue.

Regards,
Ashwin


Loader.
Up arrow icon