<?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: Implementing Map Image Layer in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442592#M40868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot evtguy! That was EXACTLY my problem, and a simple copy and paste solution. It makes sense, I guess, the image can't be referenced until the map has loaded and established its spatialReference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if ESRI could just fix its search options so I had found that thread in the first place this would all be perfect!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2013 17:39:37 GMT</pubDate>
    <dc:creator>BenjaminStewart</dc:creator>
    <dc:date>2013-02-12T17:39:37Z</dc:date>
    <item>
      <title>Implementing Map Image Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442590#M40866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to customize one of the ESRI story map pages, and I am encountering a javascript error that is confounding me. I want to use a MapImageLayer to display a picture on top of the map, but the image doesn't show up. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The sample can be found here (ignore the lack of captions)&lt;/SPAN&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://geographyis.com/MapStories/mapStory/index.html" rel="nofollow" target="_blank"&gt;http://geographyis.com/MapStories/mapStory/index.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;The code to add the layer is below, when it runs I get a javascript error in the MapImageLayer.js file (line 19): TypeError: _25 is null&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone successfully implemented this? Any suggestions? Anything?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;_map = new esri.Map("map"); _map.addLayer(new esri.layers.ArcGISTiledMapServiceLayer(BASEMAP_URL));&amp;nbsp;&amp;nbsp; var mil = new esri.layers.MapImageLayer({&amp;nbsp; 'id': 'mtAlbertMap' }); var mi = createMapImage(); _map.addLayer(mil); mil.addImage(mi); ... function createMapImage() {&amp;nbsp; var mi = new esri.layers.MapImage({ &amp;nbsp;&amp;nbsp; 'extent': { 'xmin': -13963916, 'ymin': 6386341, 'xmax': -13942805, 'ymax': 6405759, 'spatialReference': { 'wkid': 3857 } }, &amp;nbsp;&amp;nbsp; 'href': "http://geographyis.com/MapStories/mapStory/images/Mount_Albert_Edward_Trail.jpg"&amp;nbsp; });&amp;nbsp; return(mi); }&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 02:00:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442590#M40866</guid>
      <dc:creator>BenjaminStewart</dc:creator>
      <dc:date>2013-02-11T02:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Map Image Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442591#M40867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Take a look at &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://forums.arcgis.com/threads/76433-Can-t-get-MapImage-to-display" rel="nofollow" target="_blank"&gt;this thread&lt;/A&gt;&lt;SPAN&gt; I started a couple weeks ago. ESRI might have introduced a bug within the MapImage functionality with v3.3 of the API. Look at Derek's initial response to my question. There's a certain way you'll need add the mapImage layer to your map (basically, after the map loads- not during).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 13:57:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442591#M40867</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-02-11T13:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Map Image Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442592#M40868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks a lot evtguy! That was EXACTLY my problem, and a simple copy and paste solution. It makes sense, I guess, the image can't be referenced until the map has loaded and established its spatialReference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now if ESRI could just fix its search options so I had found that thread in the first place this would all be perfect!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 17:39:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442592#M40868</guid>
      <dc:creator>BenjaminStewart</dc:creator>
      <dc:date>2013-02-12T17:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: Implementing Map Image Layer</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442593#M40869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Awesome- glad it worked for you! &lt;/SPAN&gt;&lt;STRONG style="font-style: italic;"&gt;Sometimes&lt;/STRONG&gt;&lt;SPAN&gt; it's an easy fix!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 18:39:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/implementing-map-image-layer/m-p/442593#M40869</guid>
      <dc:creator>SteveCole</dc:creator>
      <dc:date>2013-02-12T18:39:31Z</dc:date>
    </item>
  </channel>
</rss>

