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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

error in project elayer

Thread ID:

Created:

Updated:

Platform:

Replies:

150967 Jan 26,2020 12:18 PM UTC Feb 3,2020 03:56 AM UTC ASP.NET Core - EJ 2 6
loading
Tags: Maps
Luigi
Asked On January 26, 2020 12:18 PM UTC

Hello,
I'm used the control map with asp.net 3.0 but I have this error:

My code

<ejs-maps id="maps" load="window.onMapLoad" shapeSelected="window.shapeSelected">
        <e-layers>
            <e-layer dataSource="ViewBag.electiondata" shapeData="ViewBag.usmap" shapeDataPath="State" shapePropertyPath="name">
            </e-layer>
        </e-layers>
    </ejs-maps>

Description error:
The <e-layers> tag is not allowed by parent <ejs-maps> tag helper. Only child tags with name(s) 'e-maps-layers, e-maps-annotations, e-maps-titlesettings, e-maps-zoomsettings, e-maps-centerposition, e-maps-legendsettings, e-maps-mapsarea, e-maps-border, e-maps-margin' are allowed.

Help me 
thank


Baby Palanidurai [Syncfusion]
Replied On January 27, 2020 09:27 AM UTC

Hi Luigi, 

Sorry for the inconvenience. 

We have analyzed your query. Kindly use e-maps-layers tags instead of the e-layers tag. We have changed this in our end, and this will be refreshed in the help document site on our service pack 1 release which is expected to be rolled out at the end of this week. We will let you know once our changes reflected in live. 

Please find the below code snippet for your reference, 
<ejs-maps id="maps"> 
    <e-maps-zoomsettings enable="true"></e-maps-zoomsettings> 
    <e-maps-layers> 
        <e-maps-layer shapeData="ViewBag.shapeData1"> 
        </e-maps-layer> 
    </e-maps-layers> 
</ejs-maps> 


Kindly revert us, if you have any concerns. 

Regards, 
Baby. 


Luigi
Replied On January 27, 2020 09:40 AM UTC

Thank.

Baby Palanidurai [Syncfusion]
Replied On January 27, 2020 12:52 PM UTC

Hi Luigi, 

Most welcome. Please let us know, if you have any other concerns. We are always happy to assist you. 

Regards, 
Baby. 


Baby Palanidurai [Syncfusion]
Replied On January 31, 2020 10:13 AM UTC

Hi Luigi, 
 
Thanks for your patience. 
 
We have refreshed our documentation with reported changes. Kindly find the documentation link, 

Regards, 
Baby. 


Luigi
Replied On January 31, 2020 05:32 PM UTC

Thank.

Baby Palanidurai [Syncfusion]
Replied On February 3, 2020 03:56 AM UTC

Hi Luigi,  
 
Most welcome. Please let us know, if you have any other concerns. We are always happy to assist you.  
 
Regards,  
Baby.  
 


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon