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

learn more… | top users | synonyms

0
votes
0answers
26 views

Openlayer not support touchstart for map object?

For a while, our website only supports desktop environment so we didn't set up any touch handlers. Openlayer working fine so far. But today we got a request to add support for touch devices too. ...
0
votes
0answers
36 views

Bing Open layer shows ok in QGIS and Composer Preview, but is misaligned after exporting to PDF

I have QGIS 2.2 running on a Mac with iOS Maverick. I have prepared a map with layers with different CRS, including a Bing Open Layer as base layer. The project has the 'On the fly coordinate ...
0
votes
0answers
27 views

Openlayers WFS change featureType

I am trying to change wfs featuretype "on the fly" in openlayers. (This method http://dev.openlayers.org/docs/files/OpenLayers/Protocol/WFS/v1-js.html#OpenLayers.Protocol.WFS.v1.setFeatureType) This ...
0
votes
0answers
30 views

How to cache write Google Maps in OpenLayers?

How can I cache write Google Maps in OpenLayers? Cache writing function of OpenLayers works with other maps but I have difficulty implementing it with Google Maps?
0
votes
0answers
33 views

GeoExt2 projection problem with OSM and googlemaps

First of all, I already see the topic in Difficulty to display WMS and Googlemaps layers using Geoext and ext but I'm still not able to find an answer. I'm using the example in ...
0
votes
0answers
57 views

CQl Filter Don't work with WFS layer in Open Layers

I used a WFS layer from geoserver in open Layers it's shown on MAP but when I want to use a filter it doesn't work I don't know where the error this is the code : <script ...
0
votes
0answers
21 views

about updating WFS with popup

I want to ask you something about this How to collect data via WFS and Popup I started to build my own WebGis using openlayers and geoserver, but I'm newbie here I want to add form to update the ...
0
votes
0answers
31 views

Speed-up the GIS dynamic web application

I don't know if this is the right forum to ask this particular question but I would definitely appreciate any support or clue in this regard. I am have made a dynamic web-GIS application on Eclipse ...
0
votes
0answers
44 views

Openlayers doesn't want to show map throught Mapserver

I have a configured Mapserver with WMS service, I know Its working because I tried in QGIS and I can see the map. The problem is that openlayers doesnt want to show the map via mapserver service. Yes, ...
0
votes
0answers
50 views

Preload tiles in OpenLayers 2 and add them to the map

I have an XYZ layer on an OpenLayers 2 map. Now I've written a function to preload all tiles of map.getExtent().scale(2). That works, but when I pan the map, the tiles still appear after a small time ...
0
votes
0answers
119 views

Openlayers WMS GetFeature Info Pop Up Not Working / Mapserver

I am new to OpenLayers and Mapserver .. I have been trying for days and am not able to make it work I want to make a Pop Up for Get Feature Info but nothing appears when i click any place This is ...
0
votes
0answers
26 views

how to add layer style in geoserver using gxp_styler by GXP api

I am using GXP api(open Geo Suit) for my GIS application.I want to add style to layer using gxp_styler plugins.This plugin is working fine for me but the problem is that when i add a new style to ...
0
votes
0answers
29 views

openlayers setCenter issue (other posts on this do not solve it)

I can't get map.setCenter to display an OSM layer (via openlayers) centered at my specified coordinates. Instead it defaults to the West Coast of Africa. The zoom level does however work. Both of ...
0
votes
0answers
32 views

Don't cancel the click event on a SelectFeature

On my OpenLayers map I have a custom Control that has a ClickHandler. I also have a SelectFeature on one of my layers. I need the ClickHandler to fire even if a SelectFeature is clicked. I tried: ...
0
votes
0answers
33 views

OpenLayers GeoJson style

I have a GeoJson that I'm displaying in OpenLayers. I created a style map and added it to a layer. The problem is that in GeoJSON I have two types of features - Points and Linestring. And they both ...
0
votes
0answers
20 views

openlayers undoRedo and Ragbag of components library conflict

I am currently using this example (link below) for modifying feature http://jorix.github.io/OL-Ragbag/examples/modify-feature.html and now I'm trying to add functionality for undo/redo ...
0
votes
0answers
12 views

Layers change position when saving to another data format

When I save my map after using the composer, the layers move a little bit on the images of the OpenLayers plugin. It is like they ignore the CRS option. Do you have an idea?
0
votes
0answers
30 views

maintain different style for each feature in same layer

on feature selection, I am trying to change feature style of selected feature.so that assign different style to each selected feature that exist in same layer. I have done this successfully but when I ...
0
votes
0answers
41 views

Openlayers - Many broken tiles with vmap WMS in EPSG:900913

I would like to use the vmap WNS (http://vmap0.tiles.osgeo.org/wms/vmap0) in an OpenLayers map. I encounter many broken tiles (pink) when using the srs: EPSG:90013 contrary to EPSG:4326 and that at ...
0
votes
0answers
45 views

How to (using OpenLayers) panTo/setCenter on a OpenLayers GeometryPoint

Xpost from Stackoverflow. First, I'm new to OpenLayers. The following is a snippet of HTML which represents a couple of images on a map rendered via OpenLayers. QUESTION: using the information below ...
0
votes
0answers
569 views

Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess

I'm trying to use the openlayers vector class. And the error occurred: Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess I've put ...
0
votes
0answers
34 views

Open Layers 2.13.1 Image Layer Zoom Animation Issue

I updated my web app to use 2.13.1 from 2.12 and see that Image layers now animate zoom level changes? I don't believe it previously did this and investigating the code only briefly, I'm not sure how ...
0
votes
0answers
79 views

Looking for mobile web app map control that can handle layer redraw with good performance

I want to develop mobile web app to track GPS coords in real time (refresh every 10 seconds) from geoserver. Currently I have desktop site I wrote in ExtJS 4 and it works pretty well (Openlayers + ...
0
votes
0answers
43 views

show .bil file with openlayers

There is a WMS service http://www.nasa.network.com/elev?REQUEST=GetCapabilities It can return files with the next formats: image/bil application/bil application/bil16 application/bil32 Then we want ...
0
votes
0answers
30 views

Using WMTS Stream in OpenLayers

I am trying to write some OpenLayers javascript that can display a WMTS stream from a publicly available REST service located at: ...
0
votes
0answers
40 views

OpenLayers on a Tablet running Win 8 - WFS and Doubleclick-Zoom and Zoom-gesture doesn´t work

we have our Website (OpenLayers/GeoServer with WMS and WFS) tested on mobile devices (Android mobile, iPhone, iPad and a tablet running Win 8). On the Android and Apple devices this page works fine, ...
0
votes
0answers
40 views

Calculating scale from tiles using their envelope

I have a few problems I need to solve, and it comes down the the below example. It may be my understanding or the way I am doing it. Can someone please explain why my logic does not work. I am ...
0
votes
0answers
69 views

FME converter from DWG to Openlayers supported format

FME converter is best software that i found till now to convert DWG to some open format vector data file supported by OpenLayers , but it got very awful convert from DWG to KML/GML it drawing ...
0
votes
0answers
62 views

Hardware configuration needed for geoserver to perform faster

I Build an application for enabling simple map layer switcher using EXT JS in this when user press refresh button( which present in the bottom of Layer Tab the application ) read all checked nodes ...
0
votes
0answers
49 views

OpenLayers 3, Markers appear in different places when viewing with iPad

I have an OpenLayers3 map showing static map image an ontop of that a vector layer containing markers (features). The features display nicely when viewing the map on a laptop or a pc, but when viewing ...
0
votes
0answers
127 views

Point Layer WMS GetFeatureInfo failing when zoom in

I have a problem that i think is related with the interaction between OpenLayers and my Google map Base Layer (inconsistencies with coordinates systems, or something like that). Maybe also this could ...
0
votes
0answers
52 views

Empty FeatureCollection using TinyOWS and OpenLayers

I'm using TinyOWS and OpenLayers following this sample but when I open the page I can't see anything. I suppose that is becouse I get an empty FeatureCollection from the response server ...
0
votes
0answers
80 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
36 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
0answers
134 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
61 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
13 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
19 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
0answers
98 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
42 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
0answers
117 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 ...
0
votes
0answers
155 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 ...
0
votes
0answers
68 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
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.
0
votes
0answers
22 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
0answers
14 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 ...
0
votes
0answers
71 views

OpenLayers plugin fails to install

When I try to install OpenLayers plugin for QGIS 2.2.0 Valmiera I get the error message the plugin is broken; python said: 'QPyNULLVARIANT'object has no attribute '_getitem' Does anyone have any ...
0
votes
0answers
23 views

LayerSwitcher problem in FireFox: layer after turn off and on are not displayed

I have a problem displaying layers using the LayerSwitcher. The problem only occurs on FireFox and not in the IE. On some applications, layers which I turn off and again on, are not displayed until I ...
0
votes
0answers
94 views

Openlayers GetFeatureInfo not working

I installed apache2 and GeoServer, then set up the proxy.cgi. I imported shp based multipolygon file into geoserver. I can access via geoserver openlayers viewer but when I want to do it same in a ...
0
votes
0answers
50 views

How to achieve labeling in openlayers as Google did?

I am tried to find a solution for my question. Please look the images below. Google Google are awesome!!.. They are doing fantastic technique in labeling part. Please look the marked labels, the ...