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

Combine ImageryLayer and ShapeFileLayer?

Is it possible to combine the ImageryLayer with the ShapeFileLayer? I would like to be able to superimpose shape layer on top of OSM map for example.

Also when I use the ShapeFileLayer, can I change the map projection? In the examples, the projection seems to be Equirectangular, but it looks distorted. I'm more used to Mercator projection.

3 Replies

SG Sri Gayathri Gopalakrishnan Syncfusion Team November 14, 2016 01:22 PM UTC

Hi Erik, 

Query 1: "can I change the map projection" 

Yes. We can change the map projection using the property called LayoutType. If the LayoutType is Tile then it will render the maps in Mercator projection and LayoutType is Default then it will render in Equirectangular projection. We suggest you to use below code to acheive your requirement. 

     <syncfusion:ShapeFileLayer LayoutType ="Tile" Uri="Namespace.world.shp"/> 

Query 2 : "combine the ImageryLayer with the ShapeFileLayer" 

We have created a separate incident for further follow up's about “Combine ImageryLayer with ShapeFileLayer” under your Direct-trac login account. 


Sri Gayathri. 

UN Unknown Syncfusion Team November 15, 2016 07:09 AM UTC

OK thank you! Maybe you guys can update the API Reference for LayoutType property? At the moment there is no description for this property.

MV Mohana V Syncfusion Team November 16, 2016 12:49 PM UTC

Hi Erik,

We will add LayoutType property and description in API reference for wpf Maps.This will be included in our Essential studio volume 1 2017 release which is expected to be released on first week of February, 2017.

Mohana V

Live Chat Icon For mobile
Up arrow icon