Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [popup]

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

1
vote
1answer
35 views

HTML Custom Attribute does not register as HTML code

I am working on creating a hyperlink by configuring the popup through Attribute Expressions. The purpose is to create a telephone call link for all of the Municipalites. I have all of the numbers for ...
0
votes
0answers
8 views

ArcGIS Portal Popup Persistence

I am using ArcGIS Portal and am using custom Popup configuration for each layer. The problem i face is whenever i republish a layer popups in ArcGIS Portal layer resets to default. I know ArcGIS Pro ...
2
votes
1answer
22 views

Unable to use Arcade expression to obtain X and Y values from geometry

I am trying to set up an expression for use in a pop-up in my portal web map in point feature class (image) service that was published referencing SDE Enterprise Feature Class. When building the ...
0
votes
1answer
28 views

Why am I unable to display attribute data in map?

In the JSON file I have an attribute called FairValue which belongs to the polygon feature class. Similarly there is another attribute called Survey_Num. I want to display both these attributes on ...
1
vote
1answer
46 views

Geting fitBounds and removeLayers to work in Leaflet

I am making a Leaflet map that gets its marker and popup information from a database. I have a dropdown that allows me to retrieve a subset of the entire database based on category. The drop-down and ...
0
votes
1answer
22 views

Add a popup to leaflet but only on click

is there a way to add a popup to a marker but only show it when it is clicked? As it seems to be default to show it when one is loaded? This is no good when markers are getting updated? Currently ...
0
votes
0answers
24 views

Dynamic Gallery in a Popup on React Leaflet

I am developing a Reactjs app with react-leaflet and I am trying to inject the images which I am taking their path from a promise, but the main error that I am taking is the following Uncaught ...
0
votes
0answers
9 views

Expanding Pop Up boxes in ArcGIS Online?

In utilizing ArcGIS Online pop-up boxes, I am having difficulty with the HTML code for expanding the pop-up box. Basically, I would like to reference two fields that create columns and need to line ...
0
votes
0answers
13 views

Web AppBuilder: configure pop up to show fields in related table using “custom attribute display”

I'm looking to configure a pop up that includes both field values from the layer being configured and field values from related tables. Relationship classes have been established between the layer ...
0
votes
0answers
29 views

Markers popups only work once spiderfied

I am seeing what looks like this problem - leaflet popups only work if spiderfied. This is a bug report (closed) from 2012, if this had never been fixed I would have expected more commentary. Is ...
0
votes
1answer
33 views

QGIS - How to display item info on popup with a click

I have many items on different shapefile (parks, railways, buses...). Every shape as a join with an attribute table and each table contains data by line. How can I generate a pop-up by clicking on ...
0
votes
0answers
44 views

Add line programatically in OpenLayers 3?

I successfully added point like this: var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: 'Police Station', population: 4000, rainfall: 500 }); ...
0
votes
1answer
92 views

GetFeatureInfo on mouse hover on feature in OpenLayers 3

I am able to get popup onclick on the feature but want to get popup also on mouse hover on the feature (polygon,point). Can anyone help me out. For onclick I used below code - var feature_onClick; ...
0
votes
1answer
44 views

Add a polygon programmatically in OpenLayers 3?

I added a point like this and it works fine, but for polygon it's not working. var iconFeature = new ol.Feature({ geometry: new ol.geom.Point([8637791.36, 1456487.82]), name: '...
0
votes
1answer
73 views

Openlayers only Popup for Marker but NOT for Polygon [duplicate]

