<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how the USProjection function works in Tools</title>
    <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508067#M208</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guedrez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible to share the code that you did, so that we could help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Nov 2016 10:50:29 GMT</pubDate>
    <dc:creator>alzverev</dc:creator>
    <dc:date>2016-11-24T10:50:29Z</dc:date>
    <item>
      <title>how the USProjection function works</title>
      <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508066#M207</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've&amp;nbsp; defined &lt;STRONG&gt;FRMapLayout&lt;/STRONG&gt; a new layout, which has the &lt;EM&gt;SVG&lt;/EM&gt; of the map of France and it works (i.e., correctly displayed). However, when I set the coordinates of&amp;nbsp; my nodes (each node correspond to a city for example &lt;STRONG&gt;Paris&lt;/STRONG&gt;) they are not positioned correctly. After digging a little bit I found that the positioning is done by the &lt;STRONG&gt;USProjection&lt;/STRONG&gt; function wich convert the &lt;EM&gt;latitude&lt;/EM&gt; &amp;amp; &lt;EM&gt;longitude&lt;/EM&gt; coordinates&amp;nbsp; to X &amp;amp; Y coordinates on the SVG. Unfortunately, I couldn't understand in order to rewrite an &lt;STRONG&gt;FRProjection&lt;/STRONG&gt; function.&lt;/P&gt;&lt;P&gt;Can someone explain the principals &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx in advanced.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 10:34:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508066#M207</guid>
      <dc:creator>sshrabah43</dc:creator>
      <dc:date>2016-11-16T10:34:02Z</dc:date>
    </item>
    <item>
      <title>Re: how the USProjection function works</title>
      <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508067#M208</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guedrez,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible to share the code that you did, so that we could help you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Nov 2016 10:50:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508067#M208</guid>
      <dc:creator>alzverev</dc:creator>
      <dc:date>2016-11-24T10:50:29Z</dc:date>
    </item>
    <item>
      <title>Re: how the USProjection function works</title>
      <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508068#M209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aleksei,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a similar problem. I am trying to create new topology layout but unable to understand how the &lt;STRONG style="font-size: 12px; font-family: arial; color: #3d3d3d;"&gt;USProjection&lt;/STRONG&gt; works or correctly set node's position. &lt;/P&gt;&lt;P&gt;Here's my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://codepen.io/deniza/pen/bqVVvJ" style="font-size: 10pt;" title="http://codepen.io/deniza/pen/bqVVvJ"&gt;http://codepen.io/deniza/pen/bqVVvJ&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I just rename the USMap Topology related variables and fuınctions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Feb 2017 07:13:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508068#M209</guid>
      <dc:creator>Deniz AYDIN</dc:creator>
      <dc:date>2017-02-28T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: how the USProjection function works</title>
      <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508069#M210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I managed to change projection. It seems USProjection use Albert's USA Projection.&amp;nbsp; I used d3 geo projection library for using Turkey Layout. I used mercator projection method which seems fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var NXprojection = d3.geoMercator().scale(2800).center([35.25,38.8]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just embedded this into next.js, is there any method to register new layout without changing the original code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 06:48:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508069#M210</guid>
      <dc:creator>Deniz AYDIN</dc:creator>
      <dc:date>2017-03-02T06:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: how the USProjection function works</title>
      <link>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508070#M211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;from the discussion&amp;nbsp; &lt;A href="https://community.cisco.com/thread/64534"&gt;D3 Geomap Integration?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;created separate file and registered it,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; topo.registerLayout('TURKEYMap', new nx.graphic.Topology.TURKEYMapLayout())&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://codepen.io/deniza/pen/bqVVvJ?editors=0010" title="http://codepen.io/deniza/pen/bqVVvJ?editors=0010"&gt;http://codepen.io/deniza/pen/bqVVvJ?editors=0010&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projection method should be changed or adjusted.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Mar 2017 07:38:22 GMT</pubDate>
      <guid>https://community.cisco.com/t5/tools/how-the-usprojection-function-works/m-p/3508070#M211</guid>
      <dc:creator>Deniz AYDIN</dc:creator>
      <dc:date>2017-03-14T07:38:22Z</dc:date>
    </item>
  </channel>
</rss>

