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

learn more… | top users | synonyms

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 ...
2
votes
1answer
41 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
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
1answer
24 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
29 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
36 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
32 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
20 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
19 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
0answers
36 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
42 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
29 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
42 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
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
1answer
19 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
79 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
41 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
45 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
28 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
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
1answer
56 views

Reading Features From A Google Fusion Tables Table - OpenLayers

Why doesn't this example work? http://dev.openlayers.org/releases/OpenLayers-2.12/examples/fusiontables.html I would like to do something similar but i can not find any other example how to display ...
0
votes
1answer
31 views

WMS BBOX in URL vs in params

I'm new to OpenLayers and Geoserver and I have a problem (of course :P). I must retrieve a layer from Geoserver's WMS service, and I want to construct the URL to request it. If i try to make this: ...
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 ...
1
vote
1answer
43 views

how to limit zoom level in OpenLayers

I would like to have only 3 levels of zoom available (from level 6 to level 8). demolayer2 = new OpenLayers.Layer.WMS( "abc...","http://localhost:8080/geoserver/gwc/service/wms", {layers: 'def...', ...
0
votes
1answer
38 views

How to limit zoom level in OpenLayers [duplicate]

I would like there to be only 3 levels of zoom available in the WMS that is displayed in my OpenLayers.Map (from level 6 to level 8). demolayer2 = new OpenLayers.Layer.WMS( ...
0
votes
2answers
44 views

OpenLayers request a WFS feature

I am trying to request features of a wfs layer and then zoom to them. The wfs layer is defined as follows: wfsLayer = new OpenLayers.Layer.Vector("University", { strategies : [new ...
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 ...
2
votes
0answers
35 views

Thematic mapping [closed]

What is the best way to develop thematic maps? I would like to generate pie charts and fill polygons with different colors depending on a parameter value. I'm working with ExtJS 4.2 and OpenLayers.
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 ...
2
votes
2answers
50 views

How to insert coordinates to url

What would be the approach to show and dynamically update the map coordinates in the url like stamen is doing it? Are there any built in functions in OpenLayers, what other techniqes could I use or do ...
0
votes
0answers
33 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 ...
-3
votes
1answer
67 views

Is it possible to access geoserver wfs layer from localhost:8080 in to web application? [closed]

I want to add a WFS layer. I am trying to get WFS layer from localhost:8080 geoserver. but I am getting eoserver DateLineWrap in Openlayers.js file...
2
votes
0answers
23 views

How would I get number of tiles loaded, and total number loading?

So new to OpenLayers 3, and I'm trying to create a "loading bar" to indicate how much of a layer has loaded. I'm thinking of making it based on the number of tiles loaded so far divided by the total ...
0
votes
1answer
26 views

Zooming to specific polygon boundary Openlayers

I want to zoom to specific polygon boundary of some polygon layer. How can I do this.The map layer is WMS layer.
2
votes
1answer
33 views

How to use POST method with Overpass QL and OpenLayers?

I am using OpenLayers and Overpass QL with GET method to retrieve data from the Overpass server. Some URLs tend to be very long and hence get rejected by the Overpass server. To get around this, I am ...
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
15 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 ...
1
vote
1answer
25 views

Why does geoserver layer disappear when baselayer is false?

I am trying to overlay a layer from Geoserver on an OpenStreetMap base layer. If I load the Geoserver layer as a base layer, I can see it - but if I set baselayer to false it disappears. My code is: ...
2
votes
0answers
32 views

How to install Proj4js.js in my localhost directory?

I'm developing a GIS website for vineyard management. I am using Openlayers with the WMTS IGN (French institute for geography) datas. It works fine. I also would like to add the possibility for the ...
1
vote
1answer
40 views

Error:getFeatureFromEvent is not a function - Openlayers Multiple layer selection

OpenLayers.Control.SelectFeature works well when I try to select single layer from map. But it throws error as getFeatureFromEvent is not a function when I pass a collection of layers to it. ...
0
votes
1answer
26 views

problem labelling cluster features in openlayers

I'm trying to label a vector layer with clustered points in OpenLayers. When the feature is clustered I want to show the value of an attribute of all the features included in the cluster. I've tried ...
2
votes
1answer
45 views

OpenLayers: add WFS layer from GeoServer and OSM

in a OpenLayers HTML file, i'd like to request the default tasmania data of my GeoServer (runs on localhost) and add them as an WFS Layer. The second layer should be an OSM-layer. This is my code up ...
1
vote
1answer
119 views

Development guide for beginner? [duplicate]

Im new to GIS and mapping, and I need to learn how to create web map application for my project. I'm really confused on what to use. I have read PostGIS, OpenStreetMap, and Openlayer. I'm wondering ...
0
votes
1answer
69 views

Problem with snap layer when in name is space

I'm trying to make a option, where user can choose layer to snap. All is okey when layers names are without space, but if in name is space (like 'something layer name') snapping does not work. How can ...
3
votes
0answers
22 views

Opposite than normal behavior in zoom with restricted extent and vector base layer

My map has OSM base layer and i have restricted its extent. This worked normally. Recently i added a blank baselayer so that the only overlays could be shown. base = new OpenLayers.Layer("Blank", { ...