<?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 Popup template with long, lat in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-with-long-lat/m-p/1480015#M84739</link>
    <description>&lt;P&gt;How can i append and display long, lat in my popupTemplate?&lt;BR /&gt;&lt;BR /&gt;What I had tried is using arcade expression but the query is making the popup loads too slow.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const template = {
	title: "Title",
	content: [
		{
			type: "fields",
			fieldInfos: [
				{
				    fieldName: "expression/getCoords",
				},
				//......
			]
		}
	],
	expressionInfos: [
	    {
	        name: "getCoords",
	        expression: "Centroid($feature).x" //test
	    }
	],
	actions: [editActions]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 29 May 2024 08:23:04 GMT</pubDate>
    <dc:creator>WoHouYeng</dc:creator>
    <dc:date>2024-05-29T08:23:04Z</dc:date>
    <item>
      <title>Popup template with long, lat</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-with-long-lat/m-p/1480015#M84739</link>
      <description>&lt;P&gt;How can i append and display long, lat in my popupTemplate?&lt;BR /&gt;&lt;BR /&gt;What I had tried is using arcade expression but the query is making the popup loads too slow.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const template = {
	title: "Title",
	content: [
		{
			type: "fields",
			fieldInfos: [
				{
				    fieldName: "expression/getCoords",
				},
				//......
			]
		}
	],
	expressionInfos: [
	    {
	        name: "getCoords",
	        expression: "Centroid($feature).x" //test
	    }
	],
	actions: [editActions]
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 May 2024 08:23:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/popup-template-with-long-lat/m-p/1480015#M84739</guid>
      <dc:creator>WoHouYeng</dc:creator>
      <dc:date>2024-05-29T08:23:04Z</dc:date>
    </item>
  </channel>
</rss>

