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

learn more… | top users | synonyms

0
votes
0answers
3 views

OpenLayers Select a feature from attribute or id

Using Openlayers.....Is it possible to select a feature on a map by an attribute? eg: Select a feature from a dropdown menu populated with the feature "id" or a table field attribute values.
0
votes
0answers
7 views

Layer overlay problem in Openlayers /Geoserver

Hallo I am trying to create a Web Map servise using Openlayers and Geoserver. I want Open Street Map (OSM) as back ground and that both vagar_alla and adresspt layers to be tranparent, so that it will ...
0
votes
0answers
11 views

How do I prevent from a feature to be cut from a tile in openlayers?

I have a map with GeoJSON layer. I draw features on zoom 18 of OSM base layer. When I zoom out the feature is overlay by the map tile How can I enforce the feature to be on top of the tiles ? ...
1
vote
0answers
16 views

WFS features not added to layer

I have some issues with a OpenLayers/GeoServer setup, I am trying to set up a saveable Vector layer using WFS, the saved vectors shows up perfectly on the WMS layer I created but never on the wfs one. ...
1
vote
1answer
20 views

GeoExt: Excluding some of the layers from the legend

Openlayers and GeoExt for producing a web map. The map has a legend panel generated by GeoExt. By default, GeoExt grabs the details of every layers from the map and create a legend for all the layers. ...
1
vote
4answers
40 views

Displaying a KML File on a Vector Layer in OpenLayers

This should be straight-forward, but I am beating my head over it. KML will not display. I have tried from same server and remote server to ensure it is not a cross-domain issue. The KML file loads ...
1
vote
1answer
21 views

add a Custom search to an openlayers map

I have looked at this thread: add location search to openlayers map But it is not the result that I am trying to achieve. Probably best if i show you: ...
0
votes
1answer
25 views

make layers with different resolution work together

I have to create two WMTS layers and add them to the map. But the two layer have a different tileOrignal and resolutions and coordinate. For example: Layer1: tileOrignal:[-180,90] with coordinate ...
0
votes
2answers
17 views

Vector Layer Label is truncating/rounding value

I cannot figure out how to keep OpenLayers from truncating my vector layer label. For example, I have a value of 0.00 and want to show both significant digits, but it always makes it an integer 0. Is ...
2
votes
0answers
27 views

OpenLayers Google v3 and other layers drift apart

I'm stuck. My code works with OSM, but I need it to work with Google as well. The problem is simply that Google v3 and my other layers are not playing well together at all. They don't zoom together. ...
0
votes
1answer
52 views

OpenLayers dynamic map width inside Bootstrap tabs

I have the following layout, produced with Django and Bootsrap frameworks: some tabs with inside each one of them other 3 sub-tabs. In every first sub-tab I have an OpenLayers-2.13 map. This is what ...
0
votes
0answers
7 views

How I configure Openlayers Editor oleUrl for split tool with sharpmap?

I want to use openlayers editor split and merge and for that I need to install some kind of server side processing. OLE support zend Drupal and sharpmap. I've downloaded sharpmap dlls. What do I need ...
0
votes
0answers
15 views

Openlayers , How can I merge two lines to one?

I have a draw tool on the map that user can draw a line. Now I want to give the user the option to split the line to multi lines to join them back together to one line. How can I do that ?
0
votes
0answers
33 views

OpenLayers: show polygon of images in mobile

I'm using Phonegap 2.6 and OpenLayers 2.12 for my mobile application. Feature: in a panel (jQuery Mobile), I'm clicking in a checkbox and georeferenced images are displayed in the map that is ...
0
votes
2answers
34 views

OpenLayers shows empty tiles if I toggle my layer

I display my custom tiles with OpenLayers and I have set .olImageLoadError{display: none !important;} in my CSS to avoid displaying pink empty tiles (as described here). In this way empty tiles are ...
0
votes
1answer
24 views

Openlayers 2.12 - add selectFeature to button results in “Geometry Undefined”

I have modified the Openlayers mobile Vienna WMS example, and am trying to change the labelButton to allow selecting of features to open a popup. I think it is necessary to do this as on a touch ...
2
votes
0answers
21 views

Display GeoJSON layer on top a SVG image instead of a map.

I'm very new to GIS, so hope this is the correct place to ask. Not sure if this will even be possible. This is what I want to achieve: In short, I want to display a set of polygons, lines etc. in a ...
0
votes
1answer
16 views

How to customize the background-image of LayerSwitcher in OpenLayers?

How can I override the image used (sign '+' with a blue half circle) for the LayerSwitcher Control in OpenLayers? Is it possible to do so with background-image in css? I see nothing related to this ...
0
votes
2answers
87 views

Why the layer can be loaded to Google Map not OpenStreet Map using MapServer?

Updates: Problem Solved !!!!!!!!!!!!!!!!!!!!! Replace "wms_srs" "EPSG:3857" to "wms_srs" "EPSG:900913" in Mapfile !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! I am using ...
1
vote
0answers
26 views

WFS - From PostGIS to Shapefile with GeoServer

From Server side, I'm using GeoServer and from client side I'm using OpenLayer to allow the users see the layers(PostGIS) on the map. The new requirement is that the users may download layers in ...
1
vote
2answers
47 views

What is the most appropriate technology for publishing Census (and other) data for small areas?

We have a web application which shows the (United Kingdom) Census data on thematic maps using client-side code (based on OpenLayers) and KML. // This section can be skipped // begin At the moment ...
0
votes
0answers
18 views

Map with custom tiles having uncommon EPSG

I've produced with mapnik my own tiles with EPSG:31256 on a shapefile. I've structured the tiles in a OSM-like tree: zoom/x/y.png, with zoom from 0 to 2 and, x y starting from 1: tiles ├── 0 │ ...
0
votes
0answers
28 views

OpenLayers maxExtent

I've displaying Ordnance Survey UK tiles in OpenLayers using a TMS Layer the scales are using are 1000K, 250K, 50K and 10K. I've set the maxExtent to 0.0, 0.0, 700000.0, 1300000.0 which is working ...
2
votes
0answers
31 views

How to change name of layers in tree

I'm trying to change the name of the layers in the tree. This is part of my code: var layer_group1 = new OpenLayers.Layer.WMS("layer_group1", url, { ...
0
votes
0answers
14 views

How to I use the Geoserver Chart extension

How does the Geoserver Chart extension work? I have added the files to the correct location. From what I can see I use SLD, but how would I go about this? There seems to be few guides for noobs to ...
0
votes
1answer
46 views

OpenLayers: Problems adding WMS layer to OSM

I need to create a map with 2 layers. The first layer (basemap) is the OSM layer, and the second layer is my custom geoserver WMS layer. This layer is in EPSG:4326 projection. Is this possible? I have ...
0
votes
0answers
17 views

How to keep OpenLayers.StyleMap and OpenLayers.SelectFeature from conflicting? [closed]

I have an OpenLayers.Layer.Vector layer, something like this: layer = new OpenLayers.Layer.Vector("zzzzz", { strategies: [ new OpenLayers.Strategy.Fixed(), ], // styleMap: new ...
0
votes
1answer
34 views

java.lang.NullPointerException with GeoServer and Postgis

I am continuing work that another person began based on Geoserver and postgis. On the database level there are many tables and the layers are views based on these tables. That is working great! Now I ...
0
votes
0answers
28 views

Openlayers. Google Satellite map seems to move features independently [duplicate]

I have an issue with a Google Satellite map (3.5 or 3.2) using Openlayers (2.12). The problem, I guess, is a perspective problem. When I drag the map, the features are not at the same point and seems ...
1
vote
0answers
26 views

Mapserver + tilecache + openlayers attribute search

I'm using Mapserver + tilecache + openlayers for my web map application. I'm using Mapserver as a WMS Server. Now, I want to perform an attribute search, i.e. type something and the application ...
0
votes
1answer
15 views

Digitizing with openlayer plugin [duplicate]

I am facing problem when working with Google earth imagery. when I am digitizing at 1:1000 it just shift the shapefiles when i even pan the image. checked for CRS and everything but it doesn't work ...
1
vote
0answers
22 views

WFS filter query does not return points (selected from polygon)

I'm a newbie to OpenLayers (and JavaScript for that matter) and hoping you can offer some advice. I have been referring to examples http://openlayers.org/dev/examples/wfs-filter.html and ...
0
votes
0answers
32 views

MapServer with OpenLayers: Map is Pink, Trouble Displaying Layer Correctly

Having trouble using a mapfile with an html/js file(openlayers) together. Have a working example but can't seem to replicate it. Can also view the gist of the 2 files here The piece of code in ...
2
votes
1answer
33 views

Suggested ways to do a Google-Earth-like fly-to-the-location effect with OpenLayers?

What are the suggested ways to do a fly-to-the-location effect, similar to the one when opening Google Earth, with OpenLayers? While it might be possible to draw this with OpenLayers API, we would ...
0
votes
1answer
24 views

Is there a way to use transition effect in OpenLayers layers in IE7?

It seems transition effect for zooming in OpenLayers does not work in IE7. I checked some of the development examples (for example this one) with IE7 and they show no zooming effects. Did I miss ...
3
votes
2answers
50 views

OpenLayers: Possible to show zoom level?

Been researching this for a while and nothing has come to fruition. Best I could find was: OpenLayers.Control.ZoomStatus = OpenLayers.Class(OpenLayers.Control, { autoActivate: true, element: null ...
0
votes
1answer
35 views

OpenLayers.Map is not a constructor

I am trying to enter in my maps application (Geoserver, postgis, openlayer) but it is empty and I get an error with Firebug: TypeError: OpenLayers.Map is not a constructor in my map.js script in line ...
0
votes
1answer
56 views

OpenLayers WMS Request speed against direct request

I'm using OpenLayers and I'm calling an Untiled 3rd party WMS service. I've run some tests to test performance\time differences between the following: OpenLayers WMS call to the service (mostly ...
0
votes
0answers
26 views

map does not zoom to a feature - openlayer's zoomToExtend

I'm using Geoserver 2.1.3 and openlayers 2.12. I created a vector layer and I implemented a "Search" functionality using CQL. After the CQL search, I succesfully render new features on the layer. And ...
0
votes
0answers
18 views

Altitude from KMLs in Openlayers

I have a KML with points representing the flight path of a small plane. Opening the KML, it looks like (up to style related stuff): <Point id="Point"> ...
1
vote
0answers
30 views

Openlayers geoserver authenticate

I can see that this question is asked before but not answered properly. I'm trying to authenticate with geoserver before trying to send any wfs requests. I need to use the geoserver users. I already ...
0
votes
0answers
20 views

Mapnik and Tilecache performance issue

I am working on GIS based web application using Mapnik and Tilecache with backend python. To display map in the browser, openlayers is used. Maps are generated by calling tilecache cgi url. I am ...
1
vote
0answers
23 views

Commit Feature WPS Split process

I develop a WebGIS application with GeoServer (2.1.1) and GeoExt (with the last version of OL). Data (polygons features) are stored in a postgis DB. I've implemented editing tools that allow users to ...
1
vote
1answer
28 views

(MapServer Osm) Map Accessibility

I have a tile server (MapCache) with a personalized map. For client side's rendering I use OpenLayers. I'd like my personalized cache to be accessible only on my web site, i.e. I don't want another ...
1
vote
1answer
41 views

Hover on Airport Data using OpenLayers + Mapfile

I need to create a simple hover using openlayers for worldwide airport data. I'm thinking maybe the associated address, maybe a picture in regards to the airport, ...anything really. It's just an html ...
0
votes
2answers
62 views

Bing map SetCenter doesn't work

Hi everybody am trying to use bing map on my html page using openlayers and geoEXT. the problem is when i change the center of the bing map nothing happens, also when i try to zoom on the map on ...
3
votes
0answers
36 views

Help with WPS.client

Hy! I am trying to make an application which will test if any of the segments (multi line layer acquired from GeoServer) intersects with polygon acquired using OpenLayers.Protocol.WFS.fromWMSLayer, ...
0
votes
0answers
12 views

Converting a vector feature from 900913 to 27700 [duplicate]

How can i convert a vector feature that has 900913 coordinates to 27700 coordinates (which will then be sent of to a WFS) using Proj4js. Not sure how use the Proj4js to do the transform. Code: ...
0
votes
0answers
22 views

How to convert EPSG:900913 or EPSG:4326 to EPSG:27700 using Proj4js (or to set displayProjection to EPSG:27700) [duplicate]

I'm using openlayers to create a vector feature (e.g. polygon, point) and i would like the geometry values of these vectors to be stored as EPSG:27700 coordinates (so when i send them off in WKT ...
-2
votes
0answers
22 views

Problems while adding KML layers using openlayers in Internet explorer

I added a kml layer using openlayers and I wrote code to get the different colors based on the attribute value... Its working fine in Chrome and not working in Internet explorer.. Could u please tell ...

1 2 3 4 5 36