<?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 Edit Text on Map (runtime SDK for android) in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1072461#M5543</link>
    <description>&lt;P&gt;I'm writing a annotation placement on map function, while in "onSingleTapConfirmed"&lt;/P&gt;&lt;P&gt;Below text can be placed on map&lt;/P&gt;&lt;PRE&gt;TextSymbol ts = &lt;SPAN&gt;new &lt;/SPAN&gt;TextSymbol(&lt;SPAN&gt;14&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;"some text"&lt;SPAN&gt;, &lt;/SPAN&gt;BLUE&lt;SPAN&gt;, &lt;/SPAN&gt;CENTER&lt;SPAN&gt;, &lt;/SPAN&gt;MIDDLE)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;currentTextGraphic = &lt;SPAN&gt;new &lt;/SPAN&gt;Graphic(mapPoint&lt;SPAN&gt;, &lt;/SPAN&gt;ts)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;mGraphicsOverlay.getGraphics().add(currentTextGraphic)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cascade the created text on map, when user try to edit it, it show up as a "Point" and after save, the text turned into point system, e.g. only below determination failled into.&lt;/P&gt;&lt;PRE&gt;if (graphic.getGeometry().getGeometryType() == GeometryType.POINT) {&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or may I know if any method to check the "point" had "TextSymbol" before so that I can further udpate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 25 Jun 2021 07:23:16 GMT</pubDate>
    <dc:creator>LouiePang</dc:creator>
    <dc:date>2021-06-25T07:23:16Z</dc:date>
    <item>
      <title>Edit Text on Map (runtime SDK for android)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1072461#M5543</link>
      <description>&lt;P&gt;I'm writing a annotation placement on map function, while in "onSingleTapConfirmed"&lt;/P&gt;&lt;P&gt;Below text can be placed on map&lt;/P&gt;&lt;PRE&gt;TextSymbol ts = &lt;SPAN&gt;new &lt;/SPAN&gt;TextSymbol(&lt;SPAN&gt;14&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;"some text"&lt;SPAN&gt;, &lt;/SPAN&gt;BLUE&lt;SPAN&gt;, &lt;/SPAN&gt;CENTER&lt;SPAN&gt;, &lt;/SPAN&gt;MIDDLE)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;currentTextGraphic = &lt;SPAN&gt;new &lt;/SPAN&gt;Graphic(mapPoint&lt;SPAN&gt;, &lt;/SPAN&gt;ts)&lt;SPAN&gt;;&lt;BR /&gt;&lt;/SPAN&gt;mGraphicsOverlay.getGraphics().add(currentTextGraphic)&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cascade the created text on map, when user try to edit it, it show up as a "Point" and after save, the text turned into point system, e.g. only below determination failled into.&lt;/P&gt;&lt;PRE&gt;if (graphic.getGeometry().getGeometryType() == GeometryType.POINT) {&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or may I know if any method to check the "point" had "TextSymbol" before so that I can further udpate?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jun 2021 07:23:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1072461#M5543</guid>
      <dc:creator>LouiePang</dc:creator>
      <dc:date>2021-06-25T07:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Text on Map (runtime SDK for android)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1075592#M5544</link>
      <description>&lt;P&gt;Hello LouiePang,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I believe the issue may be that the selected object that you are checking is a MapPoint, so you should try check if it is of type&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Esri.ArcGISRuntime.Geometry&lt;/SPAN&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;SPAN&gt;MapPoint &lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Peter Dimitrov&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 09:04:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1075592#M5544</guid>
      <dc:creator>PeterDimitrov1</dc:creator>
      <dc:date>2021-07-05T09:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Edit Text on Map (runtime SDK for android)</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1079123#M5556</link>
      <description>&lt;P&gt;May I know how I can check if it is should be a Text/TextSymbol e.g. from the Graphic?&lt;BR /&gt;I'm using SketchEditor for placing the Text as mentioned, Or I should uses other way to do it?&lt;/P&gt;&lt;P&gt;My aims is to let user interactively place text on map, it will be good if can be move/edit content again.&lt;/P&gt;&lt;P&gt;Thx&lt;/P&gt;</description>
      <pubDate>Thu, 15 Jul 2021 07:48:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/edit-text-on-map-runtime-sdk-for-android/m-p/1079123#M5556</guid>
      <dc:creator>LouiePang</dc:creator>
      <dc:date>2021-07-15T07:48:56Z</dc:date>
    </item>
  </channel>
</rss>

