OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.

learn more… | top users | synonyms

1
vote
0answers
84 views

Change The OpenLayers 3 script into openlayers 2.13

Hi all I want to change the code from pgrouting latest workshop which is used the Openlayers 3 beta to Openlayers 2.13 The code is in here http://workshop.pgrouting.org/chapters/ol3_client.html I ...
1
vote
0answers
91 views

Problem with custom projection in OpenLayers

I'm using OpenLayers 2 with Proj4JS 1.10. When trying to change the map's projection using Proj4js.defs['STEREOGRAPHIC:180,90'] = "+proj=stere +lat_0=90 +lon_0=180 +a=3396190.0 +b=3396190.0 +over=F ...
1
vote
0answers
116 views

responsive design openlayers - bootstrap or foundation

im looking to use zurb foundation or twitter bootstrap with my map app but before i pick a platform i was trying to find out if people had done this already it seems lots of people have had issues ...
1
vote
0answers
35 views

alternative to mapClickEvent

I use gwt-openlayers lib in my GWT app. I have added a drawFeature control and now I want to show a radius of circle while I draw a feature. Now it looks like this: ...
1
vote
0answers
67 views

Rendering OSM with QGIS for MapServer to use in OpenLayers

I want to show tiles in OpenLayers offline. I've installed QGIS 2.0, TileCache, and MapServer on Windows. Enabled plugin OpenLayers in QGIS. What kind of data I suppose to extract from QGIS with my ...
1
vote
0answers
166 views

How to create a regular polygon grid in Openlayers?

I am trying to create a grid in my map and do some calculations. I seen the following links:- Create regular polygon grid using postgis Create regular polygon grid inside a polygon using postgis ...
1
vote
0answers
257 views

pgrouting php problem “pg_fetch_result(): Unable to jump to row 0 on PostgreSQL result index 3”

I'm trying to build a simple routing web-app using pgrouting, followed some tutorial and the latest workshop. Because I'm using PostgreSQL 9.3(x64), Postgis 2.1.1, and pgrouting 2.0 so I did some ...
1
vote
0answers
95 views

openLayers and geoserver: WMSGetFeatureInfo does not return feature beyond wrapdateline

I built a map made of several layers. I need to display the layers features fields at the place where the user clicks (see the controler code hereafter). The layers are correctly displayed and go ...
1
vote
0answers
61 views

Problem circle with zoom level

when I zoom level 16 and over I have two circle segments, I don't know if it's normal (projection) or a bug. Have you an idea ? Openlayers : 2.13.1 Problem With Chrome, IE and Firefox formula ...
1
vote
0answers
36 views

removing message after wfs-t transaction

Hi is there a way to remove the alert (message) after adding new object to database with WFS-T. I am using code from demo example from Geoserver. The code is shown below var drawPoint = new ...
1
vote
0answers
68 views

select remove layers not working second time

http://www.youtube.com/watch?v=qxVO0tFdiuA&feature i captured video. You can watch. Now i explain my problem. Firstly, when i create popup and in popup menu when i call function and select ...
1
vote
0answers
427 views

MapFish PDF: Geoserver WMS layers not generated as tree structure

I am using the mapfish printing module in my web map application.In that everything is working fine but layers not generated as tree structure in output PDF file and "ODC_Graphics_Data" wms layer not ...
1
vote
0answers
135 views

Image not loading properly with OpenLayers Map in Chrome

I have an application using OpenLayers 2.13 that load serveral maps. The first image loads and displays fine. The second dosen't load properly. See image below: I am new to OpenLayers. The ...
1
vote
0answers
261 views

Updated: Openlayers Vector Layers with Google Map Base Layer (via Grid): Vectors Stick but can't get correct resolution/projection

Revamping this question instead of opening a new one. Previous issue: vector layers were not "sticking" to the map, so when you would zoom in or out the vector layers would "come out" at you. Note ...
1
vote
0answers
521 views

openlayers 2.13.1 vector layer and CQL does not work in IE11

I have implemented a search functionality for a vector layer in openlayers 2.13.1. I use CQL. I take the values from an html form and I use javascript to pass them to a CQL filter and execute it. ...
1
vote
0answers
111 views

How to make WFS-T layer grid panel with Geoext

I am using geoext,openlayers and geoserver. I am using WFSCapabilitiesStore to make the grid panel. I want to this grid panel WFS-T layer so that on each layer I can draw and edit feature after adding ...
1
vote
0answers
266 views

How to use SLD to filter a WMS layer but without setting any styles?

I'm trying to filter (using OpenLayers) a WMS layer, served by MapServer. I've got this working by building the appropriate OpenLayers.Filter rule(s) with an empty Polygon symbolizer (so no specific ...
1
vote
0answers
87 views

Drawing a Satellites Coverage FootPrint on an OpenLayers Vector Layer

We have been discussing offering at some point in the future satellite footprints on some of the maps we offer. Initially the ISS but some Satellites may be appropriate as well. We have also been ...
1
vote
0answers
114 views

GeoWebCache: Layer is not served by a WMS backend

I try to get legends for my layers in a little GIS application while using GeoWebCache. Since I turned GeoWebCache in GeoServer on I do not get the legend image for my layers anymore. I looked around ...
1
vote
0answers
94 views

OpenLayers - Features in cloned layer changes style with original feature

Please help! My situation is that, I clone() a "newLayer" from an "oldLayer" with its features. Both of them seems correct at first. But then when I tried to change the style of "featureA" in the ...
1
vote
0answers
183 views

how can I set the StartBounds, units, and tileSize correctly in OpenLayers?

how can I set the StartBounds, units, and tileSize correctly in OpenLaters?I can not make sure this parameters,for I use jsonp,and it will dynamticly read layerinfo from esri rest resources. var ...
1
vote
0answers
71 views

Set bounds based on layer size

I am using GeoServer+OpenLayers and I have a base layer (Google map) and some additional layers (OpenLayers.Layer.WMS); users can show or hide these layers. I would like when user show a layer then ...
1
vote
0answers
113 views

How can I retrieve/query data from shape file for forms/grid in website?

I've made a site using openlayers and geoserver. currently im serving WMS layers from geoserver (shape files). I want to add in my site a search form that the user can search for data (which I have in ...
1
vote
0answers
31 views

OpenLayers - Get LayerName from GML Response object

I am using the WMGetFeatureInfo control in OpenLayers to select items from my layers and return GML. I use this to get an attribute from the GML; var val = evt.features[0].attributes.UID; //Where ...
1
vote
0answers
122 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
92 views

Openlayers - How to put street view icon on google layer?

I have a basic OL map with google layer. http://jsfiddle.net/Alophind/bDzg7/ I've read in similiar questions that the following css disable the google street view icon: img {max-width: 100%;} So ...
1
vote
0answers
126 views

How to add Legend Panel to Dojo / Openlayers?

I have openlayers app on dojo framework. I've been serving WMS layers with geoserver and wanted to use GetLegendGraphic to build legend for all layers. I've seen there are some ready widgets (like ...
1
vote
0answers
159 views

How to add new raster store and publish for ECW fromat in GeoServer 2.4-RC2?

I am using GeoServer 2.4 RC2 and Tomcat7 on windows xp OS. I have extracted the gdal-data.zip (2.4.0) and geoserver-2.4-SNAPSHOT-gdal-plugin into Tomcat 7.0\webapps\geoserver\WEB-INF\lib. Now ...
1
vote
0answers
50 views

Gauss-Krueger coordinates in Openlayers

I want to show the coordinates of my map in gauss-krüger coordinates, but nothing works. I tried another projection, displayProjection, lonLat.transform but the answers are the same. my source ...
1
vote
0answers
105 views

Possible to rollback from QGIS 2.0.1?

I'm running Ubuntu 12.04 LTS. Unfortunately Ubuntu has automatically upgraded my QGIS from 1.8 to 2.0.1. And 2.0.1 which creates GeoJSON files that OpenLayers cannot parse. Would be best for me to ...
1
vote
0answers
366 views

Add layers from WMSCapabilitiesStore to MapPanel and select polygons

I created a store and added layers to a grid Panel, when you click add layer to map it works fine, the problem is that when I call the function controle(layer) I can't select polygons in the layer ...
1
vote
0answers
156 views

Changing Default Layer Switcher

How can I change layerswitcher properties(radio button) ? So I want to change just like drop down list ?
1
vote
0answers
135 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", ...
1
vote
0answers
48 views

Recommended way to use a setting file to initialize OpenLayers

I am new to OpenLayers. I am trying to figure out what is the best way to have a configuration file for the map I am creating. For example, I am creating a map with the following style : var ...
1
vote
0answers
71 views

How to set “hit” tolerance for touch dragging in Openlayers

I have a Openlayers map with a single point feature on. When pressing a button I activate a drag handler. My problem is when using mobile devices dragging the point is virtually impossible. No matter ...
1
vote
0answers
61 views

SelectFeature and ModifyFeature in OpenLayers 2.13

After lot of experimenting, I have to give up and ask: has anyone had success in using both SelectFeature and ModifyFeature in OL 2.13 (NB, there were changes to ModifyFeature in 2.13, compared to ...
1
vote
0answers
98 views

Set scale for labels

I have multiple shapefile with different geometry and I am trying to on a label of layers. For create a map I am using Geoserver and Openlayer. Requirement is layer are visible on a max zoom level ...
1
vote
0answers
37 views

Are there any js libraries for reading OSH data?

I want to do time based mapping on openstreetmap data in the Kathmandu, Nepal area. I think i have two options Using OpenStreetMap Change files (OSC) Using OpenStreetmap History files (OSH) I have ...
1
vote
0answers
57 views

georectification via SLD is not appearing at the correct place

I am trying to georectify layers on the fly (feeded by Geoserver) in OpenLayers. To do so, we have created a style (SLD) in Geoserver that does the georectification provided that we feed it a ...
1
vote
0answers
81 views

GeoExt Feature Renderer

I am working with OpenLayers and GeoExt and I have the following problem: I have a point vector layer and I want to create a style that contains 2 symbolizers. In this example they show how this ...
1
vote
0answers
264 views

save features from openlayers to postgis via nodejs and websockets

I try to save features created on a vector layer (openlayers) to postgreSQL 9.1/postGIS 2.0 via websockets. As server I use nodejs 0.10.12 along with the pg module I cannot fix it. Its getting so ...
1
vote
0answers
58 views

Openlayers CQL.js compare attribute columns

I'm trying to use a CQL filter in OpenLayers in order to identify some polygons in which the value of one column is higher then the other. So, when I use the following cql filter production_2010 > ...
1
vote
0answers
184 views

MapServer Clustering GetFeatureInfo

I'm having a bit of a problem with clustering in map server the clustering itself works fine and the GetFeatureInfo works fine most of the time. However some times when I click on a cluster point it ...
1
vote
0answers
37 views

Is there an OpenLayers event when reaching bounds?

I have an app using OpenLayers and OpenStreetMap tiles. There are more zoom levels for the capital and less zoom levels for the entire country. Let's say the user is in the capital, in his car, in ...
1
vote
0answers
46 views

Align OpenLayer raster with OS Mapping Vector

I have an OS Vector map of a town in Ireland. When I load the Google Satellite Raster from the Open Layers plugin, the results are slightly off, by about 2m, probably due to ariel persepective. I'm ...
1
vote
0answers
61 views

Can I edit WMS layer or KML layer?

I am using Openlayers and until now i have been using OSM as background and i got points from my db (mySQL) and add them to vector layer, then i could modify them and save it back to the server. now i ...
1
vote
0answers
163 views

Adding multiple selectFeature Controls for multiple layers in OpenLayers

I am trying to add two different selectFeature controls for two different layers using OpenLayers. I would like to display a popup with information about the feature when hover over a feature in ...
1
vote
0answers
565 views

Create a jgw file for jpg image.

I converted ecw file into jpg file with IrfanView, to display the jpg as base layer in openlayers. I understood that I need to create a jgw file to display the jpg file. I found this example: ...
1
vote
0answers
151 views

Adding charts to OpenGeo suite SDK

I just wanted to gauge the work flow for adding charts to a map using the SDK that comes with OpenGeo suite. I know it seems a vague question I'm just trying to get my head around it :/ So far the ...
1
vote
0answers
57 views

Ubuntu Raring - Openlayers Plugin 1.8 or 1.9 Master

Relative newbie to Ubuntu and QGIS. Many questions are posted relating to the Openlayers plugin. It works fine in windows but I cannot get it to work or even appear in either 1.8 or 1.9. The "fetch ...