<?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: Question about Scalebar toolkit in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133965#M387</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like currently the scalebar doesn't support being used from in FXML.&amp;nbsp;Since&amp;nbsp;the source code for the scalebar is available I think if you modify the scalebar constructor to&amp;nbsp;have a named argument&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;public Scalebar(@NamedArg("mapView") MapView mapView)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then you should be able to do something like the following in FXML&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;lt;MapView fx:id="mMapView" prefHeight="400" prefWidth="400"/&amp;gt; 
&amp;lt;Scalebar fx:id="mScalebar" mapView="$mMapView"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and it should now hopefully work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:30:00 GMT</pubDate>
    <dc:creator>ColinAnderson1</dc:creator>
    <dc:date>2021-12-11T07:30:00Z</dc:date>
    <item>
      <title>Question about Scalebar toolkit</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133962#M384</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello guys ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to use scalebar toolkit in&amp;nbsp; my map application . there is any way to integrate arcgis runtime java scalebar toolkit in project without gradle or maven. in my project i dont use any gradle or maven .. there is other way how to use scalebar feautre in my project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 14:22:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133962#M384</guid>
      <dc:creator>S_MMaruf</dc:creator>
      <dc:date>2019-09-09T14:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Scalebar toolkit</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133963#M385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can download the jar from &lt;A href="https://bintray.com/esri/arcgis/download_file?file_path=com%2Fesri%2Farcgisruntime%2Farcgis-java-toolkit%2F100.2.1%2Farcgis-java-toolkit-100.2.1.jar"&gt;Bintray&lt;/A&gt;&amp;nbsp;and add it to your classpath like you are doing with the arcgis-java jar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Sep 2019 15:10:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133963#M385</guid>
      <dc:creator>TylerSchiewe</dc:creator>
      <dc:date>2019-09-09T15:10:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Scalebar toolkit</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133964#M386</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;This Scalebar's Viewpart is created from logic part but in my project all other map controls eg: zoombutton, pan Moving Button is created using JavaFx Fxml and secneBuilder . can you give me some direction how to develope Viewpart using Fxml or sceneBuilder for ScaleBar toolkit for my map application. it would be great to get some help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Sep 2019 09:45:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133964#M386</guid>
      <dc:creator>S_MMaruf</dc:creator>
      <dc:date>2019-09-10T09:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Question about Scalebar toolkit</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133965#M387</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like currently the scalebar doesn't support being used from in FXML.&amp;nbsp;Since&amp;nbsp;the source code for the scalebar is available I think if you modify the scalebar constructor to&amp;nbsp;have a named argument&amp;nbsp;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;public Scalebar(@NamedArg("mapView") MapView mapView)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;then you should be able to do something like the following in FXML&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;lt;MapView fx:id="mMapView" prefHeight="400" prefWidth="400"/&amp;gt; 
&amp;lt;Scalebar fx:id="mScalebar" mapView="$mMapView"/&amp;gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;and it should now hopefully work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:30:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/question-about-scalebar-toolkit/m-p/133965#M387</guid>
      <dc:creator>ColinAnderson1</dc:creator>
      <dc:date>2021-12-11T07:30:00Z</dc:date>
    </item>
  </channel>
</rss>

