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

learn more… | top users | synonyms

0
votes
0answers
5 views

How to show a map with queries from a map file connected to postgres in browser using javascript?

So, the problem is how to show a map in browser using javascript? I have a map file with 2 layers in it: "peta" is a shp data from postgis and "korban" is a numeric data from postgresql. And then I ...
1
vote
0answers
49 views

What should be my learning progress regarding GIS open source

I was wondering for a while now, what should be the hierarchy of my GIS knowledge or better to say, learning curve in domain of open source GIS. Should I start with Geoserver and PostGIS then ...
0
votes
0answers
3 views

Openlayers 2 Custom Control Navigation after panning?zooming

How I can customize or extends Openlayers 2 Control Navigation. I dont want to custom the openlayers default, because I'm currently using 2 different map in one page. especially to custom after ...
0
votes
1answer
7 views

Multiple Layers Boundless Suite-SDK ol3view

I am currently building a simple web application with the Boundless OpenGeoSuite SDK ol3view (Openlayer3 viewer) and I was able to get one layer to show up from my geoserver instance but I would like ...
0
votes
0answers
46 views

OpenLayers and GeoJSON

there! Recently I started learning Openlayers 2x and I've been struggling for a while now with a GeoJSON and it's projections. So, here is the deal; I successfully added wms layers from ( ...
0
votes
0answers
13 views

Saving Map on Server Side as Image File

I am trying to save my openlayers map on the server, following these instructions, the sections Client-side: Tile collection and Server side: PHP: ...
0
votes
0answers
23 views

Apply css styles to layers in openlayers3

define layers and styles using openlayers3 API. i need 2 apply css styles for layers.for that code is in below used //applying styles for wms layer var fill = new ol.style.Fill({color: 'rgba(237, ...
0
votes
0answers
15 views

OpenLayers 3 - Monitor layer loading progress

I'm doing an upgrade from OpenLayers 2 to OpenLayers 3. In OL2, I was monitoring the loading progress of layers with their loadstart and loadend events. With grid layers I was even able to show a ...
0
votes
0answers
11 views

Openlayers - zoom specify a sub section of displayed map to zoom on

I have working solution with openlayers 2 ... moving assets are show on the screen, as soon as they go off the screen, the map pans so the asset is visible on screen (on map) However, on the left ...
0
votes
0answers
4 views

OpenLayers.Layer.ArcGIS93Rest in Firefox (openlayers 2)

There appears to be an error when using OpenLayers.Layer.ArcGIS93Rest in firefox (works fine in chrome) where the request is aborted. No explanation of why. If I plug the token directly into the url, ...
0
votes
0answers
14 views

Openlayers GetFeatureInfo not working all zoom levels

I am sending GetFeatureInfo request to wms service. My parameter is like this. When I click to map, map click event is firing and I am sending this request to server. var params = { ...
0
votes
1answer
22 views

OpenLayers/jQuery without CDN?

I was wondering what are the necessary files for hosting a webgis server with OpenLayers3 without using a CDN? I am testing on a localhost without internet access. It doesn't work to merely copy ...
2
votes
2answers
53 views

Get single layer in OpenLayers 3

I am doing an upgrade from OpenLayers 2 to Openlayers 3 and it seems to me that in OL3 there is no direct way to get a layer from map by its id. In OL2 it was like: map.getLayer(id) If we look in ...
0
votes
0answers
23 views

shape file is not getting added on open layers web mapping application

I am trying to add a shape file which is already on IIS SERVER.it is returning the error code 0x805e0006. When I am trying to open this shape file url in browser it is not getting downloaded also.From ...
0
votes
0answers
12 views

GeoServer 2.6 + PostgreSQL 9.3.5, GeoServer becoming unresponsive

We're displaying point vector data on a web client using an OpenLayers (2.12) WMS layer... rendered via a GeoServer SQL View reading from data in PostgreSQL. The particular layer has a viewParam on ...
1
vote
1answer
25 views

How to get list of all markers from selected Polygon using OpenLayer MAP v2

I am able to run following features on OpenLayers Map Version 2.x Put Markers on Map Draw Polygon on Map Select Polygon on Map Now my requirement is when i select any polygon then i would like to ...
1
vote
0answers
20 views

draw isoline from points

Is any spatial utility or methods are available for creating contour or isopleths on Oracle spatial? I want to create contour from point geometry show it on map (using mapserver) to site. Pleas share ...
4
votes
2answers
261 views
+50

Misplaced Google Maps with OpenLayers plugin in QGIS?

I was using Google Maps with OpenLayers plugin in QGIS with my vector layer with projection EPSG:4326 with google map projection EPSG:3857 and "on the fly" transformation enabled. It was matching ...
0
votes
0answers
22 views

Openlayers 2 - and google maps for work

We have a website that is not publicly facing and people have to pay to use it According to google, this means we have to pay their 10,000USD per year licence fee However, does anyone know if the ...
0
votes
0answers
23 views

use geoserver as source of vector layer in ol3

I am using postGis and geoserver and Openlayers3 (OL3), I connected postgis table to geoserver and published my layer. I am using following code to get the layer as vector layer: var vector = new ...
0
votes
0answers
27 views

Longitude and Latitude Mixed Up on Map

I am trying to map a WFS layer with data originally coming from a PostGIS table, and using a OpenLayers 3. At some point in this process, I believe the longitude and latitude coordinates are getting ...
0
votes
1answer
54 views

Apply an sld to a vector layer in OpenLayers

I'm trying to apply an sld style to a vector layer in Openlayers. I already took a look on google and here and I got a lot of informations, but still I don't manage to achieve the result I'm looking ...
0
votes
1answer
46 views

OL3 the text is incorrectly aligned

Using OpenLayers3 I have observed an incorrect alignment of the text when styling the features of the Cluster source. Also the baseline of the text appears to be ignored. The below code sample (or ...
0
votes
0answers
32 views

Publishing on my own Domain a Map Created by Geoserver,OpenLayers,HTML

I created a basic web application overlaying layers created in Geoserver on top of an Openstreetmap. It works pretty well, I can put the index html to my website and when I accessed my webpage I can ...
0
votes
0answers
20 views

How to rotate label in OpenLayers 2.13?

I need custom rotation in feature text labels. Although this functionality is available in OL3, but at this moment I am unable to migrate to OL3 from Ol2. I have tried changing SVG code at some ...
1
vote
0answers
21 views

Web Application with data editing capabilities by users stored in Geoserver

I have been using GeoExt/Extjs/Openlayers/Geoserver for some time.I have created a web application for mapping features in a county.I wanted to know whether there is a way I can add (edting/Addnew ...
1
vote
0answers
18 views

OpenLayers 3 modify end event

I want to save the geometry data after I modify it, so I need an event that fire after I finish to modify the feature. I use the following from this post: listener modify interaction var ...
0
votes
1answer
13 views

Openlayers stylemap label not working wfs

I have created a style map like following: var scadaPointStyle = new OpenLayers.StyleMap({ "default": new OpenLayers.Style("null", { "rules": [ new ...
1
vote
2answers
61 views

How to visualize pgrouting result?

So I use this query SELECT seq, id1 AS node, id2 AS edge, cost FROM pgr_dijkstra(' SELECT gid AS id, source::integer, ...
0
votes
0answers
10 views

QGIS SLD files not working on geoserver 2.5 [duplicate]

I am using geoserver 2.5.x version. I want to use that created SLD style files with QGIS and use it WMS GetMap. My QGIS version is 2.4 and it creates SLD files version 1.1.0 This is my simple SLD ...
1
vote
0answers
16 views

Overlap feature's style with layer style

I have a Vector layer, where each feature is created using a image with different rotations. var point = this.__getFeaturePoint(); featureStyle = { externalGraphic: this.__getImageURL(), ...
1
vote
1answer
28 views

Using WMS external SLD with OpenLayers application

I want to use external SLD file in my OpenLayers application. So I created WMS layer like this: var ly= new OpenLayers.Layer.WMS("mylyer", serverurl, { layers: ...
1
vote
0answers
58 views

QGIS Crashes with OpenLayers plugin

I've just updated to QGIS Brighton on Ubuntu 14.04, and I've noticed that when I open Openlayers plugin, in order to load google layers, the whole program suddenly crashes. The only log I see, when ...
0
votes
0answers
19 views

Openlayers zoomToExtent - can i specify a max zoom level?

i'm using the following code map.zoomToExtent(markerLayer.getDataExtent()); this works fine, for multiple points, however, if just 1 point is being displayed, the zoom level is on MAX ...which ...
1
vote
0answers
36 views

How do I display GroundOverlays in OpenLayers 3 (from a KML)?

The back-end I'm working with serves KMLs in the following format (data is stripped for confidentiality): <?xml ...> <kml ...> <Document> <open>1</open> ...
0
votes
1answer
20 views

Openlayers event cluster feature id does not appear on layer vector feature id list

My application's objective is to click on a cluster and produce a popup with a list of all placemarks clustered there where every entry is a hyperlink that closes current popup and opens a new ...
2
votes
0answers
51 views

Building a ol3 webapplication with dynamic content and user registration

My setup: currently i'm using a postgis database, get it with a geoserver and display it with openlayers 3. I use the wfs data to display the features in clusters and i'm able to edit them with wfs-t. ...
0
votes
1answer
26 views

Tiles are missing when request from Openlayer2

I have configured a Tile server and i followed the Link for OSM Tile server from switch2osm everything is fine, except when i tried to get the tiles using Openlayers its not serving. But if i give ...
1
vote
1answer
36 views

Including WMTS Layer from API in Openlayers2

I´ve generated a map API from the GBIF data portal. It shows points from the country Mali. I included the API as a WMTS in Openlayers2, but I dont know how to change the xyz accordingly, so that my ...
0
votes
2answers
32 views

How to make openlayers features externalGraphic reappear after hiding

I'm displaying a vector layer with pois, generated from a text file: lat lon icon iconSize iconOffset title description 56.030325 14.4774116666667 ...
0
votes
0answers
37 views

pgRouting with my bus network and select the best of the available routes?

so here's the case: I have been using postgresql/postgis, openlayers and pgrouting to create an online application that selects and visualizes the best of the availabble routes. My problem is though: ...
3
votes
1answer
69 views

OpenLayers Map From QGIS Server

I am creating my first map using OpenLayers and I am having trouble. The map was created with QGIS Desktop 2.6, and I am using Ubuntu 12.04. The WMS service is QGIS Service. This is my first try doing ...
0
votes
1answer
19 views

Cant align TMS on OpenLayers Map

I would like to add this TMS layer as my baseLayer. You can see the layer specs here I am doing like this to create the layer: var tmsLayer = new OpenLayers.Layer.TMS( "Gouvernement du Quebec", ...
2
votes
0answers
56 views

mousemove event is fired with IE and firefox but it is not fired with chrome [closed]

I am using mousemove event to do some code when the mouse get over features, the code below is working well with IE and firefox but It is not working with chrome ...
0
votes
1answer
37 views

Openlayers 2 - zoom to multiple coordinates

I have multiple asset icons on a map I want to be able to zoom to show all icons on the map I have the Lat and Long of each asset Currently, i have it working with 1 asset as I can use this code to ...
0
votes
1answer
74 views

How to calculate the optimum bus route using pgrouting?

My setup for my web page is OpenLayers, Postgresql/postgis and pgrouting. What I do not understand is how I am going to do the routing.I have read many tutorials but I don't understand what my next ...
2
votes
1answer
70 views

ArcGIS93Rest for Openlayers 3

In Openlayers v2 I could get a map from an ESRI server that was not a cached service using code similar to below var arcims = new OpenLayers.Layer.ArcGIS93Rest("MyName", ...
0
votes
0answers
49 views

How to overlay Google Map in a standalone PyQgis application?

I have created a standalone PyQGIS app (within Python itself, not a plugin) with PyQt and PyQGIS API. It generates my map really well. I would like to overlay a Google Map layer as base map just like ...
1
vote
1answer
35 views

OpenLayers 2 / MapServer: Limited zoom levels

I want to display a MapServer raster image with OpenLayers 2. My problem is that I cannot zoom into the image although the resolution should allow it. This is what I have so far: ...
3
votes
1answer
40 views

ol.style.Rule is implemented in v3.0.0-beta.1 and not in v3.0.0

Can we use ol.style.Rule and ol.expr.parse in OpenLayers-v3.0.0? I cannot find them but they are implemented in OpenLayers-v3.0.0-beta.1.