Questions tagged [popup]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
12 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('...
1
vote
1answer
31 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 ...
1
vote
1answer
25 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 ...
1
vote
0answers
20 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&...
0
votes
1answer
34 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) { ...
1
vote
1answer
48 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 = ...
7
votes
2answers
117 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 ...
4
votes
1answer
58 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){...
1
vote
1answer
17 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 ...
8
votes
1answer
95 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 ...
0
votes
0answers
10 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, ...
1
vote
1answer
100 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 ...
0
votes
0answers
38 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 ...
0
votes
0answers
11 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....
0
votes
0answers
17 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 ...
0
votes
1answer
63 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 =...
1
vote
1answer
102 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 ...
4
votes
1answer
45 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 ...
2
votes
2answers
162 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:...
0
votes
0answers
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 ...
0
votes
1answer
13 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 ...
1
vote
0answers
26 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 ...
1
vote
2answers
172 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(...
1
vote
0answers
295 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 ...
2
votes
1answer
54 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 ...
0
votes
0answers
21 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 ...
0
votes
0answers
18 views

Scale dependent Pop-up, Is Arcade the answer?

Is there a way (possibly through an Arcade Expression) to control ArcGIS Online Pop-up visibility based on scale? For example, I only want the Pop-up to be available when the user is zoomed in to a ...
0
votes
1answer
40 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 ...
0
votes
0answers
45 views

Create a folium map with a pop up window appearing when clicking a shapefile feature

I'm trying to create a folium map that will have the following features: A layer will be created from a shapefile including multiple polygon features. When clicking on a single feature a pop up ...
0
votes
0answers
112 views

WebGL Issues with popup in ArcGIS API 4.17 for JavaScript

In addition to the main map view in my app, I have a popup that has 2 distinct map views. The popup is launched when ever the use clicks on the map. I am using ArcGIS API 4.17 for JavaScript for my ...
1
vote
1answer
26 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 ...
1
vote
0answers
17 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 ...
0
votes
0answers
27 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 ...
1
vote
1answer
97 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 ...
0
votes
1answer
89 views

Editing Popup of ArcGIS Web AppBuilder web map

I am new to creating web maps and I am currently working with ArcGIS Web AppBuilder Developer Edition. I already figured out how to andjust the size of the popup windows. Now I'd like to change the ...
1
vote
0answers
24 views

Submit a form in Folium HTML Popup

In my flask application I have a folium map displayed inside an iframe. I defined a folium html popup with a form. How can I route the form? Here is my popup html code: """<!DOCTYPE ...
1
vote
0answers
42 views

Showing different popups for different layers?

I have multiple layers that have different pieces of information. I have radio buttons for selecting layers and when layers selected I want to show different popups which different information for ...
0
votes
0answers
47 views

StoryMap Layout - How to get pop up text from map to appear in docked left panel

https://mdphgis.maps.arcgis.com/apps/MapSeries/index.html?appid=756c49ef7d8940aab28b945b20da343f I found this story map on ArcGIS Online, and I'm trying to figure out how I can replicate the layout in ...
1
vote
1answer
428 views

Setup attribute defined Hyperlinks in ArcGIS Online Pop-up

I have 2 fields Asset_Name and Website. Asset Name is just a text name and Website is a URL to the website. I am trying to setup a Pop-up that has a Hyperlink where the link text is from the ...
0
votes
1answer
117 views

Adjust pop up container in Leaflet

I have a problem wit my current project. When I export my QGIS Project via qgis2web there is a strange behaviour of the map pop ups which are not fitting the content. It sometimes cuts the container ...
0
votes
1answer
388 views

Leaflet error 'Cannot read property' on bindPopup

I try to display a popup when clicking on a multi tracks XML track. This seems to work fine but JS console gives error: Uncaught TypeError: Cannot read property 'call' of undefined at e.fire (...
2
votes
2answers
194 views

Showing a specific sound file as a pop up in ArcGIS Online based on a variable

I am trying to configure a pop up on a webmap in ArcGIS Online (Organisation). I want the pop up to show a small audio player pointing to an mp3 file. I want the mp3 file to change depending on what ...
-1
votes
1answer
202 views

How to alter how a popup appears on OpenLayers Map

I've the following JavaScript code for a popup to display on my OpenLayers map // Create a popup overlay which will be used to display feature info var popup = new ol.Overlay.Popup(); map.addOverlay(...
0
votes
0answers
32 views

Custom Attribute Display Pop-up (hyperlink converting "/' to "%2F")

I have created a custom attribute display links in an ArcGIS Online webmap that include a field from my ArcGIS Server Feature Service attribute table (using attribute-based URL parameters). I am ...
2
votes
1answer
303 views

Updating Leaflet label from form in popup

I have a Leaflet map with markers that originate from two places: Stored coordinates in a database, retrieved as JSON and loaded to a GeoJSON object. The other is markers created from leaflet.Draw ...
1
vote
1answer
88 views

OpenLayers Vector Tile Info

I've created a map and I am using Openlayers Vector Tile Info example https://openlayers.org/en/latest/examples/vector-tile-info.html to retrieve the point information from GeoServer. My code is as ...
3
votes
1answer
146 views

Add image in popup from json Url or image folder?

Added individual url and image for 21 places in json file. Am trying to add image in my popup. Image shows up but broken in the popup. Not sure where in the code the error is?? (Same error for every ...
1
vote
2answers
241 views

Popup for each feature when using Leaflet marker.cluster plugin

I have leaflet map to display locations of points. Firstly, I use leaflet.ajax plugin to load the points data in GeoJSON format, then I want to enable cluster view using the Leaflet.markercluster ...
1
vote
1answer
276 views

Open marker popup show when chosen from list in Leaflet

When I choose a spot from list it zooms in to it but it doesn't open/popup with label/text. Any one knows? suggestions?? This is my code; // - SEARCH ENGINE - // var clusterSpots = L....
0
votes
1answer
240 views

Disable popup on double click event on Mapbox GL map

How to disable 'show popup' on 'double click' (show popup only on 'single click' event) event without disabling 'zoom in' (or 'zoom out' (with Shift button))? Mapbox GL jsfiddle example

1
2 3 4 5
10