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.

0
votes
0answers
11 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
20 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
24 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
34 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
20 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
24 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
61 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....
0
votes
1answer
56 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
16 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
29 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
64 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
38 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
89 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
53 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
122 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
31 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
56 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
282 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
60 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
91 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
131 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
146 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
37 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
212 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 ...
0
votes
2answers
313 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
29 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
48 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
127 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
26 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
144 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
32 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
150 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
240 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
261 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
24 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
50 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
80 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
187 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
426 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
134 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
48 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 ...
1
vote
1answer
636 views

Related Tables in ArcGIS Online

I've created a relationship class in Desktop and published to ArcGIS Online as a service. The relationship still exists between my table and feature service but when I try to add one of the fields ...
3
votes
0answers
72 views

How to get image pop ups in QGIS 2.18? [duplicate]

I used to get image pop ups in QGIS using the HTML code: < img src="[% image %]" width=300 height=300 > But somehow, I do not manage to use it anymore on QGIS 2.18. Does anybody have a clue?
0
votes
0answers
103 views

Show Popup on layer Click (Leaflet)

I have multiple layers (overlay), and I want to show a popup when clicking on the layer, I'm using Leaflet. This is my code : var alhouda6_layer = L.tileLayer.wms("http://localhost:8082/geoserver/...
0
votes
2answers
372 views

Autopan in Leaflet, Without a Popup

One thing that I really like about leaflet popups is that they have the autoPan option, which means that if I select a feature programatically in my JavaScript, the map will scroll to fit it, without ...
1
vote
1answer
147 views

Blank Popup when clicking on the map Leaflet-WMS

I created an interactive map using Leaflet, when I click on my layers I can get data in popup, my problem is that when I click on the map where there are no features it shows a blank popup. I want to ...
0
votes
1answer
247 views

Empty popup Leaflet WMS layer

I have make an interactive map with Leaflet and when I click in any point at the basemap it displays an empty pop-up. Here is The code map.addEventListener('click', onMapClick); function ...
0
votes
1answer
255 views

How to return count of popups opened up by clicking on a mapbox gl map feature?

I’ve a point dataset with overlapping points. For each feature a popup is created automatically. When I click on a point with other overlapping point on it all popups are opened up and it’s messed up. ...
2
votes
2answers
173 views

Save Popup Configurations in ArcGIS Online

Is there a way to save configured pop-ups within ArcGIS Online and then use the saved configuration in other ArcGIS Online web maps?
0
votes
1answer
57 views

Add Photo Image to ArcGIS Online, need to format the url

I would like to delete the last 10 letters of a URL to use in ArcGIS online to show photos in the popup. Any suggestions? I have seen people put JavaScript in the image configuration settings to get ...