Questions tagged [popup]

Questions that pertain to the ubiquitous 'popup' in web-mapping libraries.

Filter by
Sorted by
Tagged with
0 votes
1 answer
18 views

Arcade script for popup in ArcGIS Online [closed]

I am new to Arcade and I am trying to build a Pop-up display in ArcGIS Online web map. I have four Feature datasets in a map, one being a Local Government layer for the state. I am trying to develop a ...
user avatar
1 vote
1 answer
42 views

How to temporarily disable a feature layer's popup, then restore it again later?

I have an ArcGIS Server JavaScript API v4 map containing some feature layers which each have a popupTemplate defined, so clicking on the layer(s) automatically shows the layers' popup. I need to ...
user avatar
  • 20.5k
2 votes
2 answers
200 views

Change popup content with JavaScript

How can I dynamically change the HTML content of a Leaflet popup using JavaScript? I have text in the popup that I want to change when it's clicked: map_layer = L.geoJSON(countries, { ...
user avatar
1 vote
0 answers
74 views

Leaflet - openPopup()

I just want to ask if there is some possibility of determining where the popup appears. In my case, when I mouseOver on some country on the map, some of the popup windows appear in a nonsensical ...
user avatar
  • 33
1 vote
1 answer
108 views

How to remove null attributes with table row from popup using Arcade expression in ArcGIS Portal

I am using the HTML code to configure the popup <font size="2"> <table border="1"> <tbody> <tr> <td><b><font color="#000000">...
user avatar
1 vote
1 answer
49 views

Displaying pop ups for overlapping polygons in the same layer in Leaflet?

I am working on a leaflet map that shows property ownership over time with polygons and a time slider (https://github.com/jeffjb4488/GeoJASON_test). However, some of my polygons overlap and only the ...
user avatar
0 votes
1 answer
59 views

Pop-Up with Arcade Expression Shows Incorrect Values in Field Maps

I have run into an issue where a pop-up (Text), with values displayed from a custom attribute expression - is showing a different value based on what application/where I am accessing it. Some ...
user avatar
  • 121
0 votes
0 answers
27 views

ArcGIS Pro to ArcGIS Online configured links in attribute table and pop up redirect back to the map itself

I've been having an issue where the hyperlinked text that loads perfectly fine on ArcMap and ArcGIS Pro won't work on ArcGIS online. On ArcGIS Pro, I have an attribute table where each attribute links ...
user avatar
  • 69
2 votes
1 answer
41 views

Removing/replacing popup content in GeoJSON leayer in Leaflet?

I'm using Leaflet library, I have this custom navigation route where it shows the route between building A to building B. After the user choose the starting and destination area, a LineString is added ...
user avatar
1 vote
1 answer
192 views

Show popup on GeoJSON layer data when button is clicked?

I have a LineString geoJSON data, I want to show popup when button is click. My problem is, it's not showing whenever I click the button. It only shows when I click the LineString itself. My goal is ...
user avatar
1 vote
0 answers
30 views

ArcGIS Online popup generated by expression does not display results unless a pie chart is added

Working in AGOL, I've written a conditional expression that generates an output for my popup based on one of the layers in my map. However, the output does not display unless I also add a pie chart to ...
user avatar
1 vote
2 answers
69 views

Overwrite Web Layer won't update Pop-Up fields using ArcGIS Peo

I've deleted some fields from a feature class and re-published the feature layer to the ArcGIS Portal using ArcGIS Pro 2.9.1, however the feature class pop-up still shows the deleted fields and I have ...
user avatar
0 votes
0 answers
66 views

API Google - pop up (infowindow) with earthquake magnitude information

I have the following code, which is about fetching earthquake geospatial information from USGS via Google API: <!DOCTYPE html> <html> <head> <title>API GOOGLE - EARTHQUAKE ...
user avatar
0 votes
0 answers
63 views

Configure pop up expression to return field aliases

I am using ArcGIS online to create web maps that show countries with different levels of staff engagement across 19 different campaigns. I am creating a map for each of the three levels of engagement. ...
user avatar
  • 1
1 vote
0 answers
37 views

Pop-Up position compared to the marker clicked in OpenLayers

I would like to center a pop-up on the marker where I click now it is moved to the right and above the marker. I tried two methods: Method 1: var f = map.forEachFeatureAtPixel( event.pixel, ...
user avatar
1 vote
1 answer
171 views

Getting centroid of area and info in popup in Leaflet

I'm trying to get the centroids of each of the features of a polygon layer, and the popup with its info inside: but I'm not able to show those centroids. Something is wrong in my code, the variables ...
user avatar
0 votes
1 answer
39 views

Different popup sizes in ArcGis WebAppBuilder

let's asume I have to different Layers in a WebApp built by ArcGis WebAppBuilder. Now I can style the popup style and size by css. But how could I achieve two different sized popups, one for each ...
user avatar
1 vote
1 answer
70 views

Adding popup with attribute characteristics to features in Leaflet?

I need to show popup for GEOJSON data with its attributes. However, I don't have any idea on showing popup for GEOJSON data added through url of wfs. The geojson data is earthquake data added through ...
user avatar
  • 133
3 votes
1 answer
240 views

Update content of popup on a polygon click event in Leaflet?

I work with Leaflet.js v 1.7.1 and have stuck with a problem of updating popup content data of data The data set is on a local disk Currently I have a local set of data: var data =[ { type: &...
user avatar
0 votes
0 answers
56 views

Error 'appendChild' when trying to open popup

I'm trying to customize the result text of Leaflet control geocoder let searchBox = L.Control.geocoder({ geocoder: googleGeoCoderProvider, defaultMarkGeocode: false, }).on('...
user avatar
1 vote
1 answer
77 views

Leaflet Flickr photos and Marker cluster small image broken relation

I intend to use Jose Mamira's Flickr plugin to show clustered photos from Flickr, with their thumbnail (first all photos, for this exemple, then I would easily change the code to display only my own ...
user avatar
1 vote
1 answer
61 views

List string values from multiple related tables in ArcGIS Pro popup

I have a polygon feature class (BIA tribal boundaries) with three relationship classes set up to relate to three separate tables, each with a 1:M cardinality from the feature class to the table. I ...
user avatar
1 vote
0 answers
27 views

QGIS Problem with displaying web-based images by Action attribute

I have the .csv file, which includes the direct URLs to the images in the columns. Unfortunately, I can't open them at some point. Following this video: https://www.youtube.com/watch?v=nKxbOOsWwvk&...
user avatar
  • 3,603
0 votes
1 answer
344 views

Mapbox popups - How to query only the top-most layer when there are multiple overlapping layers?

I have a Mapbox map with one line layer and multiple point layers, as in the screenshot below. Each has its own popup: map.on('click', function(e) { if(!e.originalEvent.defaultPrevented) { ...
user avatar
1 vote
1 answer
195 views

Dynamically change Leaflet PopUp Background on updating PopUp content

I have a function that sets new content to the Popup and opens it whenever the function receives data from the socket. layer[i].getPopup().setContent(content) layer[i].getPopup().options.autoClose = ...
user avatar
7 votes
2 answers
231 views

Styling popup with two separate styles at once in Leaflet

I have the point layer as you can see below: where the semicircles are fine but points not necessarily. I would like to customize these points as well. The problem is, that I can't find a good option ...
user avatar
  • 3,603
4 votes
1 answer
79 views

Variable nested inside another variable not displayed properly in popup in Leaflet

I would like to set my popup content. Some of the information will be condition-based. I tried the following options: onEachFeature: function (pointFeature, layer) { var stream = function(liveStr){...
user avatar
  • 3,603
1 vote
1 answer
38 views

Configuring popup within ModelBuilder of ArcGIS Pro

Is there a way to configure popups within a ModelBuilder process using ArcGIS Pro? I am generating xy-points based on an input table and want to define the popup layout used only for this specific ...
user avatar
  • 67
8 votes
1 answer
120 views

Access report/atlas page from feature in layer (QGIS)

In QGIS 3.22. I've created an atlas layout from a polygon shapefile layer. What I'd like to do is be able to access the atlas page for a given feature without having to open the layout manager. Some ...
user avatar
  • 1,001
0 votes
0 answers
16 views

ArcGIS Collector: Clicking Pop-Up pans map to Central African Republic

I'm using the most recent version of ArcGIS Collector. I have a web map with a point feature class, a line hosted feature class, two polygon hosted feature classes, ESRI World Imagery as a basemap, ...
user avatar
1 vote
1 answer
420 views

Styling Points of Vector Grid in Leaflet

I am using the Leaflet Vector Grid Plugin to load a geojson innto my Leaflet project. But I can't figure out how to implement a popup and style the data by attributes. I load up the data with ...
user avatar
0 votes
0 answers
165 views

Problems with AutoPanning in Leaflet

I've built a simple Leaflet map with Popups showing some information. Most of the time the Autopanning works just as intended and the map moves to show the whole content of the popup, but sometimes it ...
user avatar
0 votes
0 answers
43 views

Errors in JavaScript/HTML code to include a hyperlink in a pop-up box on a Mapbox map

I'm trying to include in a pop-up box a hyperlink using HTML "<a href"> command. The relevant section of the code is as follows : .setHTML('<a href="currentFeature.properties....
user avatar
0 votes
0 answers
37 views

Reordering multiple popups using ArcGIS Online

I have multiple points on top of each other, with different dates across them, resulting in multiple pop ups appearing when you click on point. When clicking the point/s, the popup appears. The ...
user avatar
0 votes
1 answer
81 views

General JavaScript function handling popups of various JSON layers in a Leaflet map

I have a couple of JSON layers added to my Leaflet map via the leaflet-ajax plugin. lyrBldgs = new L.GeoJSON.AJAX('data/bldgs.geojson', {style:stlBldgs, onEachFeature:popOSM}).addTo(mymap) lyrLanduse =...
user avatar
  • 1,159
1 vote
1 answer
341 views

Make popup appear on mouseover and not click in Leaflet?

I'm a noob with Leaflet, just got started this past week. I was wondering how to make my popups fire on mouseover rather than the default on click. //create variable to hold the map element, give ...
user avatar
4 votes
1 answer
68 views

Сhanging pop-up font size in qgis2web

I have a lot of info in QGIS2WEB pop-ups and would like to make the font size smaller to make the text easier to read. I have checked all exported files, and the only instance referencing the pop-ups ...
user avatar
3 votes
2 answers
632 views

Deleting previous mapboxgl.Popup() existing on mapbox map

Before adding new mapboxgl.Popup(), I have to delete the existing ones if there are any. My code is: const popup = new mapboxgl.Popup() .setLngLat(middleCoordinates) .setHTML(`Distance:...
user avatar
  • 167
0 votes
0 answers
33 views

Displaying non-spatial data tables linked to shapefile feature using ArcMap

I store a range of data in tables (excel) that I would like to link to a spatial feature in ArcMap so users can access them via this method. The data tables have a different schemas (may comprise a ...
user avatar
  • 1,257
0 votes
1 answer
14 views

"Edit feature properties directly from the map" by a user who has been sent a link, can then edit a pop-up directly on the map

Edit feature properties directly from the map: https://carto.com/blog/edit-feature-properties-directly-from-the-map/ With the new feature editing modal window you are able to edit the properties of ...
user avatar
1 vote
0 answers
51 views

Display Related Data in Popups for Grouped Layers

I am creating a web map from a map service that contains related data. I want to display the related data in my point feature popups. I thought it would be easy to pull in the related tables in Arcade ...
user avatar
  • 11
1 vote
2 answers
376 views

Pop up on circle markers not working with polygons in Leaflet when using clustering

I am using two GeoJSON data, one for Multi-Polygons and another for markers (Point) in the following functions: var basegeomap; function loadbasemapstate() /*polygon data*/ { basegeomap= L.geoJson(...
user avatar
1 vote
0 answers
591 views

Leaflet popup immediately closing

In my map (http://www.enjoytheparks.com/EtP_Map.html) I display "special" popups for Park Points of Interest. To see this, you would have to select a park first. Easiest way is use the ...
user avatar
  • 163
2 votes
1 answer
101 views

Avoid popups outside map area of GeoServer Layer using Openlayers

I have added the function to show a custom message for the feature where data is not available in WMS layer of GeoServer, and it is working but is there any way by which popup does not open outside ...
user avatar
0 votes
0 answers
24 views

Images Shown in Popup Not in Table of ArcGIS Pro

I'm trying to export data from a map layer to an excel file. From ArcGIS Online I opened the layer using ArcGIS Pro. The images exist in AGOL, and can be seen from the pop-ups in Pro when individual ...
user avatar
0 votes
1 answer
66 views

Configuring pop-up in map notes of ArcGIS Online

Whenever I try to create my own layer in ArcGIS using Add->Add Map Notes, there is no Configure Pop-up option in newly created layer Whereas if I use already existing one there is such an option ...
user avatar
  • 1
1 vote
1 answer
30 views

Having trouble concatenating with Arcade across fields and having No Data when all columns are empty

I have data that needs to be in a pop-up that is contained across several fields. If the fields have no data, I would like the pop-up to say "No Aviation Resources". Here is what I have so ...
user avatar
  • 11
1 vote
0 answers
22 views

Listing total number of features into an ArcGIS Online feature pop-up when the service consists of grouped features

I'm trying to use the count function to list the total number of features in a feature pop-up. I can do this through configure pop-up/add expression Count($layer) if the feature service consists of ...
user avatar
  • 41
0 votes
0 answers
31 views

Listing total number of features into an ArcGIS Online feature pop-up

When configuring a feature service pop-up, how can I get the total number of features listed in the pop-up? For example, I have a hydrant service. When clicking on any hydrant, the pop-up would list ...
user avatar
  • 41
1 vote
1 answer
154 views

Why does bindPopup not work inside my transparent Leaflet polygons?

I am trying to display a popup from the attribute value of a geojson layer by calling the geojson file. However, the popup displayed on the edges of the boundaries of the polygons features only. Here ...
user avatar
  • 49

1
2 3 4 5
10