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

learn more… | top users | synonyms

1
vote
0answers
124 views

How to select GeoJSON vector feature in Leaflet?

I've been using OpenLayers for years,instead of comparing OL & Leaflet libraries,I decided to use Leaflet for the job for now. I have a GeoJSON data layer where I show point objects only.Just as ...
1
vote
0answers
140 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 │ ...
1
vote
0answers
85 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 ...
1
vote
0answers
153 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
0answers
157 views

Restrict featureinfo fetched with the WMSGetFeatureInfo request in geoserver

i followed a GeoEXT example to create popup menu that gets WMSFeatureinfo on click on the map, What i want to do is to get some specific fields not all the fields, i try the propertyName (with ...
1
vote
0answers
137 views

Want a transformation box after a user draws a polygon

I have built an application which allows users to draw a polygon inside another polygon. The two polygons are in different layers for some application specific reasons. After the user draws a polygon, ...
1
vote
0answers
149 views

Map Matching? (Finding Nearest Roads…)

I am making Pedestrian Navigation System for my school I created node and arc and digitized buildings with ArcGIS. Then, exported KML to use Javascript Dijkstra's Algorithm to find route. So far, so ...
1
vote
0answers
52 views

Why do temporary features disappear when hovered over?

With DrawFeature I'm putting new features to my map. With the hover option of SelectFeature it is possible to get feature information when hovering over it. Now I have the problem of disappearing ...
1
vote
0answers
263 views

Google Maps v3 with Openlayers - First Zoom Level

I use Google Maps v3 in my application and I noticed a strange behavior, When I refresh the web page, the map zoomed out to display the whole map then get back to the zoom level I specify in my code. ...
1
vote
0answers
108 views

How to bring workspace layer to one combo box and once layer selected in this attribute of this layer in other combo box

I want a layers in workspace in combo box.Once i select combo box i want attribute in selected layer to in other combo box. how can i do it. I am using geoserver, openlayers, Geoext and ext js. Can ...
1
vote
0answers
418 views

How to add legend in WFS openlayers

How can I publish WFS openlayer with legend, have tried different examples such as http://api.geoext.org/1.0/examples/vector-legend.js. But when I tried using this firebug shows an error=> ...
1
vote
0answers
111 views

OpenLayers getFeature loading indicator

I need to set up loadMask for OpenLayers.Control.GetFeature. I know i should hide the mask on featureselected event or on protocol callback but when should i show the mask? Here is code (assume i ...
1
vote
0answers
125 views

Editing a vector layer with openlayers

i am trying to develop a webmapping application using openlayers, geoserver, JSF javascript. I published my postgis layers on geoserver and added them to a google basemap on a xhtml page using a ...
1
vote
0answers
117 views

OpenLayers IE performance issues

I have an Openlayers map set up, it is all working well except in IE7 (which most of our users have) where performance is slow. I load in several layers of vector features and then switch these layers ...
1
vote
0answers
778 views

User defined Polygon disappears with featureadded and selectfeature

I am trying to achieve the following functionality: 1. User draws a polygon. 2. Once complete, fetch features in that polygon( Using WFS). 3. On Select polygon, show the features that intersect that ...
1
vote
0answers
87 views

Shows Netherlands region on map on every zoom level not other region in Open Street Maps

I want to show/display only Netherland region on Openstreet map, dont want to show other region on maps. Same thing apply for zoom in or zoom out also. I have tried with applying bounds but does not ...
1
vote
0answers
86 views

openlayers Arcgis WFS mousehover

i have a problem using ArcGIS wfs layer in openlayers. I would like to add the layer to the map as vector layer and then using a mousehover to highlight the features. However i cannot bring it to ...
1
vote
0answers
285 views

How can I parse the SLD file that sits in Geoserver so that I can apply the styling to WFS layer?

I have a layer that can be configured to render as WFS or WMS. I want to apply the same sld styling that I have defined in Geoserver to make it consistent. But when I try to get the SLD text from ...
1
vote
0answers
94 views

calculating st_simplify tolerance for openlayers

I want to display a vector layer in openlayers. Users can scale the map before they load the vector layer and I'd like to simplify the geometry with st_simplify before sending it to the client. Does ...
1
vote
0answers
62 views

proportion of image layer in OL

I tried create map with single image used OL. But I have a trouble: image in map has a wrong proportions. Img: 1540 x 1481 Img in map: 2858 x1481 My js code: $(function (){ var map = new ...
1
vote
0answers
141 views

scale dependent rendering of base layers(gmap,ghyb) causes warping/flickering

Hey guys I am using geoserver to host my WMS layers and I am using gmaps base layers in Openlayers. Below I have attempted to use scale dependent rendering of the base layer without any luck. What I ...
1
vote
0answers
291 views

WMS bounded overlay with OpenLayers and GeoServer

I'm trying to design a heatmap overlay bounded within four given coordinates with OpenLayers using WMS protocol to communicate with my GeoServer instance, where my data and SLD heatmap description ...
1
vote
0answers
214 views

Render Google Fusion Tables Layer Tiles in OpenLayers

I would like to know if there is a way now to include Google Fusion Table Layers Tiles in OpenLayers, and if yes, is it possible to use the dynamic styling just like in Google Maps? I know you can ...
1
vote
0answers
676 views

OpenLayers - Setting the Min Zoom Level of a Google Layer based on a Bounding Box

I have an OpenLayers project that is using Google Maps for the base layer. Maybe I'm going about this the wrong way, but I think what I'm trying to do is pretty simple. I just need to set the minimum ...
1
vote
0answers
610 views

OpenLayers and GeoJSON - possible to create, modify and delete features?

I wondered if anyone has some OpenLayers GeoJSON code to read, create, modify and delete features (i.e. instead of using WFS-T)? This is how far I've come - I've no problem changing the pop-up to a ...
1
vote
0answers
142 views

OpenLayers Show message (Information message or Alert )(or HTML content)on the map

Bonjour, J'utilise OpenLayers et j'aiemrais afficher une fenetre affichant des messages sur la carte openLayers Voici un exemple de ce que je voudrais faire : ...
1
vote
0answers
250 views

working with multiple wfs-t layers

I am using multiple wfs layers and using editing tools in that like edit,draw,save etc. The code is shown here...... var district = new OpenLayers.Layer.Vector("district(wfs)", { ...
1
vote
0answers
91 views

OpenLayers GetFeature Control Mobile

I have a map that is using OpenLayers and GeoServer. I have a base layer and a WMS layer with many features. I was using OpenLayers.Control.Click to get the coordinates from the map and show a popup ...
1
vote
0answers
176 views

Get info from WMS layer with Openlayers mobile

I am trying to build a webapp for iPad using OpenLayers Mobile. One of the features it should have is that you can tap on a tree displayed on a basemap and get info about this tree. These trees are ...
1
vote
0answers
560 views

Help me with this code from GeoExt and OpenLayers

I haven't gone entirely through GeoExt. But I am trying to understand the below code, but I am struck. The below code is about creating popups of feature information. But the layers added are WMS ...
1
vote
0answers
327 views

OpenLayers & MySQL

I have a MySQL database full of data about students (name, age, school, university, city, etc). What I want to do is to transform the data I got to markers on the map. To be more specific, I will for ...
1
vote
0answers
122 views

django + apache mod_tile

I'm not sure if I'm doing this right and I need your opinion on this current situation. I'm creating a Web Interface using django and postgres as the database. With regards to the slippy map, I went ...
1
vote
0answers
45 views

When I used geowebcache, my map overviewmap can not use it?

I know: gwc / service / wms geowebcache use data, overviewmap is use wms original data, I tried modifying openlayers.js,some difficulties. You encountered the same problem and can help me look at it, ...
1
vote
0answers
910 views

Is there a way for me to load a KML files locally in Openlayers

Recently I posted this question KML file seems to load in Openlayers without error but doesn't show vectors because I was having trouble getting KML vector data to show up. After searching around ...
1
vote
0answers
149 views

How to set the holeModifier on OpenLayers.Control.DrawFeature to always be active?

I would like to create a button "draw a hole" taht uses by default the holeModifier functionality but the user dont need to press the cttrlBtn. The "standard" way I guess, would be to create a way of ...
1
vote
0answers
129 views

Keep Getting Black OSM Tiles in Openlayers

When trying to view OSM tiles using the external storage example of OpenLayers, I keep getting black tiles when I zoom in and out. I don't know what the issue is but every time I zoom in/out there ...
1
vote
0answers
90 views

What solution is there to project google/bing layers to another EPSG (e.g. 3844)?

I am using Geoserver and Openlayers. The Openlayers map has all the layers in EPSG:3844. I need to overlay Google/Bing layers. I am currently trying to do it with proj4js, mapproxy.org as openlayers ...
1
vote
0answers
271 views

OpenLayers: How to get backgroundGraphic to go under externalGraphic

I've got a layer with nodes features on which I may want to display two images, a main one and a background one. This page : http://openlayers.org/dev/examples/marker-shadow.html shows what I want: ...
1
vote
0answers
351 views

Displaying WFS Features Based on Zoom Level

I have a WFS feature layer with ~25,000 features and have been experiencing significant performance issues with my OpenLayers map. My first approach to solving this has been to pre-compute feature ...
1
vote
0answers
95 views

Why does the map take so long to display and appear distorted?

I have map rendered from geoserver but it takes too much time, again shown map is half-shown and distorted as the following image, SOMETIMES THE MAP DOES NOT EVEN DISPLAY My JAI setting is as below ...
1
vote
0answers
180 views

How can I merge postcode sector polygons into larger territories in QGIS?

I'm new to GIS so patience might be required :-) I'm building a basic web-based mapping tool for business use, to be used as a demo to show that we need one but managers don't know it yet! So far ...
1
vote
0answers
389 views

Allowing Add/Delete/Update of features (web application): OpenLayers + WFS and GeoServer?

I've developed a WPF application that has a custom SQL Server database and uses the Esri ArcGIS WPF API to allow users to view, edit and query shapes (features) on a custom map. Maps are created from ...
1
vote
0answers
318 views

How to visualize MBTiles with OpenLayers using a PHP tile server?

This is repost as didn't get my expected answer. Please help me as I am newbie. I have setup the PHP Tile Server 0.1 and when I am calling the PHP server it showing the following Now I am triyng to ...
1
vote
0answers
144 views

What is the best way to create polygons on a map and download files associated with the polygon?

My client wants to build a tourist site and for that he wants a backoffice for the map and the ability to draw polygons on the map (that user can see). When the user clicks on a polygon, he gets a ...
1
vote
0answers
56 views

How to extract numbers from each vectors?

I'm trying to create custom legend for a layer where OpenLayers.Rule objects are created dynamically and added to a layer. new OpenLayers.Rule({ symbolizer: { ...
1
vote
0answers
1k views

Why does map click listener not work with touch?

I deleted this question which I posted a few days ago, thinking that I would be able to solve it. But after struggling for some time, I think I really need some help. The problem is this: I am testing ...
1
vote
0answers
357 views

How can I show MapInfo tabs in OpenLayers without using MapXtreme Tile Handler?

I want to connect OpenLayers to mapinfo tabs I have , but I don't have MapXtreme license . Is there a way to show the tabs using different Tile Cache ? I can export the workspace to WOR or MWS files. ...
1
vote
0answers
475 views

Add wfs layer to openlayers map

(UPDATE QUESTION) Hi guys. I have a problem with WFS request, mine is follow: var wfs = new OpenLayers.Layer.Vector("WFS",{ strategies: [new OpenLayers.Strategy.Fixed()], ...
1
vote
0answers
312 views

How to trigger a map click event?

I have a map with some markers. On clicking a marker, a popup would appear and on clicking the map, any visible popup would be hidden. I want to hide any currently visible popup upon clicking a marker ...
1
vote
0answers
197 views

Problem HTTP request for KML

i have a problem with HTTP request for KML to add to map. This is my HTTP request: var x = new OpenLayers.Layer.Vector("X", { projection: new OpenLayers.Projection("EPSG:4326"), strategies: ...