<?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: Adding an image to my map in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-an-image-to-my-map/m-p/879227#M13954</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the image need to be placed in reference to a specific geographic coordinate or place in reference to the map element? If there is no geographic component to the image, you can just create an img element and place at the appropriate location. No need to add a graphics layer to the map. We have a compass rose widget that does this and it works just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Oct 2018 13:12:45 GMT</pubDate>
    <dc:creator>DiegoNegron</dc:creator>
    <dc:date>2018-10-03T13:12:45Z</dc:date>
    <item>
      <title>Adding an image to my map</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-an-image-to-my-map/m-p/879226#M13953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I display a image directly on my map? I would like to place my logo above the Scalebar widget. I assume you need to make an off-panel widget, so I was looking at the other off panel widgets. I noticed the way the coordinate widget displays itself is in the postCreate function:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;postCreate: function() {&lt;BR /&gt; this.inherited(arguments);&lt;BR /&gt; domClass.add(this.coordinateBackground, "coordinate-background");&lt;BR /&gt; this.own(on(this.map, "extent-change", lang.hitch(this, this.onExtentChange)));&lt;BR /&gt; this.own(on(this.map, "mouse-move", lang.hitch(this, this.onMouseMove)));&lt;BR /&gt; this.own(on(this.map, "click", lang.hitch(this, this.onMapClick)));&lt;BR /&gt; this.own(on(this.locateButton, "click", lang.hitch(this, this.onLocateButtonClick)));&lt;BR /&gt; this.own(on(this.foldContainer, 'click', lang.hitch(this, this.onFoldContainerClick)));&lt;BR /&gt; this.graphicsLayer = new GraphicsLayer();&lt;BR /&gt; this.map.addLayer(this.graphicsLayer);&lt;BR /&gt; }&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;They appear to be using either domClass.add or a GraphicsLayer. Where can i find more information about these Objects? Esri's GraphicLayer API documentation doesn't mention the addLayer that is used in this widget, and the domClass.add seems to be depreciated.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Oct 2018 21:15:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-an-image-to-my-map/m-p/879226#M13953</guid>
      <dc:creator>GregSalvador</dc:creator>
      <dc:date>2018-10-01T21:15:49Z</dc:date>
    </item>
    <item>
      <title>Re: Adding an image to my map</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-an-image-to-my-map/m-p/879227#M13954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does the image need to be placed in reference to a specific geographic coordinate or place in reference to the map element? If there is no geographic component to the image, you can just create an img element and place at the appropriate location. No need to add a graphics layer to the map. We have a compass rose widget that does this and it works just fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Oct 2018 13:12:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-an-image-to-my-map/m-p/879227#M13954</guid>
      <dc:creator>DiegoNegron</dc:creator>
      <dc:date>2018-10-03T13:12:45Z</dc:date>
    </item>
  </channel>
</rss>

