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

learn more… | top users | synonyms

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
505 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
173 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
405 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
584 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
140 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
115 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
2k 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
687 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
537 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 ...
0
votes
4answers
3k views

OpenLayers (allOverlays): Vector layer not rendered without raster layer beneath it

This is another newbie question. I'm trying to create a map using OpenLayers that comprises only of vector layers from a WFS server. However, I'm thwarted because my vector layer won't render unless ...
2
votes
2answers
767 views

Multiple Maps with Styles not working in OpenLayers

I have created 2 maps(within 2 in a same page) along with their respective style maps. Both maps are having vector layers along with "LineString" geometry... added into them. Both style maps are ...
5
votes
1answer
590 views

Efficient Outputs for GeoServer Vector Data

Ok, here's our problem. We have a mapping application at http://explorer.geowessex.com which uses OpenLayers and GeoServer for delivering the data. The data is potentially endless and we have very ...
0
votes
1answer
679 views

How to change projection for layer?

i use two seperate datasource for my layers: sql database for main map data, this is using EPSG:900913 osm file for some extra features, this data use EPSG:4326 projection tiles for both layers ...
3
votes
2answers
687 views

OpenLayers dynamic rules defintion & clone function filter

I'm developing on a OpenLayers application which creates dynamic rules for a vector layer using the geostats library. I want to create these rules inside a simple loop through the number of classes. ...
0
votes
1answer
1k views

Alternate colors of GeoJSON linestring segments in OpenLayers?

I am rendering a vector linestring via GeoJSON on top of an OpenLayers map. I'd like to alternate the styling between two slightly different shades of blue, such that the colors alternate from one ...
1
vote
1answer
797 views

How can I change mouse icon on hover a WMS layer feature using OpenLayers and GeoServer

my unfinish app is: "http://190.5.81.197/MAPA_OL/mapa/matricula.html#" i just want to know how cant I change mouse icon when the mouse is over a marker on a wms layer i am using goserver to create ...
0
votes
0answers
1k views

GeoServer/OpenLayers: Overlay WMS on Bing Map

I am coming from the ESRI side and learning GeoServer/OpenLayers. It seems the only way to overlay one layer on Bing or the like is to use WFS. In my opinion, WFS transfers a lot of data to the client ...
0
votes
2answers
171 views

How do you pass parameters for Proj4js implementation with OpenLayers

I am using Proj4js along with OpenLayers for the transformation of x,y (projection type is Transverse Mercator) to long, lat. While executing "inverse()" method what I noticed that in tmerc.js some ...
1
vote
0answers
485 views

How to display indoor map using OpenLayers?

