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

learn more… | top users | synonyms

0
votes
0answers
19 views

Remove last line segment of an OpenLayers.Control.Measure

i'm using OpenLayers library, i'm trying to delete the last line segment of a drawing realized with the following code: layerLine = new OpenLayers.Layer.Vector("layerLine"); layerLine.id = ...
0
votes
0answers
10 views

read feature of a region in map

I am using geoserver and openlayer for developing a GIS application. Is it possible to read features lying within a known polygon area of map through some looping logic without any click on map? I ...
0
votes
0answers
32 views

Vector Layer Causes Movable White Box to Display Outside of Map Viewport

In OpenLayers 2.13.1, odd behavior arises with Vector Layers in my application where a white area appears outside of the map viewport and blocks the visual aspect of my controls. The controls actually ...
0
votes
0answers
42 views

WMS GetfearureInfo popup not getting

I am new to openlayers, used this link to get feature information of WMS layer of geoserver. If I clicked on any feature its continuously loading not displaying any popup. Can any one please help me ...
0
votes
0answers
20 views

How to remove the 'Report a map error' message in Google Satellite imagery?

Using Google Satellite as a basemap, I see the message 'Report a map error' in the bottom right corner of the screen (when the map is over land). Here is an example of this message on a similar map. ...
0
votes
0answers
29 views

Openlayers not displaying WFS layer

First, I realize there are a number of very similar posts on this site and others, but none have resolved the issue I'm having. I have a layer I'm trying to serve via WFS in Geoserver/OpenLayers ...
0
votes
0answers
6 views

No Load kml in Openlayers MVC ASP.NET

I have a problem to load a kml map using OpenLayers. I used this in this example: http://www.openlayers.org/dev/examples/sundials.html I put the following script to load the kml var wms = new ...
0
votes
0answers
91 views

how to access vector layer from localhost:8085

My environment is as below. Server A contained the web application, I used win7,tomcat 7.0,eclipse Kepler Service Release 1 Server B contained geoserver and my sph data,the geoserver2.4.4 works ...
0
votes
0answers
18 views

OpenLayers transform control box properties

I'm using OpenLayers for my GIS application. My problem is that when I add a transform control to a polygon feature, it looks very "messed up". The box for the transform control is completely ...
0
votes
0answers
19 views

OpenLayers vector feature not being highlighted

I'm trying to highlight a clicked area of a layer using a vector: var highlightLayer = new OpenLayers.Layer.Vector("Highlighted Features", { displayInLayerSwitcher: false, styleMap: mystyle ...
0
votes
0answers
25 views

OpenLayers 2.13.1, how could I make a click, get coordinates, send it to geoserver function?

I am trying to make this very simple function, at the moment I am quite stuck when I have to place the markers as start/end points. I would like to add a marker as start and another as end and then do ...
0
votes
0answers
29 views

OpenLayers Vector Features with common properties in multiple Layers

I am trying to manage features across different layers. Features are displaying weather parameters at some points on the map. Hence there is a wind layer, a temperature layer, etc. which all are ...
0
votes
0answers
8 views

WMC as a permalink

I'm using the permalink control in openlayers but there are limitations in the way it handles map's context. For example if users load an external WMS layer it won't appear in the permalink. WMC has ...
0
votes
0answers
23 views

Multiple layers from one single KML file

Is it possible to generate multiple layers from a single KML file ? If yes, how can we do it on OpenLayers?
0
votes
0answers
26 views

searching data from wms geoserver in jquery mobile

hye all, need someone help, i use template from openlayer using jquery mobile, im really new in openlayer, i want to search data in wms, the coding is below ...
0
votes
0answers
15 views

gt:VectorToRaster in Openlayers

i would like to opa vector table using "gt:VectorToRaster" a WPS function in Openlayers. my vector table is stored in Postgis 2.1 and published in geoserver. i need the code to do this, can you help ...
0
votes
0answers
26 views

Problem with OpenLayers Tile Stitching Printing - All Black Image

I am trying to get an image of my OpenLayer application. I am using this http://www.mapsportal.org/olprint/ and http://trac.osgeo.org/openlayers/wiki/TileStitchingPrinting as a guide. When I click ...
0
votes
0answers
40 views

OpenLayers DrawFeature Vector parameters