I only want popups for the layer of the markers (icon), but not for the layer of the polygons (WFS). var defaultStyle_polygon_1 = new ol.style.Style({ fill: new ol.style.Fill({ ...
1
vote
2answers
127 views

Leaflet popup disappear or moved over drawn polygon

If I would like to popup something over an actually drawn polygon, then it sometimes disappear or moved to the first point of the polygon. https://jsfiddle.net/o149mgwj/19/ var drawnItems = new L....
1
vote
1answer
88 views

How can I show a popup in a map, using Leaflet?

How can I show a popup in a map, using Leaflet, loading the markers from an GeoJSON external file? function onEachFeature(feature, layer) { if (feature.properties && feature.properties....
0
votes
0answers
17 views

Reference line for Popover in OpenLayers 3

I have generated a popover using OpenLayers which is generated when a marker is clicked. I have made the Popover draggable using JQuery. But what I need to do is I want to have a reference line ...
1
vote
0answers
50 views

Popover displacing from position when zooming OpenLayers 3

I have some markers in position with OpenLayers 3, and now I am trying to get the Popover onto them. The problem is that when zooming in/out, Popovers don't remain with the marker. I want to make it ...
2
votes
0answers
224 views

Listen to a click event inside bindpopup with Leaflet

I'm using Leaflet, I have bound popups to layers, and created a popupopen event listener on the map as follow: map.on('popupopen', this._managePopUp.bind(this)); _managePopUp(layer) { ...
1
vote
1answer
45 views

Making pop-ups offset from default location in ArcGIS Online to avoid covering of area under consideration?

I am working on a property parcel and have to show the pop-ups in ArcGIS Online. But when I click on the property the pop-ups partially cover the property. The goal is the take screenshot of property ...
0
votes
1answer
198 views

Dynamically assign feature properties on L.marker popup interactions

I have a Leaflet based map on which a user can click to create a marker. Then, if one clicks on the marker a popup is opening, where one can change text in a textarea, activate the camera of the ...
1
vote
1answer
114 views

Leaflet search and popup at other position

In leaflet I want the popup on another position then the standard. So I created a div in which the popup-information is opens. countryLayer = L.geoJson(countryLayer, { onEachFeature: ...
0
votes
0answers
230 views

Close popup and infowindow when clicking closeButton on popup using carto.js v4

EDITED: I made a jsfiddle at jsfiddle.net/ccoffin/4rwo3kLu/1 Currently, when the user clicks a marker both the popup and infowindow open. When clicking the closeButton on the popup both windows close. ...
0
votes
1answer
49 views

How would I, when clicking on a marker, present data from the database outside the carto map area?

When a user clicks on a marker how would I present data from the db in a large box in a static location? I would want to keep the popup to present a few fields from the database and have this larger ...
1
vote
1answer
63 views

Combining popup info from overlapping polygons in Mapbox Studio?

I'm trying to display popup information from overlapping polygons similar to this question, but instead of a click, I'm using the mouse over to identify my popup. In areas that have overlapping ...
0
votes
0answers
419 views

Dynamically created content in Leaflet popup using jQuery

I am trying to make a dynamically created dropdown list to submit user content from a Leaflet popup (each popup contains a different list based on condition). However, I somehow don't manage to clear ...
1
vote
0answers
78 views

Feature is undefined when click on map

I try to get feature from map that I add route and marker already but when I click at it. I get nothing from it. Do I miss something? I used typescript(angular 4) this is map declare: ngOnInit() { ...
0
votes
2answers
132 views

How do I override default popup anchor in Leaflet GeoJSON polygon?

By default popups open wherever you click within the boundaries of polygons in Leaflet geojson layers. Here's an example: JsFiddle I would like to anchor the popup either: so it opens in a specific ...
0
votes
1answer
178 views

Get single popup onclick different WMS layers using OpenLayers 3

I am trying to develop a web mapping application. I have more than two WMS layers and trying to GetFeatureInfo onclick the layer. I tried the answer posted on this link. But whenever I click on one ...
0
votes
0answers
210 views

Leaflet - Popup description anchor on top of Marker

I am using Leaflet.js and ingest a Geojson file in order to create Popups and associate them with (geojson) Features. For the icons i use this library (~>Leaflet.ExtraMarkers). Below you can see the ...
0
votes
1answer
39 views

CARTO popup links redirect back to embed map?

When I click a link in the pop-up window the link opens a new tab to the same CARTO map instead of redirecting to the url specified. Here is my code: <div class="CDB-infowindow CDB-infowindow--...
0
votes
2answers
350 views

Linking images to features in geojson layer popup using Leaflet?

I have a map of cycle fatalities, in which skull icons are clicked to produce custom popups: I would like to include an image along with the rest of the information on the popup, so there's a picture ...
1
vote
2answers
590 views

Why does the className option of a Leaflet popup change only the outside of the popup?

I'm styling a popup using the className option in leaflet. Here's the entire code: <!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, ...
0
votes
0answers
30 views

How to issue http-request as soon a feature is clicked in ArcGIS map-viewer

I'm investigating ArcGIS 10.5 web client (map viewer, not sure what to call it). I've seen information how to populate a popup menu with data merged with template, or how to add custom actions to the ...
1
vote
2answers
61 views

QGIS2web pop-up multiple font-types

I've got a pop-up for a layer with more than one attribute for the layer in question. I would like to make the first attribute in the popup appear with a bold font and a different color. Anyone have ...
0
votes
1answer
174 views

How to display related records in popup using ArcGIS Javascript API?

I am attempting to display related fields in a popup window. I've created a GraphicsLayer, consisting of features from the results of a QueryTask. Upon adding the features to the GraphicsLayer, I am ...
0
votes
1answer
32 views

Leaflet draw - adding actions to prefilled markers

There are a bunch of markers which need to be loaded by default. The user can edit these markers and their corresponding properties in the popup window. The user can also add new markers and fill in ...
1
vote
1answer
148 views

Create a BalloonPopup with two buttons

I'm trying to create a BalloonPopup that has 2 different buttons or interactive elements, but I don't seem to manage a way to do this. The guide I'm following is here https://carto.com/developers/...
1
vote
0answers
36 views

How to get an image in my Raster field to show up in the pop up?

I am making a map of a neighborhood using GIS and ArcGIS Pro for the first time. I have a field in my lot feature for a raster to attach a picture of each lot to. I can see the picture under my ...
0
votes
0answers
194 views

Popups offset from points Mapbox GL JS

I've been playing a lot with mapbox for mapping some data of mine. I have created a map that is heavily borrowed from the original mapbox sweetgreen tutorial here. However, now that I am almost ...
0
votes
1answer
330 views

django leaflet custom popups

I use some django project with PostGIS for database and leaflet map. I have add simple leaflet popups like this : and here the snippet code to call popups : onEachFeature:function (feature,layer) { ...
0
votes
1answer
327 views

External GeoJson file integration and showing a popup

I have found a Github repository which contain sample data set to include a external geojson file and showing a popup when click on an feature. BUt I dont know what I am doing wrong. I have found ...
1
vote
0answers
27 views

adding photo to the pop up field in qgis2web? [duplicate]

I want to add charts on my web map in a way that when i click on the point the chart appears in the pop up field. Do i have to add it as an image in the attribute? Can i do that when the ...
0
votes
1answer
71 views

Avoiding pre-opened popups in Leaflet?

I'm using Leaflet to show some info for points: var m1 = L.marker([20, 90], {icon: picture}).addTo(mymap); m1.bindPopup('<h1 class="center">Caption</h1> <br><b>Info: </b>...
0
votes
0answers
105 views

popup window to display attribute data from a layer

I am trying to display a popup window in my webmap. Following is the code that I have tried. But when I reload the page with the relevant code and clicked on a feature, popup window does not appear. ...
1
vote
0answers
219 views

Configuring custom pop-up window in ArcGIS Online using field hyperlinks?

I'm working on configuring a custom pop-up window in ArcGIS Online and have been using the "Create Link" feature to add hyperlinks to the pop-up window. I've been adding hyperlinks based on the name ...
1
vote
1answer
568 views

Leaflet tooltip classname not applying

I am trying to overwrite the styling of the leaflet tooltips on a map but it does not seem to use my CSS style. I am using angular and electron but as far as I know neither should cause any changes to ...
1
vote
0answers
152 views

Using Google Maps images in Arcgis Online pop-up windows

I typically configure pop-ups in ArcGIS to show the image in the pop-up, by using dedicated URLs to the image which typically ends with .jpg or .png etc. But, I am having trouble getting ArcGIS to ...
0
votes
0answers
55 views

Mouseover instead of click - Leaflet, GeoJSON, line string [duplicate]

Description I've created a map with routes displayed through circle clusters. When the user clicks on a circle, the map zooms and the actual route with shelter markers appear. Currently, route ...