<?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 World Imagery labels for an offline map in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1074025#M4297</link>
    <description>&lt;P&gt;I have an offline map consisting of world imagery tiles. If we want to add city labels as markers and text items, which method should we follow? We have a shape file containing city texts and locations, would that be useful?&lt;/P&gt;</description>
    <pubDate>Wed, 30 Jun 2021 07:25:54 GMT</pubDate>
    <dc:creator>FatmaAkdemir</dc:creator>
    <dc:date>2021-06-30T07:25:54Z</dc:date>
    <item>
      <title>World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1074025#M4297</link>
      <description>&lt;P&gt;I have an offline map consisting of world imagery tiles. If we want to add city labels as markers and text items, which method should we follow? We have a shape file containing city texts and locations, would that be useful?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jun 2021 07:25:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1074025#M4297</guid>
      <dc:creator>FatmaAkdemir</dc:creator>
      <dc:date>2021-06-30T07:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1074594#M4302</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/70678"&gt;@FatmaAkdemir&lt;/a&gt;&amp;nbsp;- yes you could use your shapefile to add the labels to the basemap. The &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-basemap.html" target="_self"&gt;Basemap&lt;/A&gt; type has a referenceLayers property where you could append label layers etc. For your shapefile data you would:&lt;/P&gt;&lt;P&gt;- create a &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-shapefilefeaturetable.html" target="_self"&gt;ShapefileFeatureTable&lt;/A&gt;&amp;nbsp;using the path to the .shp file&lt;/P&gt;&lt;P&gt;- create a &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-featurelayer.html" target="_self"&gt;FeatureLayer&lt;/A&gt;&amp;nbsp;using the shapefile feature table&lt;/P&gt;&lt;P&gt;- append the feature layer to the basemap's referenceLayers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note that Esri also has services that would allow you to export offline tiles including labels. You could export the labels that way - but if you just want city locations, the shapefile data that you have may be best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luke&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jul 2021 08:25:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1074594#M4302</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2021-07-01T08:25:16Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075080#M4304</link>
      <description>&lt;P&gt;Thanks for the answer &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/276838"&gt;@LukeSmallwood&lt;/a&gt; . Could you give us the link to export tiles with labels? We haven't decided yet about using the shapefile. Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:28:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075080#M4304</guid>
      <dc:creator>FatmaAkdemir</dc:creator>
      <dc:date>2021-07-02T10:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075082#M4305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/70678"&gt;@FatmaAkdemir&lt;/a&gt;&amp;nbsp;- this group contains a number of services that incorporate a reference layer for labels&amp;nbsp;&lt;A href="https://www.arcgis.com/home/group.html?id=c61ab1493fff4b84b53705184876c9b0&amp;amp;view=list#content" target="_blank"&gt;https://www.arcgis.com/home/group.html?id=c61ab1493fff4b84b53705184876c9b0&amp;amp;view=list#content&lt;/A&gt;. You could see if one of those works for your use case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Jul 2021 10:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075082#M4305</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2021-07-02T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075603#M4308</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/276838"&gt;@LukeSmallwood&lt;/a&gt; , we managed to display city boundaries by using the shapefile but we couldn't find a way to extract the city names from shapefile. We want to add city names as a label to the feature layer. There is a CITY_NAME column in the .dbf file but should we instead explore the .shp file for city names? Is there a tool to see the list of attributes in the .shp file?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 10:30:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1075603#M4308</guid>
      <dc:creator>FatmaAkdemir</dc:creator>
      <dc:date>2021-07-05T10:30:37Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1077709#M4335</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/70678"&gt;@FatmaAkdemir&lt;/a&gt;&amp;nbsp;- you can explore a shapefile with various packages (including ArcGIS Pro and also I think if you upload it to ArcGIS Online). In Runtime, you can examine the attributes of the shapefile feature table by inspecting the &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/qml-esri-arcgisruntime-featuretable.html" target="_self"&gt;fields&lt;/A&gt;&amp;nbsp;property of the feature table. That should let you check to see which field would best suit your needs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Luke&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 08:10:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1077709#M4335</guid>
      <dc:creator>LukeSmallwood</dc:creator>
      <dc:date>2021-07-12T08:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1078582#M4343</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/276838"&gt;@LukeSmallwood&lt;/a&gt; ,&lt;/P&gt;&lt;P&gt;I managed to explore the fields, and there is a "CITY_NAME" field that I want to display as label.&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;const QString labelJson(R"({"labelExpressionInfo":{"expression":"$feature.CITY_NAME"},"labelPlacement":"esriServerPolygonPlacementAlwaysHorizontal","symbol":{"angle":0,"backgroundColor":[255,255,255,60],"borderLineColor":[255,255,0,255],"borderLineSize":1,"color":[255,255,0,255],"font":{"decoration":"none","size":8,"style":"normal","weight":"normal"},"haloColor":[255,255,255,120],"haloSize":0.5,"horizontalAlignment":"center","kerning":false,"type":"esriTS","verticalAlignment":"middle","xoffset":0,"yoffset":0}})");&lt;/LI-CODE&gt;&lt;P&gt;However no labels are displayed on the feature layer.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jul 2021 06:34:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1078582#M4343</guid>
      <dc:creator>FatmaAkdemir</dc:creator>
      <dc:date>2021-07-14T06:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: World Imagery labels for an offline map</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1079765#M4354</link>
      <description>&lt;P&gt;Have you made sure to append the label json to the layer and enable labels on the layer?&amp;nbsp;&lt;A href="https://github.com/Esri/arcgis-runtime-samples-qt/blob/main/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowLabelsOnLayers/ShowLabelsOnLayers.cpp#L67-L72" target="_blank"&gt;https://github.com/Esri/arcgis-runtime-samples-qt/blob/main/ArcGISRuntimeSDKQt_CppSamples/DisplayInformation/ShowLabelsOnLayers/ShowLabelsOnLayers.cpp#L67-L72&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Jul 2021 18:02:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/world-imagery-labels-for-an-offline-map/m-p/1079765#M4354</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2021-07-16T18:02:17Z</dc:date>
    </item>
  </channel>
</rss>