"Dear all, in my map application I am using a Vector/DrawFeature approach like this: var refresh = new OpenLayers.Strategy.Refresh({force: true, active: true}); var proj = "EPSG:900913"; var ...
0
votes
0answers
34 views

OpenLayers.Layer.WMS and mapserver

I have a problem when I add a OpenLayers.Layer.WMS, I get a picture of my map but I can't do zoom on it. I read a lot of questions here but nothing help me. My mapfile is: MAP CONFIG "MS_ERRORFILE" ...
0
votes
0answers
21 views

Possible to call Telogis Geobase server from OpenLayers or Leaflet

I've been creating mapping solutions some time with various platforms and one I am currently working on is utilizing Telogis. I'm having a lot of trouble with their JS library, and it's not playing ...
0
votes
0answers
24 views

OpenLayers.Layer.Vector and BBOX

i configured this on my client page var kmlLayer = new OpenLayers.Layer.Vector("KML" ,{ strategies: [new OpenLayers.Strategy.Fixed(), new OpenLayers.Strategy.BBOX()], protocol: new ...
0
votes
0answers
20 views

Its possible to use a c# webmethod with a openLayers.Protocol.HTTP?

Hi Im trying to use c# as a backend of a layer: var layerVehicles = new OpenLayers.Layer.Vector("Dispositivos", { strategies: [new OpenLayers.Strategy.Fixed(), new ...
0
votes
0answers
14 views

based map follow layer wms tiled

I am new to OpenLayers. I want to develop a system. I already get a layer from GeoServer using WMS services; this is the code: var hilirPerak = new OpenLayers.Layer.WMS("hilirPerak", ...
0
votes
0answers
19 views

popup.contentDiv OpenLayers Popup window

Could somebody help with popup.contentDiv()? I don't understand how can I define the HTML div class here. In general I would like to define some customs characteristics via HTML. The source ...
0
votes
0answers
22 views

How to displace overlapping features in OpenLayers?

I have two line layers representing a different bus routes. The bus routes sometimes run through the same street. In these cases, the line layers overlap and only the upmost layer in the stack is ...
0
votes
0answers
14 views

Server Side Thumbnails

I am using a combination of base maps from Google, Bing and OpenSteetMap, along with GeoServer and some geo-spatial data stored on a SQL server, as well as OpenLayers to display maps on a website. I ...
0
votes
0answers
20 views

OpenLayers: Show a styled title similar to pop-up but always visible?

I need to basically create boxes with titles inside, set to different styles (different coloured box, different FontAwesome icon etc.) set to specific points on the map, ideally replacing the label ...
0
votes
0answers
40 views

Animation and zooming in OpenLayers

I need your help. I'm learning to use OpenLayers (version 2.13.1) and I've made some custom buttons to test the controls. Now, I have a button which is bound to a simple setCenter() method that works ...
0
votes
0answers
39 views

Digitizing with OpenLayers Plugin seems incorrect

I am attempting to digitize some buildings based on floor plans using QGIS. To do this, I have taken the blueprints, georeferenced them against openlayers bing aerial plugin. I then digitized the ...
0
votes
0answers
41 views

How to load WMS Layers automatically when using heron MC

I'm using Heron MC with extJS, GeoExt, and OpenLayers 2.13. At first I try the default configuration of the Heron MC and every layers load automatically when I opened the webpage. However, when I ...
0
votes
0answers
17 views

Which are the differences between using javascript openlayer and gwt-openlayer API?

I am about creating a web app which should use openlayer API, but I would like to use GWT too. So I have the following questions: Is it the same to use GWT-openlayers API in terms of functionality ...
0
votes
0answers
20 views

Wrapdateline support in Openlayers for Bing baselayers

I have setup the Bing map as the base layer. I want to have a continuous horizontal panning, so I have added the wrapDateline option in Openlayer for OpenLayers.Layer.Bing map type. However, afer the ...
0
votes
0answers
34 views

Open Layer and Vector seems not working

I configured geoserver (2.4.4) with a layer in EPSG:4326 projection. In my client side I added the openLayer code to read and show this layer as in the following: map = new OpenLayers.Map ("map", ...
0
votes
0answers
33 views

How to change the type of a layer attribute

I want to publish some point on an open layers map I used Postgresql with the geometric column and geoserver using WFS to connect with openlayers but I can't add Postgre or any geographic server to ...
0
votes
0answers
23 views

Openlayer 3 - Layer Drawing order

I have a map with various vector layers, and I would like to be able to decide which layer goes on top of which. I thought that inserting the layers in the map layer group using: ...
0
votes
0answers
26 views

How to make layer group folder into a check box to turn off all layers inside?

I would like to create a geoext layer tree containing layer groups which can check or uncheck all the layers within them. Would anyone know if this has been done or can be done? I was thinking about ...
0
votes
0answers
50 views

OpenLayers displays nothing when I try to add WFS Layer from Geoserver - can't work out where the problem is occurring!

I hope someone can help me with this problem as I'm very confused! I recently downloaded the IHO Sea Areas shape file from http://www.marineregions.org/downloads.php One of my colleagues has ...
0
votes
0answers
24 views

Openlayers stylemap default style doesn't render until mouseover in IE 7/8

I'm using Drupal 7 Openlayers, and adding my own custom behavior. I have no trouble getting my code included, and it works well on other browsers. But in IE 7/8, the layer features render with a null ...
0
votes
0answers
25 views

Draw elevation from mouse move

I recently tried this example but unfortunately It's not working, I don't know why (I've tried as same as possible) My output is I want to use WMS data from geoserver and applied it in CesiumJs or ...
0
votes
0answers
48 views

Why do my geowebcache tiles not work in openlayers client?

var options = { resrictedExtent: restrictedBounds, maxExtent: restrictedBounds, units: "m", projection: "EPSG:31467", ...
0
votes
0answers
33 views

passing tif image as input to openlayers code (wps implementation)

how to pass dem(tif) or raster layer as input to the openlayers ... //OpenLayers.ProxyHost = 'proxy.cgi?url='; OpenLayers.ProxyHost = "/cgi-bin/proxy.cgi?url="; //OpenLayers.ProxyHost = ''; var map, ...
0
votes
0answers
27 views

How to register geometries using OpenLayers and GeoServer in PostGIS?

I put a Editing Toolbar on my page using Google Maps Api as base layer. I want to register lines and points in PostGIS. But I want to know how I can get the longitude and latitude of gemotria (line ...
0
votes
0answers
16 views

Geoserver layer rotation problem

I have a mapping system setup with PostGIS, Geoserver 2.4.1 and OpenLayers 2.12 I am trying to use the geoserver vendor specific parameter "angle" to rotate a layer, and it seems to work fine. ...
0
votes
0answers
25 views

OpenLayer Maps not zooming

Initially the map zoom is set to 8, and that's the only place in the code i can change the zoom, any other location doesn't work. I have a function that draws a marker and a route on the map (works ...
0
votes
0answers
149 views

Add Legend with GeoExt in OpenLayers

I need help with legend display for a WMS layer. So far I did this: - insert a Google Map Hybrid layer - insert a layer called "Vladaia" for creating the page - insert CQL filter for WMS layer - ...
0
votes
0answers
22 views

feature position on non-Geo-referenced Image

I use OpenLayers to show Map , when im creating the map, i want to show map image with an ImageLayer and VectorLayers, the image is non Geo-referenced. The use case: i receiving a map image url from ...
0
votes
0answers
72 views

Print OpenLayers map with osm as background and all the vectors

I looking for an answer for a while, and i could not find a working solution. I am trying to exeport the OpenLayers map to some file - image or pdf, and i need all the background, include OSM and all ...
0
votes
0answers
22 views

MapQuery (jQuery + Openlayers 2) unbind function

I have small gis app build on MapQuery, but development of this libary was stopped 2 years ago. MapQuery have bind function but do not have unbind one. bind: function(types, data, fn) { var ...
0
votes
0answers
9 views

Open Layer Plugin Images Informations

I'd like to know how to find informations about Open Layer Plugin Images. I need to know the date and resolution of the images. Thank you!
0
votes
0answers
24 views

Is there a way to create a named symbol in OpenLayers composed as either a multi-dimensional array or as a MultiPolygon?

OpenLayers provides a minimal set of "well-known" shapes which can be used as point icons: /** * Constant: OpenLayers.Renderer.symbol * Coordinate arrays for well known (named) symbols. */ ...