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.

Can't find Syncfusion.SfMaps.UWP even though it exists in the reference

Thread ID:

Created:

Updated:

Platform:

Replies:

124707 Jun 23,2016 05:39 PM Jun 24,2016 09:27 AM UWP 4
loading
Tags: SfMaps
Ryan Tunis
Asked On June 23, 2016 05:39 PM

Hi there,

I'm building a UWP application and I would like to utiliize SfMaps.UWP but the code behind file can't seem to locate it. I've tried manually adding it into Visual Studio to reference it that way but I'm having no luck. 

I've also tried used Syncfusion.UI.Xaml.Maps in order to achieve basically the same thing. This draws the map but crashes the program every time I pan, zoom, or right click. In the stack trace it says its looking for Syncfusion.SfMaps.UWP but it's not able to locate it. 

Any chance anyone know why this is happening?

Thanks in advance,
Ryan Tunis

PS. Great product by the way. I'm loving it.

Lingaraj S [Syncfusion]
Replied On June 23, 2016 05:49 PM

Hi Ryan,

Thank you for your interest in Sycnfusion products.

Can you share the stack trace and code snippet which you have used in your application? That will be helpful to update the solution earlier.

Regards,
Lingaraj S.

Ryan Tunis
Replied On June 23, 2016 06:02 PM

I've tried two variations. One with XAML, and one with C# that produce the same result. This particular error in the stack happened when I right clicked the map.

XAML
 <StackPanel>
            <map:SfMap Height="500" Width="500">
                <map:SfMap.Layers>
                    <map:ImageryLayer LayerType="OSM"></map:ImageryLayer>
                </map:SfMap.Layers>
            </map:SfMap>
        </StackPanel>

C#
using Syncfusion.UI.Xaml.Maps;
public MainPage()
{
            this.InitializeComponent();

            SfMap map = new SfMap();
            map.EnablePan = true;
            ImageryLayer il = new ImageryLayer();
            il.LayerType = LayerType.OSM;
            map.Layers.Add(il);
            this.Map.Children.Add(map);
}

Stack Trace Image
See attached zip file for image of the debugger from Visual Studio displaying the stacktrace and exception messages.

Attachment: stackTrace_9812a3db.zip

Ryan Tunis
Replied On June 23, 2016 06:05 PM

Sorry one more thing. I was also having issues locating the help pages for UWP. They aren't listed in that section so I have been using the WPF or WInRT SfMaps documentation to create these. Not sure if that matters or not.

Dhanasekar R [Syncfusion]
Replied On June 24, 2016 09:27 AM

  
Hi Ryan, 
  
We were able to reproduce the issue and have logged defect report regarding this. 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. 
  
  
 
Regards, 
Dhanasekar 

 


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.

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.

;