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

learn more… | top users | synonyms

1
vote
1answer
11 views

Openlayers which format best for serving lat lon markers from webservice?

I have a webservice which get GPS data (lat/lon) from android phone every 30 sec. The webservice (currently) write the data to local log file (any format I decide). which format/way will be best to ...
1
vote
0answers
10 views

TileStache + Mapnik - Tiles are rendered randomly

I newly turned to TileStache to render Mapnik tiles because of the caching option. Before, I was using Mapnik python bindings only and it was working perfectly. Now that I use TileStache, the tiles ...
0
votes
0answers
17 views

Openlayers Vector Feature label not Visible in IE 8 but visible in Google Chrome…?

I have created a WEB MAP using Openlayers-Geoserver-Postgis.... The Label of one of the Vector feature layer is not visible in Internet Explorer 8(IE 8) ,but clearly visible in Google Chrome ...
1
vote
1answer
46 views

Geoserver, OpenLayers so slow for WFS! Why?

I am displaying 100 000 points in a layer via WFS protocol. I need about 5 minutes. However, 100 000 does not seems so much... My points are stored in PostGIS, in a column defined this way : ...
1
vote
1answer
22 views

Probleme with WFS protocol in OpenLayers

Sorry for disturbing. I know my problem look common, but I really don't know what to make. Here is my code for getting a WMS layer in OpenLayers from Geoserver. var wfs2 = new ...
-2
votes
1answer
17 views

Render specific vector data from database with openlayer

I want to render some data on a map. They are stored as points in my database (postGiS), each one is associated with a name. I want to render points with the same place name in the same color. ...
0
votes
0answers
9 views

upload file via geoserver rest and openlayers' application [duplicate]

simple question: by developping an openlayers web application with geoserver, how to upload a file( eg:shapefile) to display it with openlayers; using geoserver REST api???
0
votes
1answer
21 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 ...
-2
votes
0answers
35 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> ...
0
votes
0answers
24 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
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 ...
0
votes
1answer
50 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
39 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
1answer
27 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
2answers
66 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. ...
1
vote
2answers
37 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 ...
3
votes
1answer
64 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 ...
0
votes
1answer
49 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 ...
0
votes
1answer
18 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
22 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 ...
0
votes
1answer
30 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
29 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 ...
1
vote
2answers
43 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
24 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 ...
0
votes
1answer
46 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
0answers
57 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: ...
0
votes
1answer
45 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 ...
0
votes
1answer
35 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
38 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 ...
2
votes
0answers
50 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
0answers
12 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 ...
2
votes
2answers
123 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
2answers
37 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: " + ...
2
votes
0answers
33 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
99 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 ...
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
27 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 ...
0
votes
2answers
44 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
22 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 ...
1
vote
1answer
44 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 ...
0
votes
1answer
54 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 ...
0
votes
0answers
29 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
22 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 ...
0
votes
1answer
97 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 ...
0
votes
1answer
48 views

Why does map display like it is in Isometric when everything is in EPSG:4326?

I'm beginning with Geoserver and try to display a map of my country (Belgium) is an openlayer map (embedded into a MapPanel object). I've downloaded the municipalities limits from gadm.org and copied ...
0
votes
3answers
141 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
51 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 ...
0
votes
0answers
35 views

Diferent Line color and Diferent Markers at the same time

i'm about to develop a GIS Track App, but until now, i'm testing with some codes, that i've been creating, but for my project we are going to use XML as data records, today, i am able to create a ...
2
votes
1answer
31 views

Is there a way to group regions on a world map for common functionality?

I'm new to trying to use mapping, and not finding the kind of documentation I need. I'm looking at OpenLayers, but open to other solutions. I have a client that has sales reps with territories ...
0
votes
0answers
19 views

Multilinestring WFS version problem

I want to show multilinestring with openlayers . But i can't achive it. I think because of WFS version 1.0.0 can't support multi geometry type. my code is below. how can we solve it? var aa = new ...

1 2 3 4 5 35