Navigations lines - Syncfusion.Blazor 18.2.0.48

Hi, 

I have an issue using the navigations lines. I give to the MapsNavigationLines a List of MapsNavigationLine:
                    <MapsNavigationLines>
                        @foreach (var LinkNavigationLine in LinkNavigationLines)
                        {
                            <MapsNavigationLine Visible="true"
                                                Color="@MapsConstant.NavigationLineColor"
                                                Width="3"
                                                Latitude="LinkNaviagationLine.latitudes"
                                                Longitude="LinkNavigationLine.longitudes">
                            </MapsNavigationLine>
                        }
                    </MapsNavigationLines>

The list is filled by an async service:

LinkNavigationLines = await MyService.GetLinkNavigationLines (groupId);


And the List is declared :  public List<LinkNaviagtionLine> LinkNaviagtionLines = new List<LinkNaviagtionLine>();

This way, the navigations lines are never displayed. But if I init my list with default values:

        public List<LinkNaviagtionLine> LinkNaviagtionLines = new List<LinkNaviagtionLine>() 
        {
            new LinkNaviagtionLine
            {
                latitudes = new double[2] { 0, 0  },
                longitudes = new double[2] { 0, 0 }
            },
            new LinkNaviagtionLine
            {
                latitudes = new double[2] { 0, 0  },
                longitudes = new double[2] { 0, 0 }
            },
then it will display ( only the count of declared values will be displayed).

My list is modified few times but it appears when the list is one time empty, it will never be displayed again, even if it has value.

Am I using the navigationsLines wrongly or it is a bug ? 

Thank you in advance






5 Replies 1 reply marked as answer

SM Sharmi Murugan Syncfusion Team August 19, 2020 05:52 PM UTC

Hi Loic, 
  
Thank you for contacting Syncfusion support. 
  
We have analyzed your query and came to know that you are trying to use "NavigationLine" property in the "foreach" directive. At present, we do not have support to render the elements in Maps component with declarative syntax. We have considered this as improvement and it will be available in our upcoming releases. However, we can render the navigation lines as individual components with seperate tag helpers. We have created simple sample and it can be downloaded from the following link. 
  
  
Please let us know if you need any further assistance. 
  
Regards, 
Sharmi. 



LI Loïc Iglesias August 20, 2020 05:27 AM UTC

Thank you for your response. If I understand, there is no way today to display a not knowed number of navigation lines ? (The number of navigation lines come in run time through requests). 

We have considered this as improvement and it will be available in our upcoming releases
Can you tell me approximately when this feature will be available? 

Thank you in advance

Loic


SA Sabari Anand Senthamarai Kannan Syncfusion Team August 23, 2020 01:09 PM UTC

Hi Loic,  
 
Thank you for the update. 
 
We will include the mentioned feature in our upcoming 2020 Volume 3 release which will be available at the end of September 2020. Please find the feedback link for the feature for tracking. 
 
 
We appreciate your patience until then. 
 
Regards, 
Sabari Anand


SB Swetha Babu Syncfusion Team October 6, 2020 04:00 PM UTC

Hi Loic,

Sorry for the inconvenience caused.

We have not included the reported issue of Navigation lines with declarative syntax in maps in our Volume 3 main release. However, we will include the implementation for the feature in our 2020 Volume 4 release which is expected to be available by the month of December 2020.

Regards,
Swetha Babu


SB Swetha Babu Syncfusion Team December 18, 2020 02:57 PM UTC

Hi Loic,

Thank you for your patience.

We have included the fix for the reported issue "Adding the Navigation lines in maps" in our Essential Studio 2020 Volume 4 Main Release(v18.4.0.30) which is rolled out and is available for download under the following link.

https://www.syncfusion.com/forums/160733/essential-studio-2020-volume-4-release-v18-4-0-30-is-available-for-download

We have created a simple Blazor application to demonstrate the same and it can be downloaded from the following link.

https://www.syncfusion.com/downloads/support/forum/156998/ze/MapsNavigationLine840412356

In the above sample, we have rendered the world map with markers and added the navigation lines between the markers.

We thank you for your support and appreciate your patience in waiting for this release. Please get back to us if you would require any further assistance.

Regards,
Swetha Babu 


Marked as answer
Loader.
Up arrow icon