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

learn more… | top users | synonyms

0
votes
0answers
8 views

repeated feature on my Geoext combobox

am trying to load data in a combobox from my layer in geoserver. i succeded to that but i have repeated features, how to restrict the loading so as to not have repeated value on my combobox, here's my ...
1
vote
1answer
38 views

OpenLayers is not adding marker to my map

I have an OpenLayers map and I create it using a JavaScript function. I then have a button which when pressed calls another JavaScript function which has code to add a marker to the map. For some ...
-2
votes
0answers
27 views

open layers popup questions plz help me [closed]

Please help me. http://dev.openlayers.org/sandbox/CloudAmber/Trunk/GooglePopups.htm I want to include these Google-like popup's functions in my code (below). <!DOCTYPE html> <html> ...
1
vote
2answers
64 views

Why does OpenLayers load OSM-like tiles, but does not show them?

I created a tile server with OSM-data in the German style. The data is quite similar to the official tile server for openstreetmap.de, provided by Fraunhofer IOSB. ...
0
votes
0answers
19 views

WMSGetFeatureInfo returns blank

I've been working on a WMS with a QuantumGIS server. So I've added the QGIS map as a layer to my OpenLayers map on my webpage. Now I want to use the WMSGetFeatureInfo function of OpenLayers to get ...
1
vote
2answers
27 views

Apply styles to WMS layer

I am working with OpenLayers (and GeoServer) and I am showing a WMS layer with countries in a map. Each object (country) in the layer has an attribute called NAME (the name of the country). I created ...
1
vote
1answer
51 views

OpenLayers Protocol specification

Is there a specification for the protocol OpenLayers uses to communicate with the server? I'm trying to reverse engineer what happens on GET, POST, PUT and DELETE, but I don't like to do it this way. ...
4
votes
2answers
91 views

What is the most efficient way of displaying GPS in real time using OpenLayers?

i'm would like to display GPS traces (not only a position) in realtime on OpenLayers. What is the most efficient way to do it? Sending KML or GPX files to browser or sending data via GeoJSON? br d
3
votes
2answers
1k views

Circle not visible

I am trying to create a GeodesicPolygon using using the code given in http://geographika.co.uk/samples/geodesic/GeodesicPolygon.js. But the circle is not visible, I guess its a projection problem but ...
0
votes
1answer
37 views

Also Cant see WFS-T layer with OpenLayers and GeoServer (Windows)

I am in the process of learning for doing WFST - OpenLayers in web. I followed this tutorial in the GisTutor. But i stuck with 2 problems the WFS-T layer is not appearing the feature created in ...
1
vote
2answers
37 views

How to get a feature that lies closest to a point in openlayers?

Im trying to perform routing with openlayers, geoserver and mysql. In order to get the start and end points, I need to be able to get a feature of the node layer (which has point features) that lies ...
0
votes
0answers
19 views

How to show Label of a new feature Layer in Openlayers…?

I have created a dynamic new feature layer along with a marker using openlayers with popups, but, I want to show labels for each new feature created... Below is the code I used... //To add new ...
1
vote
1answer
25 views

Trying to display some data in OpenLayers - it's not erroring, just not loading :(

I'm trying to display some KML data on a map, using OpenLayers. Nothing complex - but it's just not rendering. Here's my javascript code var map; function init(element, kml) { map = new ...
1
vote
3answers
800 views

How can I unselect a feature in Openlayers?

I am able to identify the selected features on my map using the following line: vector_layer.selectedFeatures I would like to be able to deselect this feature using a standalone function (not an ...
0
votes
1answer
167 views

How to auto-update WFST store with GeoExt/Openlayers?

I built an WFS-T with a grid panel (Ext.grid.EditorGridPanel) to edit features' attributes. Now, I want the feature store (GeoExt.data.FeatureStore) to reload/update automatically so that other users ...
2
votes
1answer
170 views

Why are the icons in openlayers edit tool bar missing?

I have an application using Geoserver 2.2, Openlayers 2.12 and Postgresql. I have been following the tutorial at: ...
0
votes
1answer
48 views

WMSgetFeatureInfo ProxyHost

Does WMSGetFeatureInfo need a proxyhost to allow remote server accessing the data? I use ProxyHost to allow WFS requests, but seems its not working with WMSGetFeatureInfo. the local machines retrieves ...
6
votes
5answers
370 views

Deactivating Openlayers Cluster after a certain zoom level

I want to deactivate the cluster strategy after zoom level 16. The Cluster strategy gets deactivated and I also change the style of the original features and redraw the layer. But still it takes the ...
3
votes
1answer
57 views

Problem with a large number of markers on an OpenLayers map

I have created a map using openlayers. On this map I place markers. Coordinates of the markers are taken from my database (sqlserver 2008), the quantity of markers is about 1500. The map is displayed ...
2
votes
1answer
1k views

How do I clip/mask a satellite photo to a polygon?

Given a shapefile composed of contiguous polygons, I'd like to clip (or mask) regions of satellite photo to the polygon outlines, and export each resulting raster in medium resolution for further ...
0
votes
1answer
17 views

GetLegendGraphic with bbox or filter

I have geoserver layer with sld style applied. The sld have like 50 rules using type attribute of the feature. Now i need to generate legend but only for specific area (i have bbox coordinates). I am ...
0
votes
1answer
92 views

Dynamically Reload OpenLayers Marker Layer based on user input

Not really sure how to ask this, so I'll outline the scenario. We have a database with locations in it. There are various types of cars at each location and each car has a problem of varying ...
0
votes
1answer
21 views

Have to use OpenLayers 2.10, can I force the browser to cache the map tiles and re-use them?

OpenLayers introduced client side caching in Version 2.11 and 2.12, along side their performance improvements for other map functions. Needless to say, these functions are intertwined and rely on each ...
3
votes
4answers
584 views

can't read attribute from map file (.kml) using openlayers

I want to create thematic maps using openlayer with kml map. but when i run the code, color and label thematic maps of the polygon can't show up. instead writing out undefined. what's the cause? are ...
4
votes
3answers
1k views

Animate feature in openlayers

In my map web app, I have a play pause button that show vehicle route history.I get lat lon from database and create route that vehicle traverse. At below site go to history tab after and choose ...
1
vote
2answers
42 views

I can not draw a line with a function

i'm working with GeoExt and Openlayers and HTML, i need to draw a line when user click a HTML button, i created a Function Prueba , but anything happens, if i want to add a control with my function ...
0
votes
1answer
29 views

How to load map tiles according to the drag/touch event

We are building map apis for javascript integrated with our own map data server(tiles). (Though we can use openlayers or something else, but we can not for some thrid-part reasons). In a word, we ...
0
votes
0answers
28 views

problem marker and popup

Displayed not correctly popup when clicking on the marker, the popup appears to the left in the corner of the screen and need to be near the token display. Help( here is my code: var map; var ...
0
votes
0answers
56 views

Onclick event with polygons

My requirement, when I clicked on any polygon on the openlayer I need to show the respective information in the popup. Right now I am using the below code. eventListeners: { getfeatureinfo: ...
1
vote
1answer
152 views

OpenLayers does not render wms layer generated by MapServer

I need to add a wms layer to my OpenLayers map and it should be generated by MapServer installed locally. OpenLayers HTML file <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ...
1
vote
1answer
77 views

Mapnik - Weird tiles rendering when used with spatialite

I use Mapnik in an GeoDjango App with Spatialite 4.0 as backend. There is something weird with the tiles that I suspect might be related with a bad handling of mbr with spatialite. If you look at ...
0
votes
2answers
43 views

Using Google Map API for Business with Openlayers

Has anyone used the paid version of Google Map API (for business) with OpenLayers? I am currently using the free version and wonder what the difference is, from both the end user and developer ...
0
votes
1answer
28 views

Openlayers popup - no scroll bars on ios or android

I have an openlayers app with a FramedCloud popup. The popup has a lot of lines of data, so scrolling is needed to get to the bottom. All works well on my pc with Firefox. However, out in the field ...
0
votes
1answer
20 views

Openlayers: is there any way to combine DragFeature and ModifyFeature?

I'm new to OpenLayers, and I am developing a basic editor using it. I can place different kind of icons (points) or paths (lines). An "edit" tool is required. It is supposed to allow you to modify ...
1
vote
1answer
281 views

OpenLayers - SelectFeature fails on a small polygon on top of a larger polygon

I'm using new OpenLayers.Control.DrawFeature to draw polygons and OpenLayers.Control.SelectFeature to select a specific polygon. I'm drawing one polgon and then a smaller polygon on top of the first ...
0
votes
1answer
38 views

google geocoding service combined with openlayers - not working

I'm trying to combine google's geocoding service with openlayers. So when a user types an address and hits enter, map zooms there and renders a simple point. I edited my code according to the previous ...
0
votes
1answer
141 views

Openlayers draw multiple coordinates off KML data coming from the database

I am a pure beginner of openlayers, I have a KML data coming from the database which describes all the cordinates of zip code 45050, I would like to draw these coordinates onto openlayers map as ...
0
votes
3answers
136 views

How do I stop the map at just one world/globe?

I am working on a project to put google maps layer and adding our data layers on top of it. using openlayers and google maps layer with out layer of top of it now the google layer has max resolution ...
2
votes
0answers
47 views

OpenLayers crashes stock browser on Android 4.0.4 devices [closed]

Update: The issue appears to be with OpenLayers Release 2.13 dev. I mistakenly mentioned 2.12 as being problematic but have retested with no problems. Also, no problems with 2.13rc3 We're ...
0
votes
1answer
44 views

Different Styles Within Vector Layer

Is there any way to configure OpenLayers styling method? I have a vector layer and I would like to style the features depending on a value of a flag variables, so I can't use rules. Lets say I have ...
1
vote
1answer
63 views

Implementing gs:Nearest WPS process from geoserver

I am implementing gs:Nearest WPS process available in GeoServer using openlayers in OpenGeo Suite SDK. I am trying to implement this process as a openlayers plugin to hook into my custom web mapping ...
0
votes
1answer
34 views

problem with popup conclusion on pressing a marker

I have markers on pressing to which popup has to be brought. how to make it? (coordinates of markers undertake from a DB) var map; var markers; function ejecutar() { init(3); ...
0
votes
1answer
35 views

How to draw a line between markers in openlayers

how to draw the line between markers, coordinates of markers undertake from a DB. whether it is possible to draw in general lines between markers, I saw examples only with points. markers = new ...
1
vote
1answer
170 views

How to construct a gs:PointStacker parameters using openlayers against geoserver

I want use openlayers 2.13 dev and geoserver to achive the cluster of points. I user openlayers 2.13 dev 's "OpenLayers.WPSClient". here is my code: <!DOCTYPE html> <html> <head> ...
0
votes
1answer
60 views

OpenLayers WMS - TypeError: this.resolutions is undefined

I'm trying to setup a map with WMS and WFS Layers by using Geoserver. However, when I'm combining WFS and WMS (with some Google basemaps) together in one map I got following error in Firebug: ...
0
votes
1answer
53 views

How to make the Overlays in OpenLayers exclusives using events at checkbox level?

On my map I have 3 overlay layers, all of which need to be mutually exclusives, ie. can't be on (checked) at the same time. I thought of using events to trigger the overlays as the following in my ...
2
votes
1answer
45 views

How to highlight feature clicked as row in table using OpenLayers+jquery?

I am a Masters student from Sweden. I am doing my Masters thesis on Internet mapping. In my project I am trying to display research data from my department on Google maps. I am using OpenLayers java ...
0
votes
1answer
21 views

Marker layer not responding to events in OpenLayers

I have multiple layers in OpenLayers: three vector layers, one google map layer, and a marker layer. I registered feature selected event to all three vector layers (which works fine, but btw is that a ...
0
votes
1answer
26 views

request two layers in search action of one PanelForm

here's my case: i have a panelForm with 4 fields, and a search button, that search for the features that correspond to the 4 fields given by the user. and i have two layers that both contains the 4 ...
0
votes
2answers
35 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...

1 2 3 4 5 34