1
vote
1answer
24 views

openlayers 2 can't close popup

I have a map with points from GeoJSON file. I created a default style and a select style for these points. I created a popup with attributes from GeoJSON when clicking on a point. All works fine, ...
2
votes
1answer
64 views

openlayers leaflet and popup

I am working on a map mixing openlayers and leaflet librairies (it is possible, correct ?). I am such a beginner that, after lots of readings, I thought creating popups was less difficult for me ...
3
votes
1answer
81 views

Openlayers popup not closing

This is a special case, I have many popups attached to objects and they work fine and I am having a problem in only one case. All layers and popups are handled by select control's onFeatureSelect, ...
1
vote
0answers
28 views

Openlayers pop-up FeatureSelected doesn't invoke even FeatureClicked works well

My code snippet is: //Vector Layer with listeners: var vectorLayer = new OpenLayers.Layer.Vector("Kuzzular"); vectorLayer.events.on({ 'featureselected': function(evt) { var ...
2
votes
0answers
28 views

OpenLayers Popup relative to a feature's position - prevent overlaps - only one popup in one time

There are many questions related about this topic. However there is no complete example for this widely used pop-up type: Basically i need a popup which will appear the top-right of a Feature (Point) ...
0
votes
1answer
101 views

WMS GetfearureInfo popup not getting

I am new to openlayers, used this link to get feature information of WMS layer of geoserver. If I clicked on any feature its continuously loading not displaying any popup. Can any one please help me ...
0
votes
0answers
40 views

GetFeatureInfo Popup not getting popup [duplicate]

I am new to Openlayers, I am using this http://openlayers.org/dev/examples/getfeatureinfo-popup.html to get feature information of wms layers in a popup.If I use the above link on line I am getting ...
1
vote
0answers
18 views

Openlayers FramedCloud - Add Offset

I'm working with the example here: http://openlayers.org/dev/examples/light-basic.html When you hover over a circle, the popup appears. However, the behaviour is 'flakey' because once you hover over ...
0
votes
0answers
26 views

popup.contentDiv OpenLayers Popup window

Could somebody help with popup.contentDiv()? I don't understand how can I define the HTML div class here. In general I would like to define some customs characteristics via HTML. The source ...
0
votes
1answer
62 views

OpenLayers: Show a styled title similar to pop-up but always visible?

I need to basically create boxes with titles inside, set to different styles (different coloured box, different FontAwesome icon etc.) set to specific points on the map, ideally replacing the label ...
0
votes
1answer
131 views

How do I create a static popup that displays a local web page?

I am using OpenLayers 2.11 and would like to place a marker on my map which, when clicked on, would open a popup which then loads a local web page. I would like the popup to be located in the lower, ...
1
vote
0answers
49 views

No Popup for bottom layers, only top layer works

I have an OpenLayers Map. On this map, I have three overlay layers. The first 2 layers come from one GeoServer Layer/data source, with two alternate styles. The 3rd layer is a separate GeoServer Layer ...
0
votes
1answer
55 views

only one popup displayed on the openlayers

The issue is that i only one popup on the map is dispalyed. I can see all the points but popup can see only on the last point of the list. Please check my code http://jsfiddle.net/3HSjY/24/ I'm stack ...
1
vote
1answer
117 views

popup when new feature is created

I am trying to create a code where a feature is created, and then automatically a popup window will open. Is there anyone who can assist me please? Here is a part of the code and I want the popup to ...
0
votes
1answer
63 views

Open all popups OpenLayers

I have some WMS layers with attributes and I want to show some info when I click on some of them. Currently I'm using: info = new OpenLayers.Control.WMSGetFeatureInfo({url: ...
1
vote
1answer
99 views

How to activate and deactivate popup feature in OpenLayers?

I am a beginner in OpenLayers and I want to activate and deactivate a popup feature, which has to show lat,long of the click, which is initiating the popup [no markers]. I am currently using ...
0
votes
0answers
226 views

OpenLayers : Multiple layers popup issue

I'm actually having a big issue that I cannot solve so far. Here is my problem. I actually have a map on which I'm displaying markers (WMSGetFeatureInfo) depending on some categories that I want to ...
0
votes
1answer
179 views

Screen coordinates generated locate popup incorrectly

I'm using OpenLayers 2.13 for an application that create several maps. When the user click on a map a popup appears where the user clicked on the map. Sometime the popup is offset either east or west ...
0
votes
1answer
135 views

Openlayers Select Feature: avoiding the on/off aspect of selecting a feature: want to be able to click, then click again

Map here: http://tinyurl.com/potjxlu I can click an orange icon, popup appears, hit the X button to exit out of the popup.That is OK. But if I want to bring that popup again for the same point, I ...
0
votes
0answers
46 views

Override default behavior of double clicking an OpenLayers Popup

I would like to change the position of a popup when I double click it. So if it is in the 'tr' position it would move to the 'br' position, so on and so forth. The current Popup.js code stops the ...
1
vote
1answer
147 views

Openlayers Vector Event Popup with Textbox

The Openlayers map here: http://www.dassh.ac.uk/demonstrations/valmer/demo5.html has an event to add a vector layer, plus creates a textbox on the page below. Ideally I'd like the click event to add ...
0
votes
1answer
244 views

Openlayers FramedCloud popup appears in the wrong location

I have an application that is using OpenLayers 2.13.1. It is utilizing a bing basemap and overlaying WMS layers. I am using a FramedCloud popup. I would like the popup to appear where the user clicked ...
1
vote
1answer
397 views

Problem creating a popup in mobile openlayer

I'm trying to use the mobile version of openlayer, unfortunately I could not use framedcloud in it, I could only create a square popup does not look very aesthetic, besides the main need is to ...
1
vote
0answers
131 views

