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

learn more… | top users | synonyms

3
votes
1answer
2k views

How to use OpenLayer.Transform?

I want to draw a rectangle. The coordinates are somewhere in northern Germany. But the rectangle shows up in the Near East? What am I doing wrong? var epsg900913 = new ...
1
vote
2answers
1k views

Problem displaying OpenLayers KML layer in IE

I am serving the following files from a the same directory on localhost: map.html OpenLayers.js output.kml map.html simply creates an OpenLayers map and displays the KML file as per the OpenLayers ...
3
votes
1answer
2k views

OpenLayers PanZoomBar css style

I need to use PanZoomBar in my application. var panZoomBar = new OpenLayers.Control.PanZoomBar(); map.addControl(panZoomBar); Also I need to overwrite the PanZoomBar css style. I overwrite the ...
3
votes
1answer
190 views

Can Openlayers plugin be faster?

Can the Openlayer QGIS plugin be modified to have better map loading performance? I use only google satellite/maps. Thanks.
2
votes
1answer
210 views

Need help adding OpenLayers to Geonode

I just installed GeoNode and really love the manner in which it helps me arrange the contents related to the map but I am not sure about adding OpenLayers to it. Well here is where I am faltering, ...
2
votes
1answer
570 views

How to have a layer with many images that scale?

I know that in OpenLayers you can add Features to a Vector Layer which each have image but then they will not scale (i.e. their size stays the same independent of the current zoom) or at least I do ...
5
votes
4answers
4k views

OpenLayers: How to create a rectangle?

I want to use OpenLayers to draw a simple rectangle (based on 4 coordinates) on my map. I would also like to fill the rectangle with a color. For example (EPSG:4326): 13.40, 52.50 13.50, 52.50 ...
1
vote
1answer
235 views

GeoServer WFS OpenLayers EditingPanel Problem

I'm trying to use OpenLayers to edit features of vector data served from a local geoserver. So far, I'm able to pull WMS and WFS layers using OpenLayers from the same geoserver. But now, I'd like ...
0
votes
1answer
193 views

coordinate projection

I'v got a detail map for an event as PDF an made an openlayers slippy map with Maptiler. I now need to place markers at the position of gps/gsm-trackers, which store their coordinate on a server. The ...
5
votes
2answers
460 views

Can overlays have different resolutions from the base layer?

I am trying to show a regional map on top of base map but without success. While debugging I noticed that my regional map has a different set of resolutions from the base. Is this allowed in ...
1
vote
2answers
3k views

Some Help to select some features from a vector layer

I have a vector layer (kml) that has some point with scientific name of plants and animals, some description of the place where the people saw them and the coordinates. Basically the table associated ...
2
votes
1answer
1k views

OpenLayers: add a listener to a single polygon

I want to add a listener to a single polygon. Currently, I am trying to add one that makes a polygon opaque when you click on it, but I should be able to add any general listener. OpenLayers.Layer has ...
0
votes
2answers
954 views

WFS save problem, 'read-only' exception

