<?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 Offline Map Show City Names in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/offline-map-show-city-names/m-p/1329471#M12111</link>
    <description>&lt;P&gt;I'm trying to make an offline map using .net sdk. Here, I downloaded the map information in png format via tile layer. I can print the map on the screen. But there is only a map. The cities have no borders and cities have no names. How can I add these plugins? You capture the locations of the cities in the feature layer with a .gpkg file, but it only puts dots there.&lt;/P&gt;</description>
    <pubDate>Mon, 18 Sep 2023 06:44:09 GMT</pubDate>
    <dc:creator>nevcivanokumuş</dc:creator>
    <dc:date>2023-09-18T06:44:09Z</dc:date>
    <item>
      <title>Offline Map Show City Names</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/offline-map-show-city-names/m-p/1329471#M12111</link>
      <description>&lt;P&gt;I'm trying to make an offline map using .net sdk. Here, I downloaded the map information in png format via tile layer. I can print the map on the screen. But there is only a map. The cities have no borders and cities have no names. How can I add these plugins? You capture the locations of the cities in the feature layer with a .gpkg file, but it only puts dots there.&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 06:44:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/offline-map-show-city-names/m-p/1329471#M12111</guid>
      <dc:creator>nevcivanokumuş</dc:creator>
      <dc:date>2023-09-18T06:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: Offline Map Show City Names</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/offline-map-show-city-names/m-p/1329904#M12114</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/715387"&gt;@nevcivanokumuş&lt;/a&gt;&amp;nbsp;thank you for your post. Display city name labels and borders offline is possible given the right data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P data-unlink="true"&gt;Can you verify that your&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.GeoPackage.html" target="_self"&gt;Geopackage&lt;/A&gt; has a feature table with a feature layer with a Polygon or Polyline geometry type? To do this, iterate through&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.GeoPackage.GeoPackageFeatureTables.html" target="_self"&gt;GeoPackageFeatureTables&lt;/A&gt;&amp;nbsp;and check each table's&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/api-reference/api/net/Esri.ArcGISRuntime/Esri.ArcGISRuntime.Data.FeatureTable.GeometryType.html#Esri_ArcGISRuntime_Data_FeatureTable_GeometryType" target="_self"&gt;GeometryType&lt;/A&gt;.&amp;nbsp;You can also explore the metadata of the geopackage to determine this. You'll need to make sure you have polygons representing borders for the cities you'd like to display, plus a field for each city name.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If it doesn't have these requirements, you'll need to find a feature service for this (you can try&amp;nbsp;&lt;A href="https://livingatlas.arcgis.com/en/browse/?q=city%20border#d=2&amp;amp;q=city+border" target="_self"&gt;ArcGIS Living Atlas of the World&lt;/A&gt;). You may also author your own feature layer using ArcGIS Pro.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you do have a feature table representing borders, you'll need to consume the feature table as the source of a feature layer. Load this layer onto the map.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, see this &lt;A href="https://github.com/Esri/arcgis-maps-sdk-dotnet-samples/blob/67b223e55b97049d3d45d956537105512766043c/src/WPF/WPF.Viewer/Samples/Layers/ShowLabelsOnLayer/ShowLabelsOnLayer.xaml.cs#L20" target="_self"&gt;code sample&lt;/A&gt;&amp;nbsp;for creating a labelling expression sample using Arcade. You can take advantage of the city name field for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You also might consider&amp;nbsp;&lt;A href="https://learn.arcgis.com/en/paths/personalize-your-maps-with-custom-basemap-styles/" target="_self"&gt;creating a custom basemap style&lt;/A&gt;. Please feel free to give more details on your workflow, or if these solutions aren't applicable to your project goals.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Sep 2023 22:11:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/offline-map-show-city-names/m-p/1329904#M12114</guid>
      <dc:creator>williambohrmann3</dc:creator>
      <dc:date>2023-09-18T22:11:09Z</dc:date>
    </item>
  </channel>
</rss>

