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

learn more… | top users | synonyms

0
votes
0answers
23 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
38 views

Cannot add layer Openlayers 3

I have been trying for a couple of days to perform three very simple tasks combining Geoserver, Opencycle maps base map and open layers 3. I am following the pg_routing workshop as I am using a ...
0
votes
0answers
24 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
7 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
16 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 ...
0
votes
0answers
19 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
21 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
13 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
22 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
37 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
28 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
19 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
35 views

GeoExt 2 + OpenLayer 2.13.1 - Problem with 'OpenLayers.Control.SelectFeature'

I have recently started to work with GeoExt and OpenLayers to generate a web gis application. During the development of this application i have found a problem using the object ...
0
votes
0answers
20 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
15 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
16 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
20 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
11 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
18 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
26 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
36 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
32 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
19 views

random point in geometry (JavaScript, OpenLayers)

I have a standard OpenLayers geometry object - in 90% of cases it is a polygon and in 10% a multipolygon. I need to get a random point in that geometry. I cannot just tase a random border point (using ...
0
votes
0answers
14 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
16 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
30 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
31 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
18 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
23 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
37 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
18 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
24 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
44 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
26 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 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 ...
0
votes
0answers
24 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
15 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
24 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
126 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
58 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
15 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
16 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. */ ...
0
votes
0answers
49 views

Spiderfy Unclustering Effect in OpenLayers

I am looking for a good way to display multiple features (with custom marker icons) all located at the same location. At all zoom levels I need to be able to see all markers at a location either all ...
0
votes
0answers
90 views

Working example of how to use openlayers 2.13.1 + ExtJS 4.2 + GeoExt 2

I've been working in GIS with Esri framework for over two years, so I have some experience in GIS. Now I'm working with open source (newbie) in a geoportal and I would like a some working code for ...
0
votes
0answers
43 views

Can OpenLayers2 render a completely custom font-face in a text or point symbolizer?

I am trying to style a feature using a custom font. Geoserver has an extension allowing external graphics in SLD to be defined by a font. OpenLayers doesn't appear to support this particular ...
0
votes
0answers
34 views

Why is ArcGIS Server 10.0 getFeatureInfo not being buffered?

Using AGS10.0 I have a point featureclass published as wms. In my Openlayers client, I am not able to click on the point and recieve the GetFeatureInfo response unless I hit the target very ...
0
votes
0answers
52 views

How to set default style of layer using rest api in Geoserver

Hello friend, I want to change the default style of the layer in Geo server using the REST API.For this i get this code curl -v -u admin:geoserver -XPUT -H "Content-type: text/xml" -d ...