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

learn more… | top users | synonyms

3
votes
1answer
119 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
63 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
27 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
44 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
34 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
38 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
55 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
37 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
77 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
73 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
53 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
50 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
70 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
92 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
20 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
226 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
56 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
1answer
64 views

Help required with OpenLayers 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
173 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
35 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
45 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
82 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
31 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
65 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
64 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
2answers
83 views

Why do I need to restart tomcat when using WFS from GeoServer across different apps and workspaces?

I've built a couple of apps that consume WFS 1.1.0 from GeoServer 2.2.2. I organise my layers in different workspaces, and they have a range of sources including shapefile, oracle, postgres etc. ...
0
votes
0answers
36 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
25 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
178 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
59 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
154 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 ...
0
votes
0answers
42 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
33 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
20 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
vote
1answer
38 views

Where does Geo-Platform fit in a GeoStack?

I am totally new to GIS development and I am trying to grasp the concept. From my understanding the stack looks as follows (Please correct me): Back End GIS Server: GeoServer/GeoNode/ArcGIS Server ...
1
vote
1answer
54 views

Display list of OpenLayers Features which are currently visible on screen

I have an OpenLayers map a few thousand Points of Interest. These POIs are Vector Features rendered in a Vector Layer. We are loading the POIs once in order to minimize load on the server. Next to ...
1
vote
1answer
44 views

feature label not work in xhtml file

Good Morning: I have a problem, I develop an jsf application with openlayers api, this example http://openlayers.org/dev/examples/vector-features-with-text.html work fine with html page, but when I ...
2
votes
1answer
60 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
48 views

Openlayers – Empty spaces when resizing map in height (opera and safari)

The following test site is supposed to let the map extend to the maximum available space and to ensure a minimal height of 300px. This works perfectly in firefox. But in opera and safari on all apple ...
0
votes
1answer
92 views

How can I create a line with three points with Python in QGIS?

I'm new to Python and I'm having some dificulties. I want to create a simple layer with a line in the console of QGIS with Python. How can I do that?
0
votes
1answer
44 views

Dynamic data on overlay layer in openlayers

I am using openlayers to visualize an industry using image as the layer. On the raster layer I have created an overlay layer.Is it possible to show updated values (dynamic runtime values - as integer) ...
0
votes
1answer
53 views

Openlayers snapping the whole figure/feature

is it possible to snap (drag and snap) a feature to another feature in the same layer? I found OpenLayers.Control.Snapping but it's snapping only the points.
0
votes
1answer
40 views

Openlayers: Bind Text with feature (Outside Map in a Div)

I'm using OpenLayers to show routes on a map. These routes are loaded from JSON and I'm using a Vector Layer to get it onto the map - works great. Now I want to Display all features in a div outside ...
0
votes
1answer
34 views

How to define filter in WFS layer in order i can show new filter reult layer for new filter condition (i.e.redraw the layer according to filter)

I am using openlayer 2.12 for this wfs filter purpose. I wanted to redraw filter layer as conditions in filter changes dynamic. Following is my code in for wfs: var ...
0
votes
0answers
71 views

Show UTFGrid from a local map in MBtiles

Good afternoon: I have created a map using TileMill, exported it to MBTiles and uploated it to MapBox. I want to show the map and its UTFGrid using Leaflet and Openlayers. With this code, I can do ...
2
votes
1answer
92 views

Blank MapServer WMS image at low zoom levels in OpenLayers

I have an OpenLayers map using OSM as the baselayer with several layers coming from MapServer via WMS. The OL map is in EPSG:3857 and my mapfile (and shapefiles) are in EPSG:4326. In my mapfile I ...
0
votes
0answers
36 views

Dynamically scaling PointSymbolizer with external svg without using scaledenominator filter in sld

In this example taken from Graphic Symbology - External Graphics, <PointSymbolizer> <Graphic> <ExternalGraphic> <OnlineResource xlink:type="simple" ...
0
votes
1answer
70 views

creating map not working

am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : ...
2
votes
2answers
69 views

Webservices for GPS (Upload on DB and display it)

i'm doing an application where my users would be able to upload their gps tracks. My idea is to put their tracks on mysql database and display it on appropriate map. Question:How can i do that? My ...
1
vote
1answer
21 views

How do you update the maxFeatures setting of a WFS layer in OpenLayers

I have a WFS layer which a protocol in the definition. The protocol states that the maxFeatures returned should be 1 to avoid downloading a large amount of data. I can update the value for ...

1 2 3 4 5 36