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

learn more… | top users | synonyms

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
1answer
30 views

Syntax for using ArcGIS for Server layer with WMS service?

I am having some issues with getting an image/png format from an ArcGIS Server. The console returns: Resource interpreted as Image but transferred with MIME type application/vnd.ogc.se_xml: ...
5
votes
0answers
2k views

Open Layers Plugin and QGis 2.4 [closed]

I have installed Qgis 2.4 with the stand alone installer and the OSgeo4w too on three different computers. Two have win7 64 and one vista 64. It seems that the Open Layers plugin does not work ...
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
1answer
38 views

OpenLayers 3 mousePosition projection on the fly

Here is a part of my HTML. I'm displaying coordinates in epsg:3857 using ol.control.MousePosition(). I'd like to convert these on the fly in another epsg:2154, not supported by default. Anyone has an ...
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 ...
1
vote
1answer
35 views

How to detect openlayers feature vector intersections in any zoom level?

I have to change vector feature when vectors are intersect each other, I wrote the following code: // check all vectors features (arrows) in the current layer for intersections allArrowFeatures = ...
1
vote
1answer
60 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
28 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 ...
1
vote
1answer
68 views

openlayers - Access to geoserver layers with php authentication

I disable all anonymous requests (wms/wfs/... ) to my geoserver, but now I can't access to any layer from my openlayers app. I want to know if it is possible authenticate on my geoserver via php or ...
0
votes
0answers
12 views

Create shapes using google streets layer of openlayers plugin [duplicate]

I am using openlayers plugin to use as the base layer of streets google. I have attached the picture that you can see that the more I give to zoom overlay layer moves. When I used another shape as I ...
1
vote
0answers
40 views

Openlayers Map Marker / Popup Behaviour Mobile Devices

Quick overview. i am creating a site with a map using Openlayers and Open Street Maps. User clicks on map and fills out a popup form and submits form. Markers appear at lonlat points where map was ...
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 ...
3
votes
1answer
20 views

OpenLayers rules and context, what is the difference?

OpenLayers.Style employs two properties, "rule" and "context" which accordingly contain an array of OpenLayers.Rule and a set of methods. I have noticed that "context" can somehow substitute "rule". ...
1
vote
1answer
43 views

Openlayer3 basemap appears white block in Chrome

i faced interesting an issue on Chrome. im using google's 4 number base layer (street, hybrit, etc.) When my tiles are loading over baselayer, baseLayer becomes white block. Why? No any issues on ...
0
votes
1answer
15 views

OpenLayers Vector Legend

I am looking for ways to add legend icons for vector features in OpenLayers. I am aware that GeoExt does this and have trawled through the code - but its not at all clear to me how it functions. Any ...
4
votes
1answer
38 views

Layer is refreshed after an ajax request with openlayers

I can't understand why my vector is empy after this ajax request : function loadKMLTMINT(terminalcode) { MapPanel.el.mask(); Ext.Ajax.request({ url: 'php/GetKMLTM.php', ...
1
vote
1answer
28 views

How do I cycle through the available Overlays and Base Layers using OpenLayers

I would like to have my map cycle through the display of loaded overlays and base layers using Javascript or jQuery. I would like to do this with a delay of 5 seconds between cycling. Does anyone ...
0
votes
1answer
17 views

OpenLayers: How to remove custom controls?

I am trying to remove custom draw controls from my OpenLayers application which I create like this: var drawControls = { polygon: new OpenLayers.Control.DrawFeature(polygonLayerFreehand, ...
1
vote
0answers
18 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 ...
4
votes
3answers
98 views

Is there a API which return the geojson data for a countries borders?

Is there a simple free REST API where I can send the name or code of a country and get in return geojson data which highlights it's borders ? I'm writing an application where I will have a changing ...
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
24 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 ...
1
vote
0answers
13 views

Many layers from a unique KML files ? (OpenLayers)

I have a KML file generated from a server that contains many networks. I want to know if is it possible to generate one layer for each network from this single KML file ? Thank you!
0
votes
0answers
14 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
1answer
61 views

Do I need a Google Map API key for using GoogleMap in my project?

Do I need a Google Map API key for using GoogleMap in my project where I am using OpenLAyers2.13?
0
votes
2answers
59 views

How to change Overlays checkbox feature in layerlist to radio button

How to change the default checkbox button of Overlays in Layerlist to radio buttons. My cliet dont want his users see more than one layer on the map. Is there any way that we can prevernt the ...
1
vote
1answer
79 views

Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination?

I am developing an web GIS for map data presentation for public. Is there any readily available implementation of Mapserver (or Geoserver)- Postgres-Openlayers combination or similar? More Details: ...
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 ...
2
votes
1answer
52 views

layer disappear on Openlayer after specific zoom in

i have added some layer(s) and baselayer using openlayer v 2.11, layer does not appear when it first opened the page. But After zoom out it does appear. Why is behaving in this way, any params for ...
0
votes
0answers
39 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
1answer
27 views

Using a tree menu beside openlayers

Is there an aplication to add tree menu for the map showed with openlayers? I mean show a map on my site exactly how is showing in google earth for example, my layers organized in folder/subfolder, ...
0
votes
0answers
31 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
1answer
39 views

OpenLayer - center map based on lon/lat of POI

Is it possible to center the map to the coordinates of a POI, imported by using a text file? (OpenLayers.Layer.Text) var pois = new OpenLayers.Layer.Text( "My Points", { ...
1
vote
1answer
36 views

How to have two OpenLayers maps on the same page

Specifically, my question is: how to assign the maps to different divs? In my page it kept placing the two maps under each other, although I defined the divs to be horizontally aligned. So I have been ...
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
1answer
23 views

openlayers and specific symbol

I m trying to use a specific marker with my geojson file. they dont show up depsite my readings and firebug. can any1 help me plz ? Thx var map = new OpenLayers.Map('map' ); var ...
0
votes
1answer
50 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 ...
1
vote
1answer
46 views

Proxy to work with OpenLayers and Geoserver Locally with IIS express

I need to set a proxy to work with OpenLayers and Geoserver, which are both using a different port on my pc. I'm the site with openlayers is hosted IIS express and I'm not using Apache (so the ...
0
votes
1answer
33 views

how to refresh a layer using openlayer

in geoserver I configured a layer containing positions that change in time (they are smart phone positions indeed). I'am able to insert fresh position in geoserver datastore (a postgis db), but I'm ...
0
votes
1answer
44 views

Adding controls to OpenLayers maps - is this good code

I have multiple OpenLayers maps, each map gets a subset of controls that I use across all maps. In the past I have added controls in the traditional way, for each control. var control = new ...
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
19 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 ...
1
vote
1answer
23 views

Load a vector only for a specific zoom

I have a map with 4-5 vectors. At the beginning, the loading of the web application is very very slow, but was fine before I've added a new one vector, which is used only for little zooms. Is it ...
0
votes
1answer
87 views

Minimum hardware requirements of server for host ArcGIS Server / QGIS / GeoServer? [closed]

I want to buy server on (Hetzner or other) for host the OpenLayers map on site. Well, I do not understand what the performance should be the server. I know that it depends on many factors (size, ...
0
votes
1answer
51 views

Add features to vector layer from WFS protocol read response

Im trying to add the features i get from a WFS query using the WFS protocol. But something doesnt work. I have looked at other post with people having similar problems, but their solution dont fit ...
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
1answer
50 views

How to Represent large data using google map api in javascript

1) I am trying to represent data using bins as the data was too large to display each and every point simultaneously. but the problem with this also existing if the no of bins are getting larger ...
0
votes
1answer
34 views

OpenLayers with MVC and SQL Server

I have imported some shape files into SQL Server 2008. Now i want to use OpenLayers with my MVC 4 application to render those shape files from SQL Server Database. Any help in this regard?
0
votes
0answers
18 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 ...