<?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 Building a colorbar legend in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96564#M282</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have manually constructed a contoured color map as an overlay with transparency. I now need to build a colorbar legend for this color map. I would like to overlay this colorbar legend in the lower right-hand corner of the map but I don't want this to move when the user zooms or pans the view. This colorbar would need to be based on screen coordinates. Does anyone have any experience with this or know of snippets available that would point me in the correct direction. I can easily "paint" it over the lower right corner of the map but then it will move or disappear when the user zooms or pans the view. Any ideas would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 31 Dec 2014 00:29:46 GMT</pubDate>
    <dc:creator>JerrySchultz</dc:creator>
    <dc:date>2014-12-31T00:29:46Z</dc:date>
    <item>
      <title>Building a colorbar legend</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96564#M282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have manually constructed a contoured color map as an overlay with transparency. I now need to build a colorbar legend for this color map. I would like to overlay this colorbar legend in the lower right-hand corner of the map but I don't want this to move when the user zooms or pans the view. This colorbar would need to be based on screen coordinates. Does anyone have any experience with this or know of snippets available that would point me in the correct direction. I can easily "paint" it over the lower right corner of the map but then it will move or disappear when the user zooms or pans the view. Any ideas would be appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 00:29:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96564#M282</guid>
      <dc:creator>JerrySchultz</dc:creator>
      <dc:date>2014-12-31T00:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Building a colorbar legend</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96565#M283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Answer: Override MapOverlay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 18:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96565#M283</guid>
      <dc:creator>JerrySchultz</dc:creator>
      <dc:date>2014-12-31T18:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Building a colorbar legend</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96566#M284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could have a look at the source code of ScaleBarOverlay (class com.esri.toolkit.overlays.ScaleBarOverlay in the sdk/jars/ArcGIS_Runtime_Java_Toolkit-sources.jar).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't really need an overlay, try the sample called Render Graphics (in Graphics Layers).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We also have a class called LocationOnMap that is used by our toolkit. That could be of some use in your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Dec 2014 18:11:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/building-a-colorbar-legend/m-p/96566#M284</guid>
      <dc:creator>VijayGandhi</dc:creator>
      <dc:date>2014-12-31T18:11:52Z</dc:date>
    </item>
  </channel>
</rss>