I am trying to save changes via WFS-T using GeoServer: var editLayer = new OpenLayers.Layer.Vector("Edit Layer", { visibility: false, strategies: [new OpenLayers.Strategy.BBOX(), ...
1
vote
1answer
429 views

Reprojecting non 4326 WMS image to spherical mercator

In OpenLayers, I'm trying to display a WMS overlay (EPSG:4269) from a server I don't have control over to a spherical mercator projection. Is there an equivalent to this: ...
1
vote
1answer
2k views

GeoExt (ExtJS + OpenLayers) not displaying Google Map

I've just started exploring GeoExt. It displays all the map controls, Google Logo and "Terms of Use". But the map is not rendered. I'm using firebug, and no JavaScript errors are generated. I'm using ...
2
votes
2answers
1k views

How to use GeoServer Web Processing Service (WPS) with OpenLayers and WFS?

I wanted to try creating WPS service in geoserver on web application. I wanted to know reference links or some help regarding using WPS on web.
1
vote
0answers
143 views

Why can't Android phones render this KML poly?

Our outage map works well in browsers and most mobile devices. The map can be found here: Test Outage Map However, on Android phones the perimeter polygon is rendered as black. Have tried changing ...
1
vote
1answer
712 views

select feature info on user defined polygon

Ok so I have a Openlayers App which is displaying few of the features and I now want to give the user the freedom to create a Box or polygon. All the features which are overlapped by this user defined ...
2
votes
0answers
199 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
1answer
738 views

routing using openlayers and pgrouting

I would like to do a Dijkstra routing using pgrouting and openlayers. I have the downloaded osm data. I am following the workshop given in this link. But since I am very new to this I found it ...
3
votes
2answers
423 views

Unable to select Vector Layer

I am using the following example, to select a vector layer feature on click. The example demonstrates Highlighting and selecting the layer. I was able to successfully implement the Highlighting of the ...
1
vote
1answer
2k views

Select attributs of wms/wfs layers

I want to select polygons in wms/wfs layers (openlayes). I used the code of this example http://openlayers.org/dev/examples/getfeature-wfs.html . Then, when I select a polygon in my the layer, nothing ...
2
votes
3answers
2k views

ArcGIS REST server projection with OpenLayers

I'm adding an ArcGIS tile server to my openlayers tile server options via this javascript API. I have it displaying the map correctly, but it seems stretched out horizontally (I have a feeling the ...
3
votes
1answer
576 views

Authentication in geoserver with openlayers

Is there a way to authenticate in geoserver with a external webpage (made with asp.net and openlayers)? I have restricted the access data only by certain users, and I don't want to authenticate this ...
0
votes
1answer
1k views

Conversion from N,E to Lat/Long And Lat/Long to N,E will always be same? [closed]

I have an excel tool for the conversion of following lat/long: Lat: 23° 11’ 24.67503’’ S Long: 118° 46’ 6.15742’’ E , which gives me following N,E: Northing: 7,434,317.43 Easting: 680,991.69 But I ...
1
vote
1answer
866 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 ...
3
votes
1answer
2k views

How do I clip/mask a satellite photo to a polygon?

Given a shapefile composed of contiguous polygons, I'd like to clip (or mask) regions of satellite photo to the polygon outlines, and export each resulting raster in medium resolution for further ...
3
votes
1answer
803 views

Why does my WMS layer overlap the Google Maps v3 logo?

I'm using Google Maps v3 as a base layer and on top of that I create an overlay pointing to my WMS (streets and avenues). A few months ago all works fine, my WMS layer was not overlapping the Google ...
6
votes
1answer
2k views

What's the difference in using OpenLayers and Mapbox?

Hey guys I found this tilemill to develop WebGIS application using MapBox. I wanted to know how is it better than OpenLayers and if I have to develop which would be a better options to go for, as I ...
2
votes
1answer
4k 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) ...
2
votes
2answers
368 views

onSelect sometimes firing before onUnselect

I have a map that displays satellite coverage zones. Some of these coverages overlap. I am using the SelectFeature functionality to fire off onSelect and onUnselect events. However, when moving ...
5
votes
1answer
5k views

Assign Icons to specific points dynamically in OpenLayers

I have a json file describing features on a map (routes, points etc) points include places of interest such as airport, harbor etc. Is there a way to assign icons to these points? example: have a ...
3
votes
0answers
352 views

Map is missing when I “export as image” via print composer [closed]

I have point data on a vector layer that prints accurately via print composer (when I "export as image"), however my map below either does not show up or shows up at an incorrect scale. I used ...
2
votes
1answer
2k views

Set Up WFS Service on MapServer and display in OpenLayers

I have used following mapfile to create the WFS service on Mapserver but struggling to display the service output using OpenLayers. Please suggest some links to use WFS service in openlayers. Thanks ...
1
vote
1answer
489 views

Zoom to country with geoserver and openlayers

I would like to preposition an OpenLayers map on a country. This is, when my page loads, the map should be positioned on the country with an appropriate zoom level. This should work for a (large) ...
3
votes
2answers
4k views

Is there a On Map Move event in OpenLayers?

In my OpenLayers web app I have registered an onmousemove event which performs certain functions. What I am really after though is a way to register and handle the user panning or zooming the map. ...
2
votes
1answer
493 views

Loading an older google satellite image with OpenLayers plugin in QGIS

I am using the OpenLayers plugin in QGIS. I want to use the google satellite layer, but there is a cloud on the specific image. Is it possible to load one of the older google satellite images? Like ...
1
vote
0answers
172 views

On the usage of Proj4Js->tmerc.js

I am using "proj4js & open layers" for my mapping. I got projection & datum (which is based on "Transverse Mercator") of a local plane and this plane is part of a grid which returns ...
2
votes
2answers
394 views

Merge nearby items into a single representation

I'm investigating OpenLayers and I'm trying to see if it's possible to filter down the number of displayed feature items. Is it possible to display many nearby items as a single point item on a map ...
1
vote
2answers
1k views

Openlayers - Different zoom levels with a WMS layer and only one resolution

I am trying to implement a homemade WMS with Openlayers. I only have one "level" of images with one resolution and I would like to add different zoom lvls with those images. Is this possible just ...
43
votes
3answers
9k views

Openlayers Animation Examples and Algorithms

i wonder for a long time if people in this community uses openlayers for animation needs. we have know this that animating on browser is a little bit exhausting for it but when a map meets with ...
4
votes
1answer
579 views

Openlayers and Geoserver fail to reproject while editing Vector with WFS-T

I can't get the Openlayers and Geoserver work with WFS-T editing a vector layer. I have a layer of points where the Native SRS is EPSG:32639. After trying a lot of combinations, I ended up with two ...
1
vote
1answer
139 views

GIS Layer Versioning In GeoServer

i have developed the application for editing the map features online but i want the features to be saved as version of the layer not in original layer.this work is done using GeoExt ...
2
votes
0answers
113 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 - ...
1
vote
1answer
1k views

OpenLayers - How to display selected features as graphic markers?

I'm attempting to render a point feature as a graphic. When that feature is selected I'd like to display a green indicator above the graphic. It seems backgroundGraphic and externalGraphic are ...
2
votes
1answer
676 views

OpenLayers DrawFeature override double click

Can anyone explain how I can ovveride the dblclick event when I'm using an OpenLayers.Control.DrawFeature? I see there is parameter in the constructor for handlerOptions - Used to set non-default ...
1
vote
1answer
1k views

How to use cql_filter in OpenLayers.Control.WMSGetFeatureInfo?

I am a newbie and I am using OpenLayers, GeoServer 2.1.3. I have a function that works to filter the markers on the map with a CQL_FILTER function. But when I click on a marker it shows a popup with ...
4
votes
3answers
523 views

Can I prevent features from being created outside an OpenLayers map?

In our app, we allow users to create features on maps. The boundaries of these features will later be converted into real-life latitude/longitude coordinates, but does not make sense if features are ...
2
votes
3answers
3k views

help displaying jpg in openlayers?

I am trying to overlay a jpg image over an openlayers map. I have been to the example on their site and looked all over for a solution with no luck. So I am guessing that their are rules for setting ...
3
votes
0answers
123 views

GeoJSON support in ArcObjects 10 .NET

i am currently trying to build a geoprocessing application using OpenLayers and ArcObjects, I have some features that user draws on openlayers and i need to send these features to arcobjects for ...