0
votes
1answer
37 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
19 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
39 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
52 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
33 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
56 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
106 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
103 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
88 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
31 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
67 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
168 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
217 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
85 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
87 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
82 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
231 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
53 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 ...
0
votes
0answers
39 views

How to set layer name in Popup runtime using openlayers

I am using Openlayer control for the popup on click of features. My code is as follow: var info = new OpenLayers.Control.WMSGetFeatureInfo({ url: ...
1
vote
0answers
136 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
219 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
205 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
592 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
153 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
693 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
521 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:- ...
1
vote
1answer
2k 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
240 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
221 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
187 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
443 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
569 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
194 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
234 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
534 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
608 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 ...
5
votes
1answer
303 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
215 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
596 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
7k 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", ...
2
votes
1answer
472 views

Connect JSON to GeoExt Application

I am returning a JSON to a GeoExt app and this is the code that is collecting the return, var control = new OpenLayers.Control.Click({ trigger: function(evt) { ...
1
vote
1answer
112 views

How to “page” through a set of features and display an infoWindow for each feature?

In the ArcGIS Server JS API the Popup object may be defined against an array of features. In that case the Popup contains Next/Previous buttons to allow the user to "page" through each feature in ...
1
vote
2answers
411 views

Popup is stationary does not move with the location

I am using the GeoExt example and used the same code in my application. This is my code The problem I am facing is that the Popup box in my application on http://128.196.142.94/geo/test/test.html is ...
0
votes
1answer
114 views

removing multiple additions to popup

I am using the GeoExt example and this is the js code and trying to get rid of the multiple lat and lon that get added into the PopUp on multiple clicks. Not sure which is the code that I need to ...
1
vote
1answer
642 views

How to draw a line with pop-up in OpenLayers?

How to draw a line with pop-up in OpenLayers? For markers with pop-up i do so: var lonLat = new OpenLayers.LonLat(lon, lat).transform(new OpenLayers.Projection("EPSG:4326"), ...
1
vote
3answers
3k 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 ...
1
vote
1answer
785 views

Unable to create PopUp in OpenLayers

I am unable to create Popup in Openlayer. I have followed the examples and my code is also correct but I am not sure where am I going wrong. Here is the link. Here is my entire code, <!DOCTYPE ...
2
votes
1answer
3k 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) ...
1
vote
1answer
2k 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 ...