Prevent OpenLayers ClickEvent from firing on Popup closeButton

My Code to add popups as selectControl to a Layer. Works fine! map.addLayer(window.markerLayer); // SelectControl für Marker --> Popup window.selectControl = new ...
1
vote
0answers
139 views

OpenLayers map breaks at certain zoom level when many popups exist in the map

I'm still learning OpenLayers. I found this weird issue in my OpenLayers map. I create FramedCloud popups and add them to each features. popup = new OpenLayers.Popup.FramedCloud("popup", ...
2
votes
0answers
107 views

Applying rules to FrameCloud popups in OpenLayers

I have style rules for features that enable the map to display the features based on its rule. For example, the map displays a feature from specific scale. I do this in this way newRule = new ...
-1
votes
1answer
308 views

How do I use getinfo to get attribute information i openlayers as I click a feature

I want to create a popup window as this one http://openlayers.org/dev/examples/dynamic-text-layer.html when I click on the feature.. I used the same code but its not working... the pop up is not ...
0
votes
1answer
62 views

Popups on Layer (OpenLayers)

I have the following situation: i display points and point informations in popups. the points are added to a layer. The popups are added to the map, with map.addPopup function. It works great. The ...
1
vote
0answers
172 views

Restrict featureinfo fetched with the WMSGetFeatureInfo request in geoserver

i followed a GeoEXT example to create popup menu that gets WMSFeatureinfo on click on the map, What i want to do is to get some specific fields not all the fields, i try the propertyName (with ...
2
votes
1answer
307 views

Openlayers popup - no scroll bars on ios or android

I have an openlayers app with a FramedCloud popup. The popup has a lot of lines of data, so scrolling is needed to get to the bottom. All works well on my pc with Firefox. However, out in the field ...
1
vote
1answer
258 views

Customized popup in Openlayers

I have done point layer overlay with openlayer. Whenever i click any point, its showing me all the data of the table(postgresql) in popup. How to control amount of data in the popup? All the columns ...
2
votes
3answers
790 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 ...
1
vote
0answers
184 views

Get info from WMS layer with Openlayers mobile

I am trying to build a webapp for iPad using OpenLayers Mobile. One of the features it should have is that you can tap on a tree displayed on a basemap and get info about this tree. These trees are ...
0
votes
1answer
1k views

I create getfeatureinfo with popup but it dosn't work (error 404) [duplicate]

This is my code for my page (index.html) info = new OpenLayers.Control.WMSGetFeatureInfo({ url: 'http://localhost:8080/geoserver/wms', title: 'get feature info', ...
0
votes
1answer
710 views

Selection and Popups on Overlapping/Coincident Vector Layer Polygons in OpenLayers

I have a GeoJSON file of polygons that I am bringing into my OpenLayers session. Some of the polygons occupy the same space on the map. I am using a select control and popup control like:- ...
2
votes
1answer
3k views

how do I position a popup relative to a point in Openlayers?

I have a fixed size FramedCloud Popup that I want to position relative to the point calling it, always above the point and with its right side 50px to the right of the point. I am looking at the API ...
0
votes
2answers
268 views

prevent popup from appearing when clicking outside wms layer

Any help with this would be appreciated. I am projecting a WMS-layer on a map using OpenLayers and Geoserver. The next thing I want to do is to display info on any given feature in my WMS-layer in a ...
0
votes
1answer
260 views

GeoExt2 - Popup Bug?

I'm using GeoExt2 (alpha) + Extjs 4.1 now to implement a map application. The thing is sometimes when I select a feature on the map, two popups are displayed. one at the bottom of the screen which has ...
2
votes
1answer
239 views

How to not overlap cluster popups with FeaturePopups control?

FeaturePopups control resolve the problem of cluster popups, but there is a small design problem in my opinion: the event popup have the same anchor as the cluster popup and they partial or total ...
2
votes
1answer
521 views

Why does destroying a popup cause a “this.events is null” error?

I am trying to create dynamically generated popups in OpenLayers with a mouseover event. According to the documentation, it is recommended that the popups be destroyed after use to avoid memory leaks. ...
1
vote
2answers
667 views

OpenLayers FramedCloud has transparent background

I am creating a FrameCloud popup instance and adding to the map using the following code: var popup = new OpenLayers.Popup.FramedCloud("popup", point, null, ...
1
vote
1answer
230 views

Click to Openlayers shows blank pop up - All Formats for Images Works

I am totally new to GeoServer and all this WebServer stuff, so please understand that all the gray hairs on my head over the last 2 weeks are from trying to get this all set up and working. When I ...
1
vote
0answers
338 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 ...
1
vote
2answers
660 views

How to Add image and hyperlink along with GetFeatureInfo Popup?

I want to cutomize the Geoserver GetFeatureInfo Popup. I want to add image against each parcel I click. For this purpose I've read to change the content.ftl file of geoserver. But I found that file ...
0
votes
1answer
715 views

Showing custom markers, shadows and popups from json data

The examples given in the documentation of Open Layers show very basic ways of utilising the different features. This example shows how to add shadows to the marker. This example shows how to create ...
6
votes
1answer
351 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 ...
4
votes
2answers
2k 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 ...
0
votes
1answer
224 views

PopUps for all the Feature layers

I am trying to create GeoExt action button to fetch the feature info from all the layers. I am still getting the info for my point features but I am getting nothing for the usa:states, that appears in ...
2
votes
1answer
733 views

How to make OpenLayers.Popup draggable?

I've used jquery-ui draggable option as following but the moving popup can not be ended once dragging has started. Is there any another method to make OpenLayers.Popup draggable? popup = new ...
5
votes
4answers
10k 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", ...