I'm coding a custom WebPart in SP 2013 called LeftNavigation, as the name implies, the idea is that this webpart shows the SP left navigation so our users can add it on specific Page Layouts.
The problem I'm having is that this WP is not showing the same navigation items as the system master page. Whenever I configurate the site to use managed metadata navigation or structured navigation, this WP still shows what it seems to be a list of lists within the site. I'm using the same map provider from the default system master page and still no luck:
<asp:SiteMapDataSource SiteMapProvider="SPNavigationProvider" ShowStartingNode="False" id="topSiteMap" StartingNodeUrl="sid:1025" runat="server" />