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
38 views

Changing anchor point for popup without marker using Leaflet?

Is it possible to change the position of the anchor point for the popup without using markers? I was testing with this example. This code shows a popup, but I want to adjust the position of the ...
2
votes
1answer
21 views

How hide leaflet tooltip on mobile device

I would only display a tooltip on a device without a touchscreen. A popup and a tooltip will be displayed on your mobile by clicking on the point. I would like to see only popup var ubytovaci = L....
1
vote
1answer
46 views

Creating popup forms with Leaflet (L.Draw). How to implement listeners for radio buttons and other input groups?

I am attempting to create a map-based survey using Leaflet popups and specifically L.Draw, because I want users to be able to insert markers where ever they want to and then answer certain questions. ...
0
votes
1answer
42 views

Custom pop-up for multiple results in ArcGIS Online application

I have a point layer that contains business locations where the businesses offer services from different providers. i.e. competing businesses. A customer is requesting a modified pop-up to display, ...
2
votes
1answer
81 views

Dynamically display popup based on location

I would like to dynamically display a popup in leaflet. As you walk towards a point and get within a radius of 10 meters of a point, the popup automatically displays. How to do this?
1
vote
1answer
26 views

Leaflet bind popup + filter

I have problems with the code, I do not know where to place the part with the popup. This does not work if I want to use the data attribute in the popup window: var okruh1= L.geoJSON(trate, { ...
0
votes
0answers
22 views

Adding Pop-Ups to vector tiles layers (ArcGIS Online)

I've been trying to get Pop-Ups to work on a published vector tile layer, but can't seem to get them to work. I followed this help document - https://pro.arcgis.com/en/pro-app/help/data/services/use-...
0
votes
2answers
54 views

Find closest point using L.GeometryUtil.closest and open its popup

How do I use: L.GeometryUtil.closest(myMap, coords, b) to find the closest point in a geojson point layer in leaflet. I have tried several things. And the error I receive is: Uncaught TypeError: ...
0
votes
1answer
74 views

Openlayers 4 custom pop-up for a GeoJSON layer

I need to get popups showing for just a single feature layer (forest -- stored as a GeoJSON) as opposed to all in Openlayers. I currently have the below. var map = new ol.Map({ target: "map", ...
1
vote
1answer
46 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
12 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
40 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
37 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
57 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
50 views

Adding popup to Leaflet but only on click?

As 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
43 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
75 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 ...
1
vote
1answer
94 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
1answer
210 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
102 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
152 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({ ...
2
votes
2answers
252 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
197 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....
1
vote
0answers
76 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
435 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
48 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
360 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
223 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
338 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. ...
-1
votes
1answer
71 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
78 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
473 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
100 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() { ...
1
vote
2answers
179 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
251 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
261 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
41 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
528 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
930 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
31 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
69 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
239 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
49 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
152 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
39 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
242 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
390 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
378 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
30 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
127 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>...