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

Combine ImageryLayer and ShapeFileLayer?

Thread ID:





127383 Nov 11,2016 05:00 AM Nov 16,2016 07:49 AM WPF 3
Tags: Maps
Asked On November 11, 2016 05:00 AM

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.

Sri Gayathri Gopalakrishnan [Syncfusion]
Replied On November 14, 2016 08:22 AM

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. 

Replied On November 15, 2016 02:09 AM

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

Mohana V [Syncfusion]
Replied On November 16, 2016 07:49 AM

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


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.

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.