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

learn more… | top users | synonyms

2
votes
0answers
370 views

It is possible put highcharts chart in openlayers popup?

As title. I build a openlayers map on my website. and there are many feature vector on the map. now I want to put a highcharts charts in popup. to show the temperature in every city something Like ...
2
votes
0answers
54 views

How to find X and Y of clustered features?

How can I find longitude latitude values of clustered features? Please look the image. I hope you understand my question. I need to find out the X and Y of clustered features on every zoom levels. ...
2
votes
0answers
208 views

Add a layer as input with code of OpenLayers / GeoExt using GeoServer

I try to develop a GIS app with raster data. I have integrated the code of the following openlayers example in my app. http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/wps.html I have ...
2
votes
0answers
79 views

Unable to correctly visualize vector map on Google Map using OpenLayers

I am unbale to draw vector layer on google base layer. Geometry is getting displayed but in wrong place. unable to find out where I am making mistake. var map = new OpenLayers.Map({ div: ...
2
votes
0answers
79 views

Save WFS layers multiple records with geoext editor grid

How can I save multiple records after modification with geoext editor grid? The saving is working fine if I modify only one of the records, but it fails when I try to save multiple modifications. I ...
2
votes
0answers
110 views

Openlayers waits for base layer until loading other layers, is paralleled loading possible?

I am loading a base layer from OSM and a WMS layer from my local geoserver using the latest stable openlayers (2.13.1). Performance is okay, but openlayers seems to wait for the base layer to load ...
2
votes
0answers
152 views

How to make WFS-T layer grid panel with Geoext

I am using geoext,openlayers and geoserver. I am using WFSCapabilitiesStore to make the grid panel. I want to this grid panel WFS-T layer so that on each layer I can draw and edit feature after adding ...
2
votes
0answers
97 views

why is my map is not in the center when I load my map in OpenLayers?

why is my map is not in the center when I load my map in OpenLayers?And when I drag my map,it dont move sometimes,It has been tortured me for a long time,any advice would be grateful! var maxExtent = ...
2
votes
0answers
88 views

Set bounds based on layer size

I am using GeoServer+OpenLayers and I have a base layer (Google map) and some additional layers (OpenLayers.Layer.WMS); users can show or hide these layers. I would like when user show a layer then ...
2
votes
0answers
122 views

Applying rules to FrameCloud popups in OpenLayers

I have style rules for features that enable the map to display the features based on its rule. For example, the map displays a feature from specific scale. I do this in this way newRule = new ...
2
votes
0answers
390 views

Openlayers and Google Maps Api aren't work on Android Platform

I have application that uses OpenLayers, Google Maps Api and Geoserver My application is running at Web browser and when I try to run at Android tablet (using Phonegap), It runs but openlayers ...
2
votes
0answers
438 views

Data visualization techniques for web maps using ESRI and open source suites

I want to represent statistical data over the web map and looking the examples/techniques to represent data on the web map (apart from Pie-chat, bar graph) with new tools like gauge widget etc. ...
2
votes
0answers
292 views

Google base layer opacity change in OpenLayers 2.13

I have recently swapped from using OpenLayers 2.12 to 2.13.1 as it fixes a bug. However in 2.12 I was using a base layer opacity of 0.7 to 'knock back' the map so that the vector layers stood out ...
2
votes
0answers
46 views

Can Openlayers style vector polygons with every vertex of the polygon represented as a small circle or dot?

Can Openlayers style vector polygons with every vertex of the polygon represented as a small circle or dot?
2
votes
0answers
99 views

Openlayers WMS url construction

I am working on an extension to openlayers to pre-cache tiles in a local websql datastore to support mapping on mobile device when connectivity is dead. I would like to pre-seed my cache with a set ...
2
votes
0answers
148 views

get all the possible parameters of sql view

I have a Geoserver layer coming from a postGIS database. Among other attributes, I have one that is related to the date data we've collected, called departuretime. We use this attribute to display a ...
2
votes
0answers
62 views

How can I give random color to each line in Geoserver layer that is served from MSSQL geometry table?

I have a table of routes and I want to give each route random color to distinguish them on map (Using OpenLayers). What will be the easiest way to do so ?
2
votes
0answers
141 views

How to select GeoJSON vector feature in Leaflet?

I've been using OpenLayers for years,instead of comparing OL & Leaflet libraries,I decided to use Leaflet for the job for now. I have a GeoJSON data layer where I show point objects only.Just as ...
2
votes
0answers
147 views

WFS - From PostGIS to Shapefile with GeoServer

From Server side, I'm using GeoServer and from client side I'm using OpenLayer to allow the users see the layers(PostGIS) on the map. The new requirement is that the users may download layers in ...
2
votes
0answers
382 views

WFS filter query does not return points (selected from polygon)

I'm a newbie to OpenLayers (and JavaScript for that matter) and hoping you can offer some advice. I have been referring to examples http://openlayers.org/dev/examples/wfs-filter.html and ...
2
votes
0answers
140 views

OpenLayers - Pre cache layers on Client

We are using GeoServer and OpenLayers to display our data. We have a static WMS layer and several dynamic WFS layers. I want to use client side caching of the WMS layer at different pre-defined zoom ...
2
votes
0answers
97 views

OpenLayers - Weird behaviour when a feature is zoomed in

The problem is when I zoom on a feature inside OpenLayers with any browsers, at a certain zoom level the feature flip like you can see in those pictures
2
votes
0answers
435 views

Are there any examples of WCS getcoverage requests done using ajax?

I am looking through openlayers to try to figure out a consistent format for generating views of coverages that can satisfy any wcs server, but mainly I'd like to get geoserver coverages. While I've ...
2
votes
0answers
536 views

how to search a vector/wfs layer

I'm using Geoserver/PostGIS/openLayers I've succesfully set a vector layer. And now I'm trying to create a search functionality. But something goes wrong. First I set up the layer and add some basic ...
2
votes
0answers
401 views

Print and Export Functionality on web GIS application built with OpenLayers+GeoExt+Extjs+Heron Configuration

I have used OpenLayers+Extjs+GeoExt+Heron configuration to create a thin mapping client. I have added print icon to the client using heron.options.map.toolbar (type: printdialog, options: {printURL ...
2
votes
0answers
328 views

Mapserver+openlayers: displaying a shapefile with Cylindrical Equal Area (Lambert) projection

I have some shapefiles in "World Cylindrical Equal Area (Lambert) projection". The .prj reads: PROJCS["World_Cylindrical_Equal_Area",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_ ...
2
votes
0answers
108 views

Cannot reselect polygon after modify

I've got various vector layers on a OL map. On one layer I have a few draw controls. If I draw a polygon I can select it (the whole pop-up thing works). This also works for all the other features. ...
2
votes
0answers
186 views

Projecting PostGIS in Openlayers

I have a layer(base layer) with MultiLineString Geometries and now I need to project the layers(overlays) in the base layer from PostGIS using OpenLayers. However, I got an idea how to project table ...
2
votes
0answers
473 views

Openlayers text layer is not working

I am trying to load markers from a text file using openlayers text layer, but no marker is shown, text file and icons are in same directory. However I am able to show markers using marker layer. My ...
2
votes
0answers
131 views

Projection declaration in dojox.geo.openlayers possible?

I am trying to integrate some maps of my own into the dojox charting demo and I had success in exporting a shapefile (externally, i.e. with my own parser) to the dojo JSON map format. The map is in ...
2
votes
0answers
52 views

Is it possible to have transition between switching base layers

I use OpenLayers to display several maps. While transitioning between Google Map layers, the new layer is superimposed onto the old one. But for OpenStreetMaps, there is this empty void in between ...
2
votes
0answers
934 views

How to add multiple nested node in GeoExt

I have following codes, but i want to add severel parent>child>chill>child>child (4 level inside) nodes with all check box options (for user choice) in the tree panel, in fact sum of all these (parent ...
2
votes
0answers
66 views

Features disapearing

When I add a polygon feature it shows on the map. When I add another one the first one disappears. The code for adding is below: $.postJSON('@Url.Action("GetLayers")', { "planId": planId }, ...
2
votes
0answers
375 views

What are the differences between Anchored, Framed and FramedCloud?

From the API document for OpenLayers, I can tell that a FramedCloud has more functionalities than Framed, which in turn has more functionalities than Anchored. I am hoping for someone to describe ...
2
votes
0answers
407 views

OpenLayers BBOX sending double requests

I've implemented a openlayers bbox strategy on a vector layer. I have my server return a nice jsonp object wrapped in the callback given by the request. The problem is that during normal use of the ...
2
votes
0answers
338 views

Openlayers, valid zoomlevels are offset by 1 level. Why?

I have an openlayers based web app, map object is initalized like this: p4326 = new OpenLayers.Projection('EPSG:4326'); p3857 = new OpenLayers.Projection('EPSG:3857'); //initialize map object, bind ...
2
votes
0answers
216 views

Displaying text from dxf in Openlayers

I managed to import .dxf into Postgis table, and now have, among others, rows with Point geometries and values in text column (which corespodent with Label values from ACAD .dxf). What is the best ...
2
votes
0answers
161 views

dojox.geo.openlayers roadmap?

I'm curious as to the future of dojox.geo.openlayers. Presently is seems only to be a solution for positioning widgets on the map but I can imagine developing a suite of map specific dijits such as ...
2
votes
0answers
324 views

OpenLayers WFS - GetFeature Draw Circle

I am developing GIS Portal using OpenLayers, I use WFS GetFeature to retrive some datas like bellow: var layer = map.getLayersByName("pf_trecho_at"); var polygonLayer = new ...
2
votes
0answers
363 views

Creating a Geodesic Polyline Buffer in OpenLayers

I have a feeling that the answer is going to be 'You can't do that without some very complex coding' but I thought I'd go for it anyway. I recently asked a question on how to create a Polyline Buffer ...
2
votes
0answers
253 views

OpenLayers ArcGIS93Rest layer not showing up

So this seems like it should be super obvious, but I can't for the life of me figure out why I can't get any ESRI layers to show up on my map. I've tried different layers and messing around with the ...
2
votes
0answers
272 views

WPSExecute Format Issue

I have: function createWPSExecuteRequest(namespace, layerName, popFilter) { var request = OpenLayers.Format.XML.prototype.write(new OpenLayers.Format.WPSExecute().writeNode('wps:Execute', { ...
2
votes
0answers
296 views

Anyone have success with OpenLayers and ArcGISCache?

OPENLAYERS Has anyone had success using OpenLayers and the ArcGISCache layer beyond the examples? I'd like to mix tiles with different resolutions and although they seem to scale correctly they do ...
2
votes
0answers
216 views

How do you emulate a right click on a tablet/mobile device using OpenLayers?

I'm trying to make my OpenLayers mapping application work for mobile devices and one feature I haven't figured out how to emulate is the 'handleRightClicks' Control Click option. Anyone know how to ...
2
votes
0answers
739 views

OpenLayers.Popup.FramedCloud won't autosize

I don't see why this shouldn't work, but it doesn't.. :P var popuphtml=""; $.each(persons.persons,function(i,item){ if(item.in_loc == feature.attributes['locid'].substring(8)){ ...
2
votes
0answers
214 views

How to install OpenLayers in drupal?

I have been trying this for a while without success. After installing the OpenLayers module in drupal 7.14 and trying to configure it i get the following error: Cannot establish a connection to the ...
2
votes
0answers
125 views

Instalación masiva de QGIS - Automated installation of QGIS

Solicito lo siguiente requiere la línea de comandos que permitan realizar la instalación automatizada o desatendida para poder enviarla desde SCCM para la Instalación de QGIS Google Translate - ...
2
votes
0answers
418 views

Zooming the map after filter

I have wms layer and after i do cql filter on this. And now i want to see result. I want map zoomed to this result. My code. ex=layer.getExtent(); map.zoomToExtent(ex); But getExtent() returns ...
2
votes
0answers
173 views

Rerendering OpenLayers in JSF2

did anyone try rerendering OpenLayers in JSF2? I am using a4j:ajax events, I mark the render atribute with render="map" where map is naturally the id of the openlayers div tag, and I use ...
2
votes
0answers
104 views

When using OpenLayers plugins maps, can I have Longitude/Lattitude labelled on my grid when using the Map composer in QGIS?

Using OpenLayers plugins maps, can I have Longitude/Latitude labelled on my grid when using the Map composer in QGIS?