<?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 How can i add marker like google map and popWindow in ArcGIS Runtime SDK for Android Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-marker-like-google-map-and-popwindow/m-p/499431#M3441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcgis team ,&lt;BR /&gt;i have go through this demo it is good but i have some query how can i add marker like google map and it's popwindow. i have seen in example here is point but other query is how can i get point here is given all static point i want to draw path which user selected location from a to b.&lt;BR /&gt;is there any option for that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Sep 2019 11:04:35 GMT</pubDate>
    <dc:creator>NishidhKhanapara</dc:creator>
    <dc:date>2019-09-24T11:04:35Z</dc:date>
    <item>
      <title>How can i add marker like google map and popWindow</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-marker-like-google-map-and-popwindow/m-p/499431#M3441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;arcgis team ,&lt;BR /&gt;i have go through this demo it is good but i have some query how can i add marker like google map and it's popwindow. i have seen in example here is point but other query is how can i get point here is given all static point i want to draw path which user selected location from a to b.&lt;BR /&gt;is there any option for that ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Sep 2019 11:04:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-marker-like-google-map-and-popwindow/m-p/499431#M3441</guid>
      <dc:creator>NishidhKhanapara</dc:creator>
      <dc:date>2019-09-24T11:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: How can i add marker like google map and popWindow</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-marker-like-google-map-and-popwindow/m-p/499432#M3442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can almost certainly do all the things you mention above.&amp;nbsp;&amp;nbsp;If you are familiar with google maps then you might want to take a quick look at this article:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/guide/migrate-from-google-maps-to-arcgis-runtime.htm" title="https://developers.arcgis.com/android/latest/guide/migrate-from-google-maps-to-arcgis-runtime.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Migrate from Google Maps to ArcGIS Runtime—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see from the post you originally posted on our samples reprository you are interested in putting a marker on a map at a given Lat / Long location.&amp;nbsp; If you have a very basic app up and running from one of our samples then the following code shows how you can put a very simple dot on a map:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #bbb529;"&gt;@Override
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;protected void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;onCreate&lt;/SPAN&gt;(Bundle savedInstanceState) {
    &lt;SPAN style="color: #cc7832;"&gt;super&lt;/SPAN&gt;.onCreate(savedInstanceState)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;setContentView(R.layout.&lt;SPAN style="color: #9876aa;"&gt;activity_main&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView &lt;/SPAN&gt;= findViewById(R.id.&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMap &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;ArcGISMap(Basemap.Type.&lt;SPAN style="color: #9876aa;"&gt;TOPOGRAPHIC&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;34.056295&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;-&lt;SPAN style="color: #6897bb;"&gt;117.195800&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;16&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.setMap(&lt;SPAN style="color: #9876aa;"&gt;mMap&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// create a graphics overlay and add to map view
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;GraphicsOverlay graphicsOverlay = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;GraphicsOverlay()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mMapView&lt;/SPAN&gt;.getGraphicsOverlays().add(graphicsOverlay)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// define a symbol style for your "dot".  There are lots more styles available but this is a very simple red dot
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;SimpleMarkerSymbol sms = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;SimpleMarkerSymbol(SimpleMarkerSymbol.Style.&lt;SPAN style="color: #9876aa;"&gt;CIRCLE&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0xFFFF0000&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;20&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// create point geometry of your dot in the WGS84 spatial reference
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;Point location = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point(-&lt;SPAN style="color: #6897bb;"&gt;117.195800&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;34.056295&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;SpatialReferences.&lt;SPAN&gt;getWgs84&lt;/SPAN&gt;())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// create a graphic from  your point and style
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;Graphic graphic = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Graphic(location&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;sms)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;    &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// add the graphic to the graphics overlay so you see it on your map view
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;    &lt;/SPAN&gt;graphicsOverlay.getGraphics().add(graphic)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/460528_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lots more to read about graphics overlays here:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/android/latest/guide/add-graphics-and-text-to-graphics-overlays.htm" title="https://developers.arcgis.com/android/latest/guide/add-graphics-and-text-to-graphics-overlays.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;Add graphics and text to graphics overlays—ArcGIS Runtime SDK for Android | ArcGIS for Developers&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure about your other request, but if you can explain to me exactly what you are trying to achieve I can point you at the correct sample code or documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:56:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-android-questions/how-can-i-add-marker-like-google-map-and-popwindow/m-p/499432#M3442</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2021-12-11T21:56:14Z</dc:date>
    </item>
  </channel>
</rss>

