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

learn more… | top users | synonyms

2
votes
0answers
178 views

Projecting PostGIS in Openlayers

I have a layer(base layer) with MultiLineString Geometries and now I need to project the layers(overlays) in the base layer from PostGIS using OpenLayers. However, I got an idea how to project table ...
2
votes
0answers
371 views

Openlayers text layer is not working

I am trying to load markers from a text file using openlayers text layer, but no marker is shown, text file and icons are in same directory. However I am able to show markers using marker layer. My ...
2
votes
0answers
107 views

Projection declaration in dojox.geo.openlayers possible?

I am trying to integrate some maps of my own into the dojox charting demo and I had success in exporting a shapefile (externally, i.e. with my own parser) to the dojo JSON map format. The map is in ...
2
votes
0answers
48 views

Is it possible to have transition between switching base layers

I use OpenLayers to display several maps. While transitioning between Google Map layers, the new layer is superimposed onto the old one. But for OpenStreetMaps, there is this empty void in between ...
2
votes
0answers
725 views

How to add multiple nested node in GeoExt

I have following codes, but i want to add severel parent>child>chill>child>child (4 level inside) nodes with all check box options (for user choice) in the tree panel, in fact sum of all these (parent ...
2
votes
0answers
64 views

Features disapearing

When I add a polygon feature it shows on the map. When I add another one the first one disappears. The code for adding is below: $.postJSON('@Url.Action("GetLayers")', { "planId": planId }, ...
2
votes
0answers
348 views

OpenLayers BBOX sending double requests

I've implemented a openlayers bbox strategy on a vector layer. I have my server return a nice jsonp object wrapped in the callback given by the request. The problem is that during normal use of the ...
2
votes
0answers
276 views

Openlayers, valid zoomlevels are offset by 1 level. Why?

I have an openlayers based web app, map object is initalized like this: p4326 = new OpenLayers.Projection('EPSG:4326'); p3857 = new OpenLayers.Projection('EPSG:3857'); //initialize map object, bind ...
2
votes
0answers
183 views

Displaying text from dxf in Openlayers

I managed to import .dxf into Postgis table, and now have, among others, rows with Point geometries and values in text column (which corespodent with Label values from ACAD .dxf). What is the best ...
2
votes
0answers
380 views

Get tile URL with projection different than 900913

I have the following code, which should display a slippy map showing tiles producted by me with mapnik: Proj4js.defs["EPSG:31258"] = "+proj=tmerc +lat_0=0 +lon_0=13.33333333333333 +k=1 +x_0=450000 ...
2
votes
0answers
151 views

dojox.geo.openlayers roadmap?

I'm curious as to the future of dojox.geo.openlayers. Presently is seems only to be a solution for positioning widgets on the map but I can imagine developing a suite of map specific dijits such as ...
2
votes
0answers
300 views

Creating a Geodesic Polyline Buffer in OpenLayers

I have a feeling that the answer is going to be 'You can't do that without some very complex coding' but I thought I'd go for it anyway. I recently asked a question on how to create a Polyline Buffer ...
2
votes
0answers
219 views

OpenLayers ArcGIS93Rest layer not showing up

So this seems like it should be super obvious, but I can't for the life of me figure out why I can't get any ESRI layers to show up on my map. I've tried different layers and messing around with the ...
2
votes
0answers
235 views

WPSExecute Format Issue

I have: function createWPSExecuteRequest(namespace, layerName, popFilter) { var request = OpenLayers.Format.XML.prototype.write(new OpenLayers.Format.WPSExecute().writeNode('wps:Execute', { ...
2
votes
0answers
263 views

Anyone have success with OpenLayers and ArcGISCache?

OPENLAYERS Has anyone had success using OpenLayers and the ArcGISCache layer beyond the examples? I'd like to mix tiles with different resolutions and although they seem to scale correctly they do ...
2
votes
0answers
203 views

How do you emulate a right click on a tablet/mobile device using OpenLayers?

I'm trying to make my OpenLayers mapping application work for mobile devices and one feature I haven't figured out how to emulate is the 'handleRightClicks' Control Click option. Anyone know how to ...
2
votes
0answers
200 views

How to install OpenLayers in drupal?

I have been trying this for a while without success. After installing the OpenLayers module in drupal 7.14 and trying to configure it i get the following error: Cannot establish a connection to the ...
2
votes
0answers
116 views

Instalación masiva de QGIS - Automated installation of QGIS

Solicito lo siguiente requiere la línea de comandos que permitan realizar la instalación automatizada o desatendida para poder enviarla desde SCCM para la Instalación de QGIS Google Translate - ...
2
votes
0answers
369 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
2
votes
0answers
168 views

Rerendering OpenLayers in JSF2

did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events, I mark the render atribute with render="map" where map is naturally the id of the openlayers div tag, and I use ...
2
votes
0answers
100 views

When using OpenLayers plugins maps, can I have Longitude/Lattitude labelled on my grid when using the Map composer in QGIS?

Using OpenLayers plugins maps, can I have Longitude/Latitude labelled on my grid when using the Map composer in QGIS?
2
votes
0answers
463 views

How to set up multiple Content.ftl files in Geoserver?

So today i started to play around with the content.ftl file for geoserver to change around the popup style. In playing i've discovered that if i call in my content.ftl file which contains code for a ...
2
votes
0answers
896 views

GeoExt (ExtJs + OpenLayers): bug in IE9 when try to change map_panel from container A to container B

Techonology: GeoExt, which combines ExtJS with OpenLayers I am trying to dynamically change the app layout by changing a map_panel from container A to container B, and vice verse; basically, for each ...
2
votes
0answers
614 views

dateline issue: wrapDateLine with MapFile

I am using wrapDateLine properties for OpenLayers.Layer.WMS for handling dateline issues. The problem with wrapDateLine is that I am getting the same polygon repetitively around the wrapped map as a ...
2
votes
0answers
554 views

OpenLayers WMS overlay tile projection

We are using OpenLayers for our GIS Application and we have base files from Ordinance Survey for UK maps. For creating WMS layers, we are generating tiles of 256 x 256 through Sharpmap Library but ...
1
vote
0answers
17 views

Draw linestring programmatically using draw control

I want to draw linestring feature programmatically which can be done from draw control of openlayers which can inherit default behavior of draw control that is modification, selection, undo, redo etc ...
1
vote
0answers
33 views

Error when adding WMS layer in OpenLayers from a geoserver

I try to add wms layer from geoserver: var layer = new OpenLayers.Layer.WMS(name, 'http://'+ self.objSettings.ip + ':' + self.objSettings.port + self.objSettings.wms, { srs: 'EPGS:4326', ...
1
vote
0answers
9 views

How to display specific areas specified by Global MapIt Area ID in Open Street Map using Open Layers?

I've been customizing the Fix My Street platform for the two cities in my country, just to test everything out in it and how it works and maybe implement it for the whole country in the future. The ...
1
vote
0answers
14 views

Printing large size with OpenLayers plugin basemaps?

trying to print A0, with one of the maplayers from the openlayers plugin, the resulting print misses tiles and is corrupted. any scale i choose there's no way except (i need >= 1.50.000) I tried to ...
1
vote
0answers
54 views

MySQL+GDal+MapServer+OpenLayers WebMercator problem

I have a problem/question what is the most efficiant way to go from WGS84 (epsg:4326) to webmercator. Outline of the structure right now: MySQL Database: with point Latitude/Lontiude Data [~200 ...
1
vote
0answers
15 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 ...
1
vote
0answers
45 views

How to simulate events from Openlayers 2?

I am working on a GIS API that uses OpenLayers. I am testing it using QUnit. The problem is I need to simulate clicks and trigger some events to be able to test the whole code. For example, I have a ...
1
vote
0answers
43 views

Openlayers Map Marker / Popup Behaviour Mobile Devices

Quick overview. i am creating a site with a map using Openlayers and Open Street Maps. User clicks on map and fills out a popup form and submits form. Markers appear at lonlat points where map was ...
1
vote
0answers
18 views

Parse GML with Openlayers

In our project we do a GET request to a WFS service. This service returns some GML. To parse this GML, we are playing with the GML parser of Openlayers. This is working as long the GML isn't ...
1
vote
0answers
13 views

Many layers from a unique KML files ? (OpenLayers)

I have a KML file generated from a server that contains many networks. I want to know if is it possible to generate one layer for each network from this single KML file ? Thank you!
1
vote
0answers
38 views

Openlayers filter strategy on wfs deactivate problem

I have a filter control which works nicely. However, when I try to reset/remove the filter, I don't get the original features back. The debugger shows my features array as still only being the reduced ...
1
vote
0answers
29 views

how to make a layertree with multple nested nodes?

On a previous question I asked how to get two levels on a layermanager. The response provided there was what I was needing at that moment. Now, I´ll like to create a little more complex structure in ...
1
vote
0answers
89 views

How to drag a feature in Open Layers 3

I'm trying to replicate something that was fairly easy in Open Layers 2 in Open Layers 3, which is: dragging an existing feature to a new location on the map. In Open Layers 2 I just added a ...
1
vote
0answers
39 views

Multi layer, multi control

I am new to GIS technolgies. I'm working on the final project of my career. I need to have a background map of somewhere on this map I need to create 1 .. N layers in which a particular user can ...
1
vote
0answers
61 views

Geoserver WFS Fails to Load in OpenLayers

I'm working with Postgis->Geoserver->openlayers on localhost. I followed a Geoserver tutorial to import some nyc sample data into my postgres/postgis database and link it to Geoserver. The layer ...
1
vote
0answers
57 views

Mapfish printing application from Openlayers : disableScaleLocking

Mapfish printing application from Openlayers: I get the following error when I use a different scale than the scales defined in the config.yaml even though I am using disableScaleLocking: true ...
1
vote
0answers
44 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 ...
1
vote
0answers
147 views

How to fix the possible memory leak issue in Openlayers 2.13.1 version?

Recently we have upgraded the Openlayers from version 2.12 to 2.13.1. However the performance of the new version is not that promising, infact it has degraded exponentially. I have a draggable model ...
1
vote
0answers
38 views

Openlayers OverviewMap control with vector layer data display

I am creating an OverviewMap control in the map and want to see the content of a Vector layer in the overview map too. var mapOverviewOptions = { mapOptions: { ...
1
vote
0answers
384 views

Access-Control-Allow-Origin problem when loading json file from Amazon S3 to display in OpenLayers

This is my code for displaying geojson in OpenLayers, where "geourl" is directed to a json file in Amazon S3. geojson_layer = new OpenLayers.Layer.Vector("GeoJSON", { strategies: [new ...
1
vote
0answers
25 views

Openlayers lanugage encoding problem

I'm trying to change OpenLayers.Lang file to turkish. I succeded it to some extend except for encoding. when I use şiüçöİı chars that are spectial to turkish, they are replaced with some strange ...
1
vote
0answers
30 views

Get features WMS under a polygon in layer-vector

I have the buffer of a polygon in a layer-vector, I want to know what features of a WMS layer are covered by the buffer, as the SLDSelect Control but with a polygon drawn. any ideas? thanks in ...
1
vote
0answers
68 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
59 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
90 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 ...