Stack Exchange Network

Stack Exchange network consists of 175 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
1answer
26 views

Open the popups of all markers that are visible on the map with a zoom > 10

I need to open all the markers that are visible on the map at Zoom > 10. I am using leaflet.markercluster plugin. Init map: initMap() { this.map = L.map('map', { center: [55.55, 37.61], ...
0
votes
1answer
27 views

Using JavaScript created select options as Leaflet map setContent

Working on a creating a custom CRS Leaflet map. On map rightclick, show a popup with select boxes for users interaction. var submit_Loc_popup = L.popup(); map.on('contextmenu', onPopupBoxSubmit); ...
0
votes
0answers
14 views

Browse features in cluster won't work in ArcGIS Web App

After creating and configuring a web app i realized that the "browse features function" included in the cluster pop-up does not work properly when clicking a point layer's cluster icon. After showing ...
0
votes
0answers
13 views

Popup feature in ArcGIS exported pdf map [duplicate]

I am new to GIS, I want to add a popup feature on the map. When we export our map in pdf format then clicking on any point it should display its attribute. Is it possible to do that?
0
votes
0answers
24 views

Getting an error while enabling popup

I am new to this stuff. Basically I am trying to show the data from my local database in the popup for some specific rivers, but I am having a hard time while enabling popup. I tried to find the ...
1
vote
0answers
32 views

Popup data does not change from one icon to another without closing the popup first

I am working on an application that will display markers on an OpenStreetMap. I can get the markers to display correctly on the map via my function, and I have assigned each marker details specific ...
1
vote
1answer
63 views

Leaflet: Different custom information popups for each GeoJSON polygon

I'm really new to this and I'm trying to create popups for 2 polygons which will each contain a paragraph of written information. The function I have so far differentiates between the 2 polygons by ...
1
vote
1answer
95 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
57 views

Hiding 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
139 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
57 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
112 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
34 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
42 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
115 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
131 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
67 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
14 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 ...
3
votes
1answer
58 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
38 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
70 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
129 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
113 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
98 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
196 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
299 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
278 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
198 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
347 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
334 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
98 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
647 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
58 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
494 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
273 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
473 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
96 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
96 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
522 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
120 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
221 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
303 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
294 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
45 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
724 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
1k 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
78 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
305 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
71 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 ...