<?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: Add/sync feature(point) to map in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-sync-feature-point-to-map/m-p/1295054#M6061</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;You can add the point graphic to the same map using below code snippet:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;// create and add a map with with portal item&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;map = ArcGISMap(portalItem)&lt;BR /&gt;&lt;SPAN&gt;// add the marker graphic to the graphics overlay&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;graphicsOverlay&lt;/SPAN&gt;.&lt;SPAN&gt;graphics&lt;/SPAN&gt;.add(&lt;SPAN&gt;markerGraphic&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.&lt;SPAN&gt;apply &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;this&lt;/SPAN&gt;.&lt;SPAN&gt;map &lt;/SPAN&gt;= map&lt;BR /&gt;    &lt;SPAN&gt;// add the graphics overlay to the MapView&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;graphicsOverlays&lt;/SPAN&gt;.add(&lt;SPAN&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;// setup the red pin marker as a Graphic&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;private val &lt;/SPAN&gt;&lt;SPAN&gt;markerGraphic&lt;/SPAN&gt;: Graphic &lt;SPAN&gt;by &lt;/SPAN&gt;&lt;SPAN&gt;lazy &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// creates a symbol from the marker drawable&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;val &lt;/SPAN&gt;markerSymbol = PictureMarkerSymbol.createWithImage(&lt;SPAN&gt;markerDrawable&lt;/SPAN&gt;).&lt;SPAN&gt;apply &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;// resize the symbol into a smaller size&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;width &lt;/SPAN&gt;= &lt;SPAN&gt;30f&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;height &lt;/SPAN&gt;= &lt;SPAN&gt;30f&lt;BR /&gt;&lt;/SPAN&gt;      &lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// create the graphic from the symbol&lt;BR /&gt;&lt;/SPAN&gt;    Graphic(&lt;SPAN&gt;symbol = &lt;/SPAN&gt;markerSymbol)&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Let me know if this helps?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Jun 2023 17:04:22 GMT</pubDate>
    <dc:creator>PriyankaRupani</dc:creator>
    <dc:date>2023-06-01T17:04:22Z</dc:date>
    <item>
      <title>Add/sync feature(point) to map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-sync-feature-point-to-map/m-p/1294908#M6060</link>
      <description>&lt;P&gt;Hii All,&lt;/P&gt;&lt;P&gt;I have loaded map using portal/portal item. Now i want to add/sync feature(point) on the same map, how can i add/sync,&amp;nbsp; please help.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 10:50:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-sync-feature-point-to-map/m-p/1294908#M6060</guid>
      <dc:creator>komalzoting</dc:creator>
      <dc:date>2023-06-01T10:50:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add/sync feature(point) to map</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-sync-feature-point-to-map/m-p/1295054#M6061</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;You can add the point graphic to the same map using below code snippet:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;// create and add a map with with portal item&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;val &lt;/SPAN&gt;map = ArcGISMap(portalItem)&lt;BR /&gt;&lt;SPAN&gt;// add the marker graphic to the graphics overlay&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;graphicsOverlay&lt;/SPAN&gt;.&lt;SPAN&gt;graphics&lt;/SPAN&gt;.add(&lt;SPAN&gt;markerGraphic&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;mapView&lt;/SPAN&gt;.&lt;SPAN&gt;apply &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;this&lt;/SPAN&gt;.&lt;SPAN&gt;map &lt;/SPAN&gt;= map&lt;BR /&gt;    &lt;SPAN&gt;// add the graphics overlay to the MapView&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;graphicsOverlays&lt;/SPAN&gt;.add(&lt;SPAN&gt;graphicsOverlay&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN&gt;// setup the red pin marker as a Graphic&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;private val &lt;/SPAN&gt;&lt;SPAN&gt;markerGraphic&lt;/SPAN&gt;: Graphic &lt;SPAN&gt;by &lt;/SPAN&gt;&lt;SPAN&gt;lazy &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// creates a symbol from the marker drawable&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;val &lt;/SPAN&gt;markerSymbol = PictureMarkerSymbol.createWithImage(&lt;SPAN&gt;markerDrawable&lt;/SPAN&gt;).&lt;SPAN&gt;apply &lt;/SPAN&gt;&lt;SPAN&gt;{&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;// resize the symbol into a smaller size&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;width &lt;/SPAN&gt;= &lt;SPAN&gt;30f&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;height &lt;/SPAN&gt;= &lt;SPAN&gt;30f&lt;BR /&gt;&lt;/SPAN&gt;      &lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;}&lt;BR /&gt;&lt;/SPAN&gt;    &lt;SPAN&gt;// create the graphic from the symbol&lt;BR /&gt;&lt;/SPAN&gt;    Graphic(&lt;SPAN&gt;symbol = &lt;/SPAN&gt;markerSymbol)&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Let me know if this helps?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Jun 2023 17:04:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/add-sync-feature-point-to-map/m-p/1295054#M6061</guid>
      <dc:creator>PriyankaRupani</dc:creator>
      <dc:date>2023-06-01T17:04:22Z</dc:date>
    </item>
  </channel>
</rss>

