Questions tagged [popup]

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

Filter by
Sorted by
Tagged with
51 votes
5 answers
166k views

Showing popup on mouse-over, not on click using Leaflet?

Is it possible in Leaflet that popup opens on mouse-over, not on click? This is working for just one marker at a time, but I need it for a bigger number of markers: marker.on('mouseover', function(e)...
againstflow's user avatar
  • 5,036
11 votes
7 answers
22k views

Getting image pop ups in QGIS

I have a map of an area and georeferenced photos. I need to be able to bring the pictures as points and then be able to click at a certain point and an image pop up. I have revisited this issue, i ...
totros airways's user avatar
18 votes
3 answers
51k views

Displaying properties of GeoJSON in popup on Leaflet?

This is my simple GeoJSON with Leaflet map. I want to display properties as popup but I don't know why it is empty. Can you tell me my mistake? <html> <head> <title>A Leaflet map!...
Alex's user avatar
  • 181
0 votes
2 answers
661 views

url completion in cartoDB info windows

By far the most of my data is taken up a column of long strings pointing to the source of the data for each point. I need to keep that. However, it would be neat if CartoDB could use this information (...
László's user avatar
  • 379
7 votes
4 answers
22k views

Customizing Popups in Openlayers

Is it possible to customize the shape of popups in OpenLayers? For example, I am creating a pop-up using the following approach: var popup = new OpenLayers.Popup.FramedCloud( "popup", ...
djq's user avatar
  • 16.3k
6 votes
3 answers
5k views

How to collect data via WFS and Popup

I have a map with a WFS-Layer and I am able to add Polygons to my data stored in a PostGIS-database, served with GeoServer (OpenLayers, GeoServer 2.1.4, PostGIS 2.0 for PostgreSQL 9.1).) How can I ...
Cat's user avatar
  • 329
4 votes
2 answers
4k views

OpenLayers 3 - Feature Popup without Jquery/Bootstrap

How do you create tooltips (context) on OpenLayers 3 map, using standard Javascript and flat CSS. (No extra libraries)
Alexis_A's user avatar
  • 744
4 votes
2 answers
4k views

Hiding infoWindow of ArcGIS API for JavaScript while using measure tool?

In my Javascript API Web application I'm using the infoWindow to query a parcel layer and display display information in a popup when I click the parcel. I've set this functionality to turn on and off ...
AlexGilvarry's user avatar
2 votes
1 answer
6k views

Geoserver popups in Leaflet

I've got a simple Leaflet map with a basemap and one map-layer coming from my own hosted GeoServer. I made the layers show up nicely in a map. Now I want to add popups on the point layer showing ...
hoge6b01's user avatar
  • 1,118
2 votes
2 answers
2k views

how can I specify a popup to show only for a specific layer in openLayers 3?

I am using the function to define popup contents in a map, and right now, it createa a popup for every feature I click on the map, no matter what layer it is in. I would like this popup to appear only ...
kflaw's user avatar
  • 1,416
2 votes
1 answer
8k 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], ...
ncux199rus's user avatar
1 vote
2 answers
1k views

Setting field shown for attribute pop up with multiple layers in QGIS Cloud

I have a web map in QGIS cloud with several layers that intersect. When I click on an area, I get the gray attribute pop up window showing me the layers that have features overlapping there, like ...
user25644's user avatar
  • 1,059
1 vote
2 answers
3k views

Add popup with GeoJSON data

I want to display popup with the data item, such as: name, coordinates, stationID, Attribute. But my code has some problem that can't run. <html lang="en-US" xmlns="http://www.w3.org/1999/xhtml"&...
wei shiuan's user avatar
17 votes
6 answers
50k views

How to update a popup content from its marker?

I created a popup with Leaflet doing so: marker.bindPopup(content).openPopup(); How can I update the content value afterwards? I suppose to do it from the marker, something like this: marker....
Yako's user avatar
  • 283
11 votes
1 answer
22k views

Displaying link in popup with Leaflet?

I'm working with the Leaflet JavaScript library. There should be an option to click on my map and view a popup. I already have a code for that: var popup = L.popup(); function onMapClick(e) { popup ...
Jandroide's user avatar
  • 483
8 votes
3 answers
3k views

Moveable ArcGIS Identify Popup Window (Dojo)

I'm trying to get a popup window that identifies a location to be moveable. My code is similar to the API example: var popupOptions = { fillSymbol: new esri.symbol.SimpleFillSymbol(esri.symbol....
Damon Bauer's user avatar
8 votes
2 answers
7k views

How to add link in ArcGIS Online web map popup to google or bing driving directions?

I have an ArcGIS webmap with school boundaries. I would like to provide a link in the pop up that takes a public user to a free routing website like Bing or Google with the directions to their ...
Lauren's user avatar
  • 173
6 votes
3 answers
5k views

Turn Popups On/Off in ArcGIS Online Webmap via Javascript API Web Application

I am writing my first ArcGIS Javascript API web map application and consuming a web map authored in ArcGIS Online. The ArcGIS Online web map apparently does most of the work for me in terms of ...
Brian's user avatar
  • 4,209
6 votes
1 answer
14k views

Submit a form from within a leaflet popup?

I want to submit a form from within a leaflet popup simply using javascript and geojson. I am essentially collecting attribute information in the form and then I want to process the information into ...
Stella's user avatar
  • 1,298
6 votes
2 answers
12k views

Open popups in a fixed position with Leaflet

I have create my map with Leaflet exactly how I want it (with my markers and externals links). I would like to have the popup always fixes in the top right hand corner (for an example). Is there ...
monky's user avatar
  • 179
5 votes
2 answers
3k views

binding nested arrays as geojson popups in leaflet

I am struggling with geojson popups in leaflet.js I have nested arrays as properties for my features - an example would be counts of fish caught at a location (not my actual project data!) {"type":"...
abenrob's user avatar
  • 175
5 votes
2 answers
19k views

Leaflet Marker Mouseover Popup

I've tried to make a MouseOver Markers Popup since a couple of days, I'm using Leaflet. I know some solutions I've read in many forums, but I wanna make it work with GeoJSON-Points and I haven't found ...
Supertramp's user avatar
4 votes
2 answers
9k 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, ...
Eddie Arni's user avatar
4 votes
1 answer
7k 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; ...
Vishal's user avatar
  • 95
4 votes
1 answer
3k views

How to integrate OpenLayers and ArcGIS Server?

I am using the OpenLayers JavaScript API within a web application. I am displaying non-base layers hosted on an ArcGIS server. When I load the ArcGIS layers, I load them using OpenLayers.Layer....
Sara's user avatar
  • 41
4 votes
1 answer
3k views

Automating Pop up configuration of web app in ArcGIS for Portal?

I have been tasked to customize several hundred layers (pop up windows) in Portal for ArcGIS (web app). I was wondering if there is a faster way to accomplish this, instead of using the on client pop ...
Robert C's user avatar
  • 123
3 votes
2 answers
661 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 ...
Dan_h_b's user avatar
  • 2,108
3 votes
1 answer
3k views

Combining popup info from overlapping polygons in Mapbox GL JS

I've tried several solutions, but I'm having trouble populating a popup with information from overlapping polygons. When there are polygons that overlap, I want to drill down and pull the names from ...
Michael Frans's user avatar
3 votes
4 answers
7k 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 ...
James's user avatar
  • 121
3 votes
2 answers
306 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 ...
James Keating's user avatar
3 votes
1 answer
5k views

How to add top and bottom margins to leaflet popup with scroll

I've been customizing Leaflet in order to let popup display more content by adding scrolling to them. Everything works fine except my content touches top and bottom of the popup window. How can I add ...
Laurent's user avatar
  • 175
3 votes
1 answer
2k views

How to show marker information into a tab

I have a lot of information that I want to show on a Leaflet Popup. For these type of markers (I have four different layers and each marker show different information) I have three elements: General ...
Micmic's user avatar
  • 103
2 votes
1 answer
2k views

ArcGIS Online related table not displaying correctly in popup

I have an ArcGIS Online Map composed of three spatial feature classes and a table. All three feature layers are related to the table and all the layers and table are housed within the same SDE. I ...
cbunn's user avatar
  • 1,417
2 votes
1 answer
2k views

How to get images displayed on ArcGIS Online Popups

I have added images to show up in an html popup on ArcMap, but when I bring it in to ArcGIS Online, they don't appear. Is there a way to get the images to show up there? Currently on ArcGIS Online the ...
Alisha B's user avatar
2 votes
1 answer
2k views

Change "more Info" in ArcGIS Online popup

I would like to change the text for the "more Info" popup which appears in my ArcGIS Online map next to my URL field. I would like it to say "Show image" or something more relevant than "more info". ...
Robert Buckley's user avatar
2 votes
1 answer
1k views

How to make a displayed geoJson property a link to another property in a Leaflet popup

I have markers on my map created by geoJson data that represent restaurants, bars, etc.... Each marker has 2 properties; 1)Name - name of the site, bar restaurant, etc... 2)Link-a link to the ...
gwydion93's user avatar
  • 1,903
2 votes
1 answer
3k views

Adding comments using leaflet draw

I am working on an application that will leverage the leaflet draw plugin so that a user can open my map and drop comments in the form of markers. Then the user can click submit and it will serve me ...
ClubKemp's user avatar
2 votes
0 answers
565 views

Popup with related tables

I'm finding difficulties displaying values of a related table in a popup window. Esri said that at version 3.10 and above, popup templates can include fields from related tables using the syntax (...
ceha's user avatar
  • 31
2 votes
3 answers
3k views

how to change color of feature to mark it as recently modified with openlayers

I am developing a crowd sourced app using openlayers. after user clicks an feature, a popup form is displayed. After clicking the save button, the data is used in processing which takes some time so ...
neogeomat's user avatar
  • 8,330
2 votes
1 answer
3k views

Popup from multiple services

I am trying to have one infowindow/popup show from multiple services. I have successfully added the second service to my code, however, only 1 result will display. Ex. if I am at full scale, only ...
Craig's user avatar
  • 4,570
2 votes
0 answers
1k 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 ...
user25839's user avatar
  • 173
1 vote
1 answer
650 views

How to avoid popup open after drag

I implemented a draggable CircleMarker with popup, however when the circle is moved the popup opens right away. How can I avoid that? Is there a way to cancel the popupopen event? [Edit]: Ideally the ...
Stefano's user avatar
  • 121
1 vote
2 answers
6k views

Show pop-up where user clicked in OpenLayers

How to change this example ( http://openlayers.org/dev/examples/select-feature-openpopup.html ) so that when the user clicks on a line (feature) pop-up display where the user clicked? A few days ...
dedoki's user avatar
  • 223
1 vote
1 answer
1k views

Configuring URL link for popup window directly in qgis2web plugin?

I am using the qgis2web plugin (the leaflet mode) and everything works fine. I created few objects in qgis as a points in shapefile layer on the map. What i need now is to add some url link to each ...
Tom's user avatar
  • 13
1 vote
1 answer
124 views

ArcGIS API - Creating Popups for Geoprocessing Result

With the ArcGIS API for Javascript I created a web application that accesses my before published geoprocessing service. The result of the service are a set of points and are displayed on the map. Here ...
the_chimp's user avatar
  • 883
1 vote
1 answer
556 views

How to enable pop-up window for more than 1000 features in ArcGIS Online

Is there any way to enable pop-up window in ArcGIS Online for more than 1000 features for layers' information? When I try to add a shape file in arcgis.com to the map I get the message saying: ...
KDot1254's user avatar
  • 646
1 vote
1 answer
5k views

Click to Hover for WMSGetFeatureInfo

I am using the following code and wanted to know how I can change it from click event to hover or mousemove event. I know there is a eventListner but I am unable to locate the click event where I must ...
Sam007's user avatar
  • 4,395
1 vote
1 answer
2k views

JS API Toggle Pop-Up On & Off

I am attempting to allow for the pop-up to be toggled on and off by pressing a checkbox. Here are some snippets of the code: var clickHandler function popupOn(evt){ var query = new esri.tasks.Query()...
jwx's user avatar
  • 713
1 vote
2 answers
1k views

No popup on map if no feature is selected

I've got a webmap showing data coming from a Geoserver instance. With better.WMS.js I made it possible to display popups. Everything works nice except that the map shows popups too where there is no ...
hoge6b01's user avatar
  • 1,118
1 vote
1 answer
189 views

Adding hyperlink in a popup which comes from a polygon?

I need to add a hyperlink in a popup which comes from a polygon. The following piece of script shows the text which needs to be a link. var polygon = L.polygon([ [51.569, -4.144], [51.568, -4.145], [...
Iliyan Iliev's user avatar