<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>How to build an interactive map in Appian where users can add pins by clicking and view all active parking locations?</title><link>https://community.appian.com/discussions/f/user-interface/39999/how-to-build-an-interactive-map-in-appian-where-users-can-add-pins-by-clicking-and-view-all-active-parking-locations</link><description>I need guidance on designing an Appian dashboard that displays a live, interactive map showing pins for all active parking locations . Each parking location has latitude and longitude, but these coordinates should come from user input by clicking on the</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to build an interactive map in Appian where users can add pins by clicking and view all active parking locations?</title><link>https://community.appian.com/thread/152728?ContentTypeID=1</link><pubDate>Tue, 09 Dec 2025 08:39:09 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:744c808b-6583-4bdb-a64f-078feda25be7</guid><dc:creator>kavitar5580</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/13/pastedimage1765269454405v2.png" alt=" " /&gt;Get value is not working, please suggest ....&lt;pre class="ui-code" data-mode="text"&gt;a!localVariables(
  local!lat: null,
  local!lon: null,
  local!address: null,
  local!reverseGeoResult,

  a!formLayout(
    titleBar: &amp;quot;OSM Click → Get Coordinates + Reverse Geocode&amp;quot;,
    contents: {

     
      /* ---------- MAP FIELD ---------- */
      /*osmMapsField(*/
        /*label: &amp;quot;OpenStreetMap&amp;quot;,*/
        /*labelPosition: &amp;quot;ABOVE&amp;quot;,*/
        /*height: &amp;quot;AUTO&amp;quot;,*/
/**/
        /* Center map at India (sample) */
        /*mapCenter: a!map(*/
          /*latitude: 28.6139,*/
          /*longitude: 77.2090*/
        /*),*/
        /*zoomLevel: 5,*/
        /*enableMapInteraction: true,*/
        /*showLatLangInPopup: true,*/
/**/
        /* MAIN PART — GET CLICK COORDINATES */
        /*onClick: {*/
          /*a!save(local!lat, {{ fv!item.lat }}),*/
          /*a!save(local!lon, {{ fv!item.lon }}),*/
          /*a!save(local!address, null)*/
        /*},*/
/**/
        /* Other optional parameters (keep null unless needed) */
        /*data: null,*/
        /*hideExceptZoomButton: null,*/
        /*enablePolygonDraw: null,*/
        /*enableWatermark: null,*/
        /*enableMarkerColorChange: null,*/
        /*markerSelectedColor: null,*/
        /*clusterConfiguration: null,*/
        /*mapHeight: null,*/
        /*graphHopperKey: null,*/
        /*currentPosition: null,*/
        /*attribution: null,*/
        /*tile: null,*/
        /*maxMarkerCount: null,*/
        /*mode: &amp;quot;mapOnly&amp;quot;,*/
        /*poi: null,*/
        /*customActions: null,*/
        /*onRouteChange: null,*/
        /*onLocationShare: null,*/
        /*onPOIFound: null,*/
        /*onRegionSelected: null,*/
        /*onCustomActionSelected: null,*/
        /*showFilterOn: null,*/
        /*OnMarkerClick: null*/
      /*),*/
      osmMapsField(
        label: &amp;quot;Pin Location&amp;quot;,
        mapCenter: {
          latitude: 28.6139,
          longitude: 77.2090
        },
        zoomLevel: 10,
        OnMarkerClick: {
          a!save(local!lat, fv!value.lat),
          a!save(local!lon, fv!value.lon)
        },
        onClick: {
          a!save(local!lat, fv!value.lat),
          a!save(local!lon, fv!value.lon)
        }
      ),

      /* ---------- SECTION: LAT/LON ---------- */
      a!sectionLayout(
        label: &amp;quot;Coordinates&amp;quot;,
        contents: {
          a!textField(
            label: &amp;quot;Latitude&amp;quot;,
            readOnly: true,
            value: local!lat
          ),
          a!textField(
            label: &amp;quot;Longitude&amp;quot;,
            readOnly: true,
            value: local!lon
          )
        }
      ),

      /* ---------- BUTTON: REVERSE GEOCODE ---------- */
      a!buttonLayout(
        primaryButtons: {
          a!buttonWidget(
            label: &amp;quot;Get Address&amp;quot;,
            style: &amp;quot;SOLID&amp;quot;,
            disabled: or(
              isnull(local!lat),
              isnull(local!lon)
            ),
            saveInto: {
              /* CALL API INTEGRATION RULE */
              a!save(
                local!reverseGeoResult,
                rule!KRS_OSM_Reverse(
                  lat: local!lat,
                  lon: local!lon
                )
              ),

              /* Extract display_name from JSON response */
              a!save(
                local!address,
                index(
                  local!reverseGeoResult,
                  &amp;quot;body.display_name&amp;quot;,
                  null
                )
              )
            }
          )
        }
      ),

      /* ---------- SECTION: ADDRESS ---------- */
      a!sectionLayout(
        label: &amp;quot;Location Address&amp;quot;,
        contents: {
          a!paragraphField(
            label: &amp;quot;Address&amp;quot;,
            readOnly: true,
            value: local!address
          )
        }
      )
    }
    
  )
)
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an interactive map in Appian where users can add pins by clicking and view all active parking locations?</title><link>https://community.appian.com/thread/152698?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2025 02:13:40 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:605a452f-0adf-4141-87d2-a08360524044</guid><dc:creator>Shubham Aware</dc:creator><description>&lt;p&gt;It&amp;#39;s well explained it here&lt;br /&gt;&lt;a href="https://www.youtube.com/watch?v=sDcABNfyhDc&amp;amp;t=3s"&gt;https://www.youtube.com/watch?v=sDcABNfyhDc&amp;amp;t=3s&lt;br /&gt;&lt;/a&gt;&lt;a href="/b/appmarket/posts/google-maps-component-plug-in"&gt;https://community.appian.com/b/appmarket/posts/google-maps-component-plug-in&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to build an interactive map in Appian where users can add pins by clicking and view all active parking locations?</title><link>https://community.appian.com/thread/152697?ContentTypeID=1</link><pubDate>Thu, 04 Dec 2025 20:44:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0dbaaca3-7292-4a56-9ef3-7bb41075761c</guid><dc:creator>jesush905075</dc:creator><description>&lt;p&gt;You can use one of the following plugins:&lt;/p&gt;
&lt;p&gt;&lt;a href="/b/appmarket/posts/google-maps-component-plug-in"&gt;Appian Community&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="/b/appmarket/posts/esri-map"&gt;Appian Community&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Both of them would need valid credentials&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>