<?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: Disappearing features when no basemap used in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562447#M52520</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Lukasz,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; This is a known issue with 4.1 and projections other than 4326 and 102100. If you revert to 4.0 it should be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Nov 2016 20:57:08 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-11-12T20:57:08Z</dc:date>
    <item>
      <title>Disappearing features when no basemap used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562446#M52519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to load a map without the standard ESRI basemap. I have an Arcgis server 10.3 service with 2 feature layers. In API 3.18 I simply created empty map and added those layers as FeatureLayers or as one ArcGISDynamiMapServiceLayer.&lt;/P&gt;&lt;P&gt;I have converted this code to 4.1 – added the MapView and again used either the FeatureLayer or this time the MapImageLayer.&amp;nbsp; In 3.18 the map shows fine, but in 4.1 I am getting a very strange behavior – only the features that overlap with the center of the map are showing – if I pan left or right some of them disappear and others show (again only those that “touch” imaginary vertical line going through the center of the map).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The layers are using UTM coordinate system. I tried setting the spatialReference on the MapVIew too but there is no difference. I have also experimented with extent of the Mapview.&lt;/P&gt;&lt;P&gt;I tried also creating my own Basemap with the same 2 layers and adding them to map – but again I observed the same behavior. Not sure if a basemap should be created from FeatureLayers (the documentation says basemap can be only created from tiled services) - nevertheless the map has shown.&lt;/P&gt;&lt;P&gt;(Checked different browsers too).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I use any esri standard basemap (e.g. streets) and then add my layers everything works fine, so I assume it has something to do with the initial settings of the map object (or mapView) inheriting spatialReference, zoom level etc.. from my layers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another problem I noticed is that when I create an empty map and add it to mapView then panning or zooming throws javascript error (not sure this is intentional behavior, but I think it could be linked to the same problem).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone please post a working sample code of loading a simple map with the MapImageLayer and without any basemap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Thanks in advance for any suggestions&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2016 20:19:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562446#M52519</guid>
      <dc:creator>LukaszRutkowski1</dc:creator>
      <dc:date>2016-11-12T20:19:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing features when no basemap used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562447#M52520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Lukasz,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&amp;nbsp; This is a known issue with 4.1 and projections other than 4326 and 102100. If you revert to 4.0 it should be fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Nov 2016 20:57:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562447#M52520</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-12T20:57:08Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing features when no basemap used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562448#M52521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;Is there a place with the 4.0 documentation and the list of known issues (4.1 issues)? Can't find it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 16:16:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562448#M52521</guid>
      <dc:creator>LukaszRutkowski1</dc:creator>
      <dc:date>2016-11-13T16:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Disappearing features when no basemap used</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562449#M52522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lukasz,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; For older documentation you have to download it from this link (choose the version of JS API and then choose download documentation):&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/downloads/" title="https://developers.arcgis.com/downloads/"&gt;SDK Downloads | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There probably is a bug # associated with it but I don't know what it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here are some threads:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/184034"&gt;Graphics not displayed in JS API 4.1 with custom projection, works in 4.0&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/185011"&gt;custom basemap not working 4.1 api&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/thread/185248"&gt;Bug in 4.1 while adding a Graphic to a MapView with Dutch Spatial Reference&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Nov 2016 22:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/disappearing-features-when-no-basemap-used/m-p/562449#M52522</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-11-13T22:04:42Z</dc:date>
    </item>
  </channel>
</rss>

