<?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 Zip Code map of US in ArcGIS Workforce Questions</title>
    <link>https://community.esri.com/t5/arcgis-workforce-questions/zip-code-map-of-us/m-p/767639#M154</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to create an ArcGIS Runtime app that uses a map of the United States with all its zip codes as&amp;nbsp;its base map. I was thinking I should use the United States Zip Code Boundaries 2018 as a FeatureLayer to do that. I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TokenCredential creds = await AuthenticationManager.Current.GenerateCredentialAsync(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;&amp;nbsp; new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; Uri(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"https://www.arcgis.com/sharing/rest"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;username,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp; password,&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp; TokenAuthenticationType&amp;nbsp;= TokenAuthenticationType.ArcGISToken);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt;FeatureLayer&amp;nbsp;zipCodesLayer = new FeatureLayer(new Uri(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Boundaries_2018/FeatureServer"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;), userCredentials);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;await zipCodesLayer.LoadAsync();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;However, this fails at the last line of code with the exception "Attempted to use invalid JSON: Name property is missing". Is this zip code map not intended to be a FeatureLayer? If not, what is it exactly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Oct 2020 15:32:40 GMT</pubDate>
    <dc:creator>JamesRyseff</dc:creator>
    <dc:date>2020-10-26T15:32:40Z</dc:date>
    <item>
      <title>Zip Code map of US</title>
      <link>https://community.esri.com/t5/arcgis-workforce-questions/zip-code-map-of-us/m-p/767639#M154</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'm trying to create an ArcGIS Runtime app that uses a map of the United States with all its zip codes as&amp;nbsp;its base map. I was thinking I should use the United States Zip Code Boundaries 2018 as a FeatureLayer to do that. I have the following code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TokenCredential creds = await AuthenticationManager.Current.GenerateCredentialAsync(&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;&amp;nbsp; new&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; Uri(&lt;/SPAN&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"https://www.arcgis.com/sharing/rest"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp;&amp;nbsp;username,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp; password,&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&amp;nbsp; TokenAuthenticationType&amp;nbsp;= TokenAuthenticationType.ArcGISToken);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas; "&gt;FeatureLayer&amp;nbsp;zipCodesLayer = new FeatureLayer(new Uri(&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #a31515; font-family: Consolas; font-size: small;"&gt;"https://services.arcgis.com/P3ePLMYs2RVChkJx/arcgis/rest/services/USA_Boundaries_2018/FeatureServer"&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;), userCredentials);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;await zipCodesLayer.LoadAsync();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;However, this fails at the last line of code with the exception "Attempted to use invalid JSON: Name property is missing". Is this zip code map not intended to be a FeatureLayer? If not, what is it exactly?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;&lt;SPAN lang="EN"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Oct 2020 15:32:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-workforce-questions/zip-code-map-of-us/m-p/767639#M154</guid>
      <dc:creator>JamesRyseff</dc:creator>
      <dc:date>2020-10-26T15:32:40Z</dc:date>
    </item>
  </channel>
</rss>

