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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Combine ImageryLayer and ShapeFileLayer?

Thread ID:

Created:

Updated:

Platform:

Replies:

127383 Nov 11,2016 10:00 AM UTC Nov 16,2016 12:49 PM UTC WPF 3
loading
Tags: Maps
pogosama
Asked On November 11, 2016 10:00 AM UTC

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 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:SfMap> 
  <syncfusion:SfMap.Layers> 
     <syncfusion:ShapeFileLayer LayoutType ="Tile" Uri="Namespace.world.shp"/> 
  </syncfusion:SfMap.Layers> 
</syncfusion:SfMap> 

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. 

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents   

Regards, 
Sri Gayathri. 


pogosama
Replied On 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.

Mohana V [Syncfusion]
Replied On 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.

Regards,
Mohana V

CONFIRMATION

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.

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

;