I created my osm file in JOSM, and i imported it to my database by osm2pgsql tool. I created new layer in my osm.xml file, which selecting data with query: select way from planet_osm_line, (select ...
1
vote
0answers
110 views

How to reduce transparency for Openlayers using Map Composer?

Increasing transparency of Openlayers will increase the contrast of others layers. For sure, it will increase the esthetical aspect of maps.
0
votes
1answer
311 views

OpenLayers/Extjs/Mapfish put permaink in menubar

I solved my problem Problems getting openlayers permalink working on how to get the maps view permalink but now I want to put the permalink in the toolbar instead of reloading the page with the ...
2
votes
1answer
808 views

GetFeature with WFS layer is not working as the click co-ordinates are returned in spherical co-ordinates

GetFeature with WFS layer is not working as the click co-ordinates are returned in spherical co-ordinates. using geoserver 2.1.3 and openlayer 2.11 layer information is in EPSG:4326 WMS works fine ...
3
votes
1answer
663 views

Waiting for Vector & WFS loading

user borrowed from friend since i use vector layer with wfs protocol, there is a little while before features loaded on the map. So i need to tell user to wait a moment until they load. what best ...
0
votes
1answer
1k views

creating vector layer from OSM file using OpenLayers

Using OpenLayers, I am creating a vector layer over a map. This vector layer is created from an OSM xml file. My purpose is to do some experiments in Prolog with this data, for example, querying the ...
1
vote
1answer
335 views

sometimes a white, square dialogue appears in the middle of the screen: Map Data … Google maps

I have this code and some of the time,(not always!!), i have a dialogue that get displayed in the middle of the map: Google Maps Map data (c)2012 Google var map; var vectors; var ...
0
votes
1answer
281 views

Unselect all layers and clear the legend in Openlayers

Is the there a way of clearing the legend in Openlayers by unselecting all the layers? We have a map that starts with several layers. I was thinking that we might be able to add a button to the ...
1
vote
0answers
1k views

how can we save vector files in openlayers

i'm using Postgis + tomcat + geoserver + openlayers for my application. with the help of some tutorial i have reached upto gettting feature information of layers. Next i want to edit and save ...
1
vote
1answer
127 views

Tool For Generating Formula for Projection

I am using Proj4Js for northing,easting to lat,long transformation. My Datum is "AGD84" and projection is "Transverse Mercator". While doing so I found that if I don't specify "+proj" parameter in ...
3
votes
3answers
2k views

WMS Request not served to OpenLayers by GeoWebCache off GeoServer

I'm developing a GIS app that makes use of GeoServer and GeoWebCache for serving requests, and OpenLayers for frontend. WMS requests to the GeoServer are served with no issues. But when I make a ...
2
votes
1answer
471 views

using google maps, the mouse cursor and the dot on the map not inline

i'm trying to implement the example http://openlayers.org/dev/examples/drag-feature.html . When i'm implementing this with a Google map, I have a strange bug: the mouse pointer and the dot on the map ...
1
vote
0answers
934 views

Adding Access-Control-Allow-Origin: * to Jetty in Geoserver [closed]

So i am trying to add Access-Control-Allow-Origin: * In the Jetty config file, on which the Geoserver is running to receive the contents from popup (which I am not receiving since there is no ...
0
votes
1answer
771 views

Problems getting openlayers permalink working

I set up an openlayers permalink function. I set the code and it shows up. But the URL does not work. Where is I get a link like this: ...
2
votes
2answers
375 views

OpenLayers - SelectFeature fails on a small polygon on top of a larger polygon

I'm using new OpenLayers.Control.DrawFeature to draw polygons and OpenLayers.Control.SelectFeature to select a specific polygon. I'm drawing one polgon and then a smaller polygon on top of the first ...
1
vote
0answers
196 views

Mapnik not generating tiles for tilecatche

imported data by using Osm2pgsql, to get rid off all problems related to data conversion, i stored this as latlong (-l parameter).I created stylesheet, and i tested with python script and it was ...
2
votes
1answer
856 views

Getting capabilities from tomcat's Geoserver fails

I wanna teke capabilities from tomcat's geoserver. Use this. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
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 ...
2
votes
2answers
437 views

Can I display cloudmade tiles in arcmap 9 or arcmap 10?

I have created a number of cloudmade maps which I use in my opensource webstack using openlayers. I have been asked if the cloudmade maps could also be shown in ArcMap, but have not seen any way to ...
3
votes
1answer
1k views

How to get bbox from capabilities?

I have WMS layer and want use zoomToExtent after CQL filter. So i gonna get bbox from geoserver. wms = new OpenLayers.Format.WMSCapabilities(); OpenLayers.Request.GET({ ...
3
votes
1answer
2k views

Openlayers + WMS layer. Use scale or resolution + DPI

I have a problem with displaying map with WMS layer in Openlayers. I'm able to display it but the image of the map is not sharp especially at higher zooms. I have a documentation from the map ...
0
votes
0answers
61 views

How to turn off Google map data copyrighted window in Google Street layer (Qgis - Openlayers Plugin)? [duplicate]

Possible Duplicate: How to close watermarks in openlayers plugin After a few weeks not using Qgis, this morning I opened it up, accepted a request to update Openlayers Plugin. Right now, I ...
1
vote
1answer
629 views

Efficient WMS or TMS Loop for Radar data?

I'm looking for an efficient way to loop radar data from a Tilecache or WMS Server. Right now, I make an array of layers and increment through them, but this seems inefficient since I end up with a ...
2
votes
0answers
368 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
1answer
614 views

Syntax of WFS request in OpenLayers

I am in need of the correct syntax for loading WFS layer using OpenLayers. I have gone through many examples on the OpenLayers site and other examples, but can't figure out how to use the necessary ...
3
votes
1answer
616 views

WMS,WFS Services in Mapserver

I am new at Mapserver. I was trying to get WMS and WFS services started but could not get any simple article to start the services from scratch and display service data into openlayers. Please ...