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
19 votes
4 answers
54k views

Changing popup position on Leaflet marker?

I want open a popup on bottom of my marker icon in Leaflet. my code: var mymap = L.map('mapid').setView([51.505, -0.09], 13); L.tileLayer('https://api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?...
Gerd's user avatar
  • 721
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
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
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
10 votes
1 answer
17k views

How to insert new line text in popup

I'm using Leaflet Marker Cluster and I need to show five different lines in a popup. But when I write this, they are all in the same line. Can someone help me to be one under another? var a = ...
againstflow's user avatar
  • 5,036
9 votes
2 answers
19k views

Custom marker and properties from geoJSON in Leaflet

I am having some issues with two things in a Leaflet map 1) custom marker 2) pulling attributes from a geoJSON file and putting it in the pop-up. I should qualify things, I am really new to Leaflet ...
Ryan Garnett's user avatar
  • 9,459
8 votes
1 answer
7k views

Error when trying to bind popup on geojson, failed to execute 'appendChild'

I'm trying to load more than 13 thousand points in leaflet from a geoJson file, everything seems to work just fine except the Popup function. I've looked everywhere for a solution and most answers out ...
Ricardo Oliveira's user avatar
8 votes
2 answers
35k views

OpenLayers 3 creating popups on a click

I have an OSM map on which I display a GeoJSON file (point). I'd like to create a popup on click for each point to show attributes. I can't find a sort of very basic step by step tutorial to do ...
Leehan's user avatar
  • 1,216
8 votes
1 answer
4k views

Handling Popups in Leaflet with Overlapping Features?

I am new to Leaflet as well as Javascript. Currently, I am trying to create a spatial index of library holdings for old topographic maps that people can access and download online. The source of the ...
brianbancroft's user avatar
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
1 answer
250 views

Access report/atlas page from feature in layer (QGIS)

In QGIS 3.22. I've created an atlas layout from a polygon shapefile layer. What I'd like to do is be able to access the atlas page for a given feature without having to open the layout manager. Some ...
pete's user avatar
  • 1,081
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
8 votes
3 answers
11k views

How to make both hover and click popup work?

I am pretty new to all of this. I want to have a hover/mouseover AND click popup work on my geojson layer. Here is the code so far, but I don't know where to include the hover without messing up the ...
Wolfram's user avatar
  • 123
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
7 votes
2 answers
609 views

Styling popup with two separate styles at once in Leaflet

I have the point layer as you can see below: where the semicircles are fine but points not necessarily. I would like to customize these points as well. The problem is, that I can't find a good option ...
Geographos's user avatar
  • 4,077
7 votes
2 answers
1k views

Adding new actions to identify feature context menu

How can I add new actions to identify feature context menu? I mean when selecting a feature with identify tool and right click on the selected feature, here I want to add new actions to the popup menu....
abd0991's user avatar
  • 452
7 votes
1 answer
613 views

How To Do OpenLayers.Mobile Popup

It seems that the OpenLayers.mobile.js library (v 2.12) doesn't have a popup class. Does anyone know how to do a popup with the mobile version? I'm using some code that i ported over form normal OL ...
maztaz's user avatar
  • 303
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
6 votes
3 answers
8k views

How to Hide InfoWindow/Popup when "no information available" or when buffering?

I have an app that does some buffering, only problem is when I click on the map to put in the point/line/polygon vertices to do the buffer, I get popups at every mouseclick. It doesn't interrupt the ...
Craig's user avatar
  • 4,570
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
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
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
6 votes
1 answer
13k views

How to open popup on mouseover in Leaflet? [duplicate]

Possible Duplicate: How to show a popup on mouse-over, not on click? I'm working with Leaflet library. I defined L.layerGroup and add some markers to the group. Can somebody help me with ...
againstflow's user avatar
  • 5,036
6 votes
1 answer
14k views

Style change for popup in leaflet

I do a map using Leaflet, and I'd like to change the background color of a popup. I included the following rule to change the color of the popup and popup tip in <style>. Nevertheless, the box ...
Gamze's user avatar
  • 599
6 votes
1 answer
2k views

Opening links in same window with ArcGIS Online Popup?

I've noticed when embedding an ArcGIS Online webmap which has a popup with links on it, that there seems to be no way to have the popup link open in the current window. It will always open in a new ...
Chris Maps's user avatar
6 votes
1 answer
1k views

Enabling hover popup window for feature IDs in Mapview package for R

I've been working with interactive mapping within R for a while now and most of my experience lies in Leaflet (mostly the R package, but also a bit in Javascript). I just recently delved into mapview ...
Lauren's user avatar
  • 1,882
6 votes
1 answer
697 views

What are the differences between Anchored, Framed and FramedCloud?

From the API document for OpenLayers, I can tell that a FramedCloud has more functionalities than Framed, which in turn has more functionalities than Anchored. I am hoping for someone to describe ...
Question Overflow's user avatar
6 votes
1 answer
650 views

Why does ArcGIS Desktop 10 HTML popups give JavaScript/HTML Error? [closed]

Using ArcMap 10 Desktop HTML Popups. The issue I am having is that the html < select > elements aren't working - you can select it and use the arrow keys to navigate through(up/down) the list but ...
Simon's user avatar
  • 99
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
5 votes
2 answers
889 views

Configuring ArcGIS Pro Pop-up with same Image for every feature?

As a step to a better understanding of my options for configuring ArcGIS Pro Pop-ups with an Image, I have gotten as far as right-clicking on a layer, choosing Configure Pop-ups to open the Configure ...
PolyGeo's user avatar
  • 65.1k
5 votes
1 answer
8k views

How to get a pop up in QGIS when clicking on points on a map

I have QGIS V 2.12.0 and am an absolute novice, doing some volunteer work for a charity. I have created a map with added Delimited Text Layer. This references Buildings by Latitude and Longitude ...
Robin Brittain's user avatar
5 votes
1 answer
16k views

Leaflet popup - Insert image

I want to insert an image in a popup when I click on a layer. I'm successfully using Leaflet-pip but when I want to display an image I've always have undefined. My url is stored in a postgres database....
GeoGyro's user avatar
  • 1,616
5 votes
1 answer
155 views

QGIS, Text size issues

I have dealt with this text size issue for awhile and through multiple version, but I cant deal with it anymore, so I thought I would come on here and see if anyone had a fix. In my QGIS the text in ...
DHWreckage's user avatar
5 votes
2 answers
1k views

Enable Popups for each layer in webmap using ArcGIS API for Python

I am looking to use the ArcGIS API for Python to enable popups for each layer in a webmap. I found Configure Popup Attributes Programmatically with ArcGIS API for Python on GeoNet which addresses how ...
CLJ's user avatar
  • 823
5 votes
1 answer
8k views

Leaflet marker cluster and popups

I want to develop a map with Leaflet marker cluster. You can see how it looks like here: https://github.com/danzel/Leaflet.markercluster But I need that my markers have popups with more information ...
againstflow's user avatar
  • 5,036
5 votes
1 answer
7k views

Problems with features, popups and strategy with OpenLayers

I'm trying to create a website for vehicles localization on map, but i have some problem with openlayers. This is my first time with OL... What I would do is: - add and update features (my vehicles) ...
crc_error's user avatar
  • 191
5 votes
1 answer
7k views

Submit form information from a leaflet popup to MySQL table

I have a leaflet map and I want to have the user fill out a form in a leaflet popup and upon clicking the 'submit' button - the information in the form will be inserted into my MySQL database. As a ...
Djb's user avatar
  • 173
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
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
2 answers
11k views

How do I show feature attributes in a Leaflet popup?

So I have a JSON file displayed on my leaflet webmap. I would like to have it so a popup will appear when a feature is clicked. Right now it is a polygon feature. How do I call up information from the ...
Map Man's user avatar
  • 1,333
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
4 votes
1 answer
190 views

Variable nested inside another variable not displayed properly in popup in Leaflet

I would like to set my popup content. Some of the information will be condition-based. I tried the following options: onEachFeature: function (pointFeature, layer) { var stream = function(liveStr){...
Geographos's user avatar
  • 4,077
4 votes
2 answers
995 views

How do I stop the identify results popup window in QGIS 3

I use the identify tool in QGIS3 a lot. When I click a feature it show the results in a identify panel and it gives a popup window that shows the results. I want to get rid of the popup window as it ...
PythonStudent's user avatar
4 votes
1 answer
14k views

Multiple popup styles for Leaflet

I have created a popup that opens when the map is loaded. This is being used as a splash screen. I have updated the CSS with the following so it looks the part: .custom-popup, .leaflet-popup-content-...
MacroZED's user avatar
  • 2,291
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
4 votes
2 answers
2k views

How to show related tables in ArcGIS Viewer for Flex v3?

Is there any way to show related tables's result in ArcGIS viewer for Flex? Like identifying in desktop?
Sercan ERHAN's user avatar
4 votes
1 answer
153 views

Сhanging pop-up font size in qgis2web

I have a lot of info in QGIS2WEB pop-ups and would like to make the font size smaller to make the text easier to read. I have checked all exported files, and the only instance referencing the pop-ups ...
OnceUponATime's user avatar

1
2 3 4 5
11