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

learn more… | top users | synonyms

0
votes
1answer
24 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
20 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
40 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
23 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
27 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
32 views

OpenLayers crashes stock browser on Android 4.0.4 devices

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
9 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 ...
1
vote
2answers
62 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
21 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
23 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
69 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
20 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
17 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
1answer
25 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
14 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
36 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
48 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
25 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
16 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
55 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
38 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
123 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
41 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
27 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
26 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
17 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
34 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
30 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
33 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
39 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
24 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
64 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
25 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
31 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
27 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
18 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
32 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
46 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
23 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
50 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
43 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
17 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
vote
0answers
31 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, ...
0
votes
1answer
40 views

WMS - Export Retrieved XML Data

I use WMS layer in my app and could successfully retrieved Feature Info by click like so: http://openlayers.org/dev/examples/getfeatureinfo-control.html My question is: Is there any way to export the ...
0
votes
1answer
59 views

LayerUploadPanel not works

how can i add a layer upload panel tool in my suite sdk? The main problem is when i click "upload layers" button. Appear errors in the firebug. I don't know the reason why those errors appear ...
0
votes
0answers
27 views

Openlayers redraw layers: consecutive redraw calls not working

SETUP OpenLayers / GeoServer + PostGIS REQUIREMENT I have a map with multiple WMS layers and of these I need to refresh a few after inserting a polygon in one of the layers. PROBLEM Given below ...
1
vote
1answer
59 views

How to make timeline with OpenLayers?

I have OL, GeoExt, gxp. I have a layer with Date attribute. So i want to show features with same date. I found example using gxp_playback, but its not work couse its cant find ...
0
votes
0answers
38 views

How to create a vector layer in OpenLayers?

I published/overlay my layers in openlayers from geoserver as wms. Now I want to add/create vector layers on those layer either point/line or polygon, if it is line/polygon I need to display ...
1
vote
0answers
45 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 ...
0
votes
0answers
19 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 ...

1 2 3 4 5 34