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

learn more… | top users | synonyms

1
vote
1answer
57 views

Configuration with geoserver openlayers

I did the following: 1 - I installed geoserver by the installer for Windows as a service and standard folders . 2 - Open http://localhost:8080/geoserver/www/ol-demo.html to test my geoserver WMS ...
0
votes
0answers
117 views

Openlayers Base Layer is disappeared after adding more than 15 Overlays from Geoserver

I have developed a webmap application using Geoserver 2.4.0,Tomcat7 on Windows 2008 32bit Server. JVM Client. I have enabled GeoWebCache to speedup the map loading and configured separate directories ...
0
votes
0answers
53 views

Open Layers Bounding Box, Flickr API, and popups?

Ive been using the code from the BBox strategy with my Flickr API to display photos on my map with some success. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/strategy-bbox.html ...
0
votes
2answers
925 views

How to install PostGIS and OpenLayers plugins?

I am new to QGIS and have installed the QGIS v 2.2.0. For adding google map as a base layer I need to install OpenLayers plugin. I also need to add the PostGIS plugin for DB management purpose. Can ...
2
votes
2answers
444 views

Google Maps Coordinates Problem

I have been trying to use google street maps with the help of OpenLayers, but Every time I am running into a problem with this google maps coordinates. The Coordinates of a location named 'Asab, in ...
1
vote
1answer
45 views

Query data without opening up database?

I have a bunch of polygon data that I want users to be able to sort/filter based on certain criteria. I have the data in a CartoDB table, and can pretty easily use some SQL calls to achieve what I ...
0
votes
1answer
98 views

Geoserver 2.4.5 with Openlayers 2.13.1 overlay WMS layer

I'm using GeoServer with OpenLayers, happens that my WMS layers do not appear. Do I need to overlay a WMS layer in PostGIS that I have with google maps api and does not work appears in WMS layer ...
2
votes
2answers
291 views

Convert DWG/shp format for Openlayers

I need to convert DWG/shp files to some vector data file that is supported in Openlayers (e.g KML,GML). I tried following this guide but it doesn't work. Please advise me some converter (not ...
0
votes
1answer
403 views

Raster overlay in openlayers

I am using openlayers and recently started to learn it from the 'Open Layers CookBook'. I have been able to get Google Maps and WMS layers as base layers and even a vector layer overlayed correctly ...
0
votes
1answer
233 views

Overlay wms + google layer in Openlayers

I want to use OpenLayers, GeoServer layer with the google maps api as a base. In my GeoServer layer is redesigned to EPSG: 900913 when I open the geoserver openlayers with everything ok. On a map ...
0
votes
0answers
91 views

404 Error with Openlayers WMS layer

I'm trying to create a map with the combination of openlayers and extjs. The map works fine and everything seems to be fine except for a a few 404 errors which I get in the browser console. Although ...
0
votes
0answers
15 views

Icon in my map using his natural size

I'd like to show the Icon in my map using his natural size (width and height original). How can i do it? Now i have this code: var contextResource = { getWidthIcon : function(feature){ ...
0
votes
0answers
23 views

popup in unrequired field/layer

I am new in webGIS. I am using WMS layer. I used ftl file in the geoserver directory and WMSGetFeatureInfo for popup required information. Every thing is ok but the popup activates even in unrequired ...
0
votes
1answer
206 views

Google maps api + Open layers

I need to open google maps in Latitude: -30.0330600 Longitude: -51.2300000. We report that the object map or call the api? <!DOCTYPE html> <html lang='en'> <head> <meta ...
1
vote
1answer
657 views

Cannot read property 'wrapDateLine' of null - Open layers

My code is giving the error: Uncaught TypeError: Cannot read property 'wrapDateLine' of null OpenLayers.js:192 OpenLayers.Map.OpenLayers.Class.isValidLonLat OpenLayers.js:192 ...
0
votes
1answer
101 views

Open Layers button event

I'm using OpenLayers 2:10 Beginers Guide ebook. This code is APRA create a button click event in an opacity and zoom the map. But already rewritten several times and does not work. Nothing appears. ...
1
vote
0answers
49 views

No Popup for bottom layers, only top layer works

I have an OpenLayers Map. On this map, I have three overlay layers. The first 2 layers come from one GeoServer Layer/data source, with two alternate styles. The 3rd layer is a separate GeoServer Layer ...
2
votes
2answers
100 views

markers disappear on map

I do not understand why the markers disappear, zoom 6, only in this area map. Do you have an idea? Map
0
votes
0answers
167 views

offline OpenLayers with MapQuest not showing (openlayers asking wrong tile names/zooms

i´m beginning on GIS, trying to show maps offline, from the disk. I got the tiles from MapQuest, level 6 to 12. I´m trying to show them with OpenLayers but it´s only showing empty rectangles. ...
0
votes
0answers
5 views

How to add cross origin filter settings in org.mortbay.jetty? [duplicate]

I am using GeoServer 2.4.0 on Windows 2008 Server. I have installed Geoserver by using windows installer. My problem is I dont know to add cross origin filter settings in Jetty. When I have searched ...
1
vote
1answer
43 views

GeoDjango Scale/Layers issue?

I've been having issues visualising data from a shapefile in GeoDjango using OpenStreetMaps. I believe it's some sort of a scale issue because of how it appears(as you can see in the screenshot of the ...
1
vote
1answer
92 views

Dynamically add style to layer with user inputs

I am trying to create an sld dynamically using parameters accepted from user. So how could I accomplish the task of adding the dynamically created sld to my map layer? Please tell me how to add style ...
0
votes
0answers
56 views

how to easily serve vector layer with extra attributes for openlayers

On a website I'd like to show an openstreetmap with buildings colored by a certain feature (tag). So far I was able to extract the buildings for a bounding box, save them as an osm file and load it ...
0
votes
3answers
198 views

OpenLayers 2.13.1 - Google layers

I'm following the examples of a free on OpenLayers, in the code below I am calling various layers of google maps api. Have checked with the code book and is correct but nothing appears on the broswer ...
2
votes
1answer
103 views

Problem with matching a buffer in Openlayers and the same buffer in PostGIS query

I am using a buffer tool to create a buffer on my base map in Openlayers. In addition to creating and visualizing this buffer, I pass the center point and radius to a query. The query collects all ...
0
votes
0answers
280 views

OpenLayers modify selected feature

I am trying to modify an already selected vector (feature) in Open Layers. In my map i have implemented "select on click" functionality, so what i would like to achive is to have a "Modify" button ...
2
votes
5answers
423 views

Failure in removing a layer in OpenLayers

I'm adding some layers on a base map using OpenLayers. The aim is to create a layer with some features in it and later when user changes his prefered query, some other features need to be shown, so ...
0
votes
0answers
109 views

IE8 Openlayers load thousands objects problem

My client works only with IE8. He has openlayers map that he want to load 3000 polygons on it. Chrome and IE9 can do this easily, but IE8 freeze. Objects come from web service as json xml , being ...
1
vote
1answer
78 views

Openlayers wfs no fid being passed from tinyows

I have a webapp - OpenLayers<->tinyows<->postgis. With 1 layer I have a problem. On localhost all works well - here is a snip of the xml I get back: <gml:featureMember> <tows:trad ...
1
vote
0answers
217 views

How to fix the possible memory leak issue in Openlayers 2.13.1 version?

Recently we have upgraded the Openlayers from version 2.12 to 2.13.1. However the performance of the new version is not that promising, infact it has degraded exponentially. I have a draggable model ...
0
votes
2answers
147 views

Projection problem? — OpenLayers, Drupal, and MapBox

I've installed OpenLayers in Drupal 7 and created a view that pulls geofield data for a "Geography" vocabulary (states, tribes, and U.S. jurisdictions) and shows points on a map that I'm storing on ...
0
votes
0answers
302 views

OpenLayers map in jquery UI dialog

I asked the question here but haven't got much reply. I guess this is a better place :) When I put OpenLayers map in a dialog, the zoom wheel seems not working. Also, when trying to resize the ...
1
vote
1answer
157 views

CartoDB map in openlayers

Is there a way that i can upload my CartoDB map in Openlayers as a WMS layer or Vector layer. Here is the my CartoDB map link. http://cdb.io/1nxdrpf
0
votes
1answer
60 views

How to Update Multiple Fields of one Layer Using WFS Service

Trying to update two fields of a shapefile using a WFS update service published from GeoServer 2.4.3 with OpenLayers 2.13.1. I have a JavaScript with all the OpenLayers fun and a HTML document with ...
0
votes
0answers
88 views

Adding vector layers on top of gdal rasterized image

I used gdal2tile.py on a big image (actually its screenshots of image map) and now I have a nice openlayers-powered map I can pan and zoom around. But now I want to add a vector layer on top so I can ...
0
votes
1answer
34 views

geodjango + OL bbox strategy

I managed to learn the fundamentals of Django, GeoDjango and know OpenLayers for a while. Now I realize a project with a lot of objects with point geometries. To make the user map fast and responsive, ...
3
votes
0answers
68 views

Is it possible to link Google maps API for business from Openlayers?

I want to know whether it is possible or not? to get Google's 3 layer types in openlayers, nothing more. Just I came across a web-page about supplying private key from openlayers to google maps for ...
1
vote
0answers
55 views

Openlayers OverviewMap control with vector layer data display

I am creating an OverviewMap control in the map and want to see the content of a Vector layer in the overview map too. var mapOverviewOptions = { mapOptions: { ...
0
votes
1answer
331 views

How do I create a static popup in OpenLayers that contains HTML content?

I would like to create a static popup using openLayers 2.11 which is always in the lower-right corner of the screen and appears on map load. The idea behind this is to have a logo for my school ...
4
votes
0answers
146 views

GeoJSON shape distorted on Leaflet.js spherical mercator WMS map [closed]

I have a map with a simple WMS layer in spherical mercator projection (rendered by a OSM-Mapnik-TileCache server stack, everything is in EPSG:900913 / EPSG:3857). First: I can't understand why, if ...
1
vote
1answer
45 views

OpenLayers Projection and Datum Question

I had a conversation with a co worker that was asking about an OL map I am developing. She asked me what the 'projection' was and I said EPSG:4326. She didn't know what that means, so I said it's ...
3
votes
1answer
169 views

Loading multiple feature types as one layer in OpenLayers

I have a kml file which contains some polygon and some point features in the same file. I am trying to load and view this layer on my basemap in OpenLayers. The problem is that the polygon features ...
0
votes
2answers
353 views

OpenLayers Point was removed after draw Path

I want to draw some path by using OpenLayers. Add new Layer var mLayer = new OpenLayers.Layer.Vector("New Layer", { styleMap : new OpenLayers.StyleMap(markerStyle) }); var ...
0
votes
0answers
23 views

Access to the nearest line by clicking on OpenLayers

i need to access to the nearest line by clicking on my Layer how can i do it? for example take a look at this photo.
3
votes
4answers
137 views

How to select features in OpenStreetMap

I'm using OSM (online) with OpenLayers to show my map (I don't have a mapserver) but when I do this: map = new OpenLayers.Map( 'map', {numZoomLevels: 7, units:"km", minZoomLevel: "10" } ); ...
0
votes
0answers
31 views

Adding dynamically created sld to openlayers map

I am trying to create an sld dynamically using parameters accepted from user. The problem is that when I create the sld and add it to the layer the openlayers get request error occurs. I come to the ...
0
votes
2answers
34 views

OpenLayers Handler Point image

I am trying to draw a marker by EditingToolbar but I don't know to change style of point. I want to draw an image instead of a default point. Could you show me how I do it?
2
votes
3answers
220 views

ShapeFile to GeoJson conversion

I am working with OpenLayers. I want to convert ShapeFile into GeoJson format and send it to browser to show with OpenLayers. But problem is when the size of my shape file is so big like 60MB or ...
1
vote
1answer
105 views

Mapserver WMS, features clipped and positioned

How can I prevent features being clipped at tile boundaries in an WMS layer as per the picture The arrow and line segments are being clipped when viewed in openlayers as a WMS layer. The map file ...
0
votes
0answers
15 views

style loses to default(orange) with zoom in and out in openlayers

i was doing a project using openlayer and did some code to load wfs vector layer with STYLE on loading and during mouse hover which worked well .but when it zoomed in or out for the first time it ...