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

learn more… | top users | synonyms

0
votes
1answer
24 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 ...
1
vote
1answer
16 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
11 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
16 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
582 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
40 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
27 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
22 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
50 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
75 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
38 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
27 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
19 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
33 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
140 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
131 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
38 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
43 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
53 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
32 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
30 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
168 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
55 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
52 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
44 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
17 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
22 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
28 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
vote
2answers
102 views

OpenLayers vs Leaflet for specific app

Could anybody give me some advice on which one should I use? OpenLayers or Leaflet I will implement OSM on a web-app for taxi management. The requirements for the map part are: Tracking of the ...
0
votes
0answers
10 views

How to configure MS4W Apache for multiple connections and multiple server urls while using tilecache.py

I have configured my Apache Server to broadcast 4 subdomains to my WMS services. I am using TileCache to serve locally generated (pre-seeded) tiles with ms4w. Here are example urls which request the ...
0
votes
2answers
21 views

problem with search (formPanel)

am new to GeoEXT and am trying to do the search with form panel. and i want to search features from 2 postgis table, published in geoserver, this features correspond to the field on the formpanel and ...
1
vote
1answer
32 views

onSelect event on dynamically created layers

I'm creating different layers dynamically full of features, everything on-the-fly, and I need to do some stuff when each specific feature is selected. I can't paste the actual source code here as it ...
1
vote
1answer
102 views

How can i use snapp point in when i use measurecontrol?

I have problem about measurecontrol . I can use measurecontrol and i can show length to use measure control . But my problem is that .i didnt use in snap because measurecontrol is a control not ...
1
vote
2answers
101 views

Load information about a feature

I must mention first of all that I am very new to this area... I am developing a GIS application. I created a simple map using geoserver with openlayers, it is all working through apache tomcat - and ...
2
votes
0answers
26 views

Help required with Open layers WPS client

I am using openlayers API in my web application and trying to interact with the local GeoServer via WPS. The problem I am facing is that, WPS client.execute() works only in case, if the output of the ...
3
votes
2answers
78 views

Can the new Mapbox Vector Tiles be used as a QGIS basemap?

With the implementation of the mapbox vector tiles begs the question of how these could be used as a basemap in a QGIS printed map (assuming anyone cares about printed maps anymore!). To use OSM data ...
1
vote
2answers
193 views

how to check if a wms layer has no features

I've been searching the net for a couple of days to find a way, how to check if a wms layer has no features... Let me explain I'm using openLayers/geoserver/postgis. I'm using a cql_filter to search ...
0
votes
1answer
20 views

Multiple FeatureType in WFS Protocol

I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to ...
-2
votes
0answers
49 views

Openlayers, geoserver and postGis

I checked many examples but i could not find one that does following.I need to select multiple parcels(polygons) by drawing lines.Selected parcels should have different color from the rest.After ...
1
vote
1answer
41 views

How to show Two Labels of One feature In Geoserver…?

I have prepared a Web GIS Map using Geoserver-Openlayers_Postgis....For One Feature I need to show two labels such as "premise_no' & "bld_name'... The following is the xml I used for styling(in ...
1
vote
1answer
101 views

ModifiyFeature Control with an array of vectors

I want to put all the drawn vectors in an array and make editable only those which id match with a shapeId var. Do I have to add a new control in the for loop or can I setOptions of the feature to ...
2
votes
2answers
222 views

onSelect sometimes firing before onUnselect

I have a map that displays satellite coverage zones. Some of these coverages overlap. I am using the SelectFeature functionality to fire off onSelect and onUnselect events. However, when moving ...
2
votes
1answer
450 views

OpenLayers with a small, discrete set of XYZ tiles

I'm trying to set up a handy map of my Minecraft server to share with my fellow players; the specifics on that front aren't really necessary though -- suffice it to say that I have a tile set (each ...
0
votes
0answers
27 views

Issue loading GML with Openlayers no obvious error

i'm newbie using openlayers, there are no error in my firebug, but, my GML can't show in my browser, what should i do? this is my GML from result of converting my shapefile with ogr2gui : ...
0
votes
1answer
68 views

Openlayers & WMS - GetFeatureInfo problem

I'm making a small project but I encounter some problems. Let me explain that : Having generated mapfile with mapserver and they are viewable by the openlayers interface, I would like to make me ...

1 2 3 4 5 34