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

learn more… | top users | synonyms

0
votes
0answers
6 views

Speed-up the GIS dynamic web application

I don't know if this is the right forum to ask this particular question but I would definitely appreciate any support or clue in this regard. I am have made a dynamic web-GIS application on Eclipse ...
0
votes
0answers
15 views

Openlayers doesn't want to show map throught Mapserver

I have a configured Mapserver with WMS service, I know Its working because I tried in QGIS and I can see the map. The problem is that openlayers doesnt want to show the map via mapserver service. Yes, ...
0
votes
0answers
10 views

get and change style property openlayers

i need to change the property of some style after its created, and i need to change it with knowing only the string of the property name. i am getting string like "fillColor" and value like "blue", ...
0
votes
1answer
22 views

how to display the coordinates of a openlayers map with a jquery in my asp.net textbox?

this is my initmap.js OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, { defaultHandlerOptions: { }, initialize: function (options) { this.handlerOptions = ...
0
votes
2answers
63 views

Build Openlayers 3 on Windows

On GitHub is a wonderful installation instructions, but most users GitHub, use Linux, it's not worked on Windows.... https://github.com/openlayers/ol3/wiki/Developer-Guide How can I build OpenLayers ...
0
votes
0answers
10 views

Preload tiles in OpenLayers 2 and add them to the map

I have an XYZ layer on an OpenLayers 2 map. Now I've written a function to preload all tiles of map.getExtent().scale(2). That works, but when I pan the map, the tiles still appear after a small time ...
0
votes
2answers
20 views

How to get feature from PostGIS to OpenLayers with ASP.NET?

I need to show my feature from this table in PostGIS in my ASP.NET web page web. Has anyone done that?
0
votes
0answers
30 views

WmsGetFeatureInfo not working in larger scales

I use Openlayers/Geoserver on ubuntu server. Geoserver runs at tomcat6. I have grouplayer of several layers all shown at certain scales. When I click at feature at small scale, getfeatureinfo works. ...
1
vote
1answer
17 views

Optimize openlayers / Geoserver 2.5 with GeoWebCache - reprojection necessary?

I have an openlayers map setup with several base layer options (some served by my own GeoServer) and many optional layers served by my own GeoServer. I've selected Google's EPSG:900913 as the map's ...
0
votes
1answer
14 views

WPS Client implementation in our desktop

how to implement wps client in our system and also specify requirements needed. How to specify the proxy to the OpenLayers.ProxyHost = 'proxy.cgi?url='; var map, client, intersect, buffer; function ...
0
votes
0answers
11 views

add a new library in netbeans

I have a project in GIS and i'm blocked and i hope that you can help me I work with apache tomcat and i deployed geoserver in apache tomcat (geoserver is a cartographic server)...now i created a ...
0
votes
1answer
17 views

Vector Layer editing in OpenLayers

I can draw a polygon in OpenLayers by this code. var points = []; var point = new OpenLayers.Geometry.Point(0, 0); point.transform('EPSG:4326', 'EPSG:900913'); ...
0
votes
0answers
31 views

Writing a script for accessing QGIS tools for use in HTML WebPage [on hold]

My objective is to write a script which uses QGIS GRASS Plugin tools and generates an IDW Interpolation Output and passes the file path as a parameter, which can be used in an OpenLayers API ...
0
votes
1answer
43 views

Read GeoJSON with openlayers

I generated a GeoJSON a projected table in EPSG: 4326 domeu postgis SELECT ST_AsGeoJSON(geom) FROM "onibus" I put in the www folder on my server I'm running geoserver locally my pages are also in ...
0
votes
1answer
24 views

Reprojecting vector layer in OpenLayers

I have a simple OpenLayers map, where I would like to display the OSM map (the base map, in EPSG:900913) with some points on top of it (a vector layer, in EPSG:3763). I use proj4js. I do convert a ...
0
votes
0answers
17 views

Openlayers WMS GetFeature Info Pop Up Not Working / Mapserver

I am new to OpenLayers and Mapserver .. I have been trying for days and am not able to make it work I want to make a Pop Up for Get Feature Info but nothing appears when i click any place This is ...
0
votes
1answer
26 views

register to event in openlayers 3

I have a web application in openlayers and I am starting to rewrite it to openlayers 3. In the application i have some features that i need to delete/move/add/edit the features then to save it to the ...
0
votes
0answers
10 views

how to add layer style in geoserver using gxp_styler by GXP api

I am using GXP api(open Geo Suit) for my GIS application.I want to add style to layer using gxp_styler plugins.This plugin is working fine for me but the problem is that when i add a new style to ...
0
votes
0answers
16 views

openlayers setCenter issue (other posts on this do not solve it)

I can't get map.setCenter to display an OSM layer (via openlayers) centered at my specified coordinates. Instead it defaults to the West Coast of Africa. The zoom level does however work. Both of ...
0
votes
1answer
34 views

which framework is good for closed intranet [closed]

My requirement is simple. By latitude/longitude, draw icon on the map, draw a line between two icons.I may need put a customer picture over the map. It is not difficult by google map javascript or ...
0
votes
2answers
12 views

OpenLayers - How to construct OpenLayers.Bounds

I would like to create Bounds for a layer but I am not sure in what order I have to provide the min_x / max_x and min_y / max_y coordinates. is it correct to put it in that order: min_y, min_x, ...
0
votes
0answers
20 views

Don't cancel the click event on a SelectFeature

On my OpenLayers map I have a custom Control that has a ClickHandler. I also have a SelectFeature on one of my layers. I need the ClickHandler to fire even if a SelectFeature is clicked. I tried: ...
0
votes
0answers
17 views

OpenLayers GeoJson style

I have a GeoJson that I'm displaying in OpenLayers. I created a style map and added it to a layer. The problem is that in GeoJSON I have two types of features - Points and Linestring. And they both ...
0
votes
1answer
29 views

overlay google maps to openlayers in geoserver [duplicate]

I am new to geoserver and I want to overlay google maps to my openlayer in geoserver, i dont know how to start with? do suggest me how to begin. I wanna know which file to access, file extension, and ...
-1
votes
0answers
18 views

Geoserver chart Extension Pie Charts [closed]

I am trying to create a pie chart on Open Layers Map. The Map is showing pie charts. Using SLD, I want to show labels on the pie chart.
0
votes
0answers
24 views

Overlay two images using Openlayers [closed]

I would like to overlay two images (one image is sub-image of the other) using openlayers(data loading from PostGIS database). Is is possible to overlay without the projection system of the images?
0
votes
0answers
14 views

openlayers undoRedo and Ragbag of components library conflict

I am currently using this example (link below) for modifying feature http://jorix.github.io/OL-Ragbag/examples/modify-feature.html and now I'm trying to add functionality for undo/redo ...
0
votes
0answers
11 views

Layers change position when saving to another data format

When I save my map after using the composer, the layers move a little bit on the images of the OpenLayers plugin. It is like they ignore the CRS option. Do you have an idea?
0
votes
0answers
18 views

how to filter point features based on the filterted polygons with OpenLayers

I have one WFS polygon layer and one WFS point layer. The polygon layer has an attribute user_id. The web map has two requirements. Filter the polygons based on the attribute user_id. That is, a ...
0
votes
2answers
29 views

OpenLayers and Mapserver-WMS-Layer disappear if the map is draged

I have a client for the WMS-Services of my mapserver. The client program is written in javascript and it uses Openlayers (v. 2.12). The map has as a base layer "Google satellite"-Layer and the ...
0
votes
1answer
24 views

Select all features close to clicked

I have an openlayers map with more then 20000 features not in wms, only in vector layer. I have a control to select features, but sometimes it's really hard to select, specially the lines, and also ...
0
votes
1answer
20 views

Showing Dojo charts On OpenLayers Map

I am trying to show dojo GFXLayer of dojox.geo.openklayers on my map layers , the problem is that my map is not showing townLayer but map is showing default OSM Layer and GFX layer.What I am Doing ...
1
vote
0answers
18 views

Building a road path using openlayers and shapefiles? [closed]

I'm looking to learn OSM and Openlayers. From what I can tell, I need OpenLayers to display the map on a website and I need shapefiles to do any manipulation on the map regarding its topographical ...
0
votes
0answers
22 views

maintain different style for each feature in same layer

on feature selection, I am trying to change feature style of selected feature.so that assign different style to each selected feature that exist in same layer. I have done this successfully but when I ...
0
votes
1answer
21 views

OpenLayers SVG sprite externalGraphic only works in Firefox

I am trying to set the externalGraphic property of a vector layer's style to an SVG sprite that has various viewboxes to position the icons dynamically by creating different views within my SVG file: ...
1
vote
0answers
23 views

Multi layer, multi control

I am new to GIS technolgies. I'm working on the final project of my career. I need to have a background map of somewhere on this map I need to create 1 .. N layers in which a particular user can ...
3
votes
0answers
61 views

Editing PostGIS topology in a web browser

I am trying to conceptualize the best process for editing topology from PostGIS in a web browser. Ideally what I would like to accomplish is the loading of a topology (imagine the lower 48 states of ...
0
votes
0answers
16 views

Openlayers - Many broken tiles with vmap WMS in EPSG:900913

I would like to use the vmap WNS (http://vmap0.tiles.osgeo.org/wms/vmap0) in an OpenLayers map. I encounter many broken tiles (pink) when using the srs: EPSG:90013 contrary to EPSG:4326 and that at ...
0
votes
1answer
13 views

OpenLayers/Leaflet render world borders

I am trying to show all world borders. Either using OpenLayers or Leaflet. World borders are taken from here. This code does not work. What I am doing wrong? var Map = { map: null, layer: null, ...
0
votes
1answer
23 views

Geoserver styles - changed feature icon on mouse over

I am using OpenGeo and OpenLayers 3. I managed to set a WMS layer from PostGis (Configure new SQL view) where I show points from coordinates I have in database. I also managed (following tutorial on ...
0
votes
0answers
25 views

How to (using OpenLayers) panTo/setCenter on a OpenLayers GeometryPoint

Xpost from Stackoverflow. First, I'm new to OpenLayers. The following is a snippet of HTML which represents a couple of images on a map rendered via OpenLayers. QUESTION: using the information below ...
0
votes
0answers
45 views

Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess

I'm trying to use the openlayers vector class. And the error occurred: Acess control allow origin header is present on the request resource. Origin null is therefore not allowed acess I've put ...
0
votes
3answers
31 views

Problem mixing the google maps and WMS layer

I have been trying to use both google maps and WMS layers as an option in the layerswitching panel. But when I switch the base layer from WMS to Google Maps layer and then back to WMS, the bounds of ...
0
votes
0answers
6 views

Open Layers 2.13.1 Image Layer Zoom Animation Issue

I updated my web app to use 2.13.1 from 2.12 and see that Image layers now animate zoom level changes? I don't believe it previously did this and investigating the code only briefly, I'm not sure how ...
0
votes
0answers
34 views

Looking for mobile web app map control that can handle layer redraw with good performance

I want to develop mobile web app to track GPS coords in real time (refresh every 10 seconds) from geoserver. Currently I have desktop site I wrote in ExtJS 4 and it works pretty well (Openlayers + ...
0
votes
0answers
28 views

show .bil file with openlayers

There is a WMS service http://www.nasa.network.com/elev?REQUEST=GetCapabilities It can return files with the next formats: image/bil application/bil application/bil16 application/bil32 Then we want ...
2
votes
4answers
78 views

How to make a private OSM (Save personal information to) a map using OpenLayer or Tilemill or mapbox

OSM (OpenStreetMap) is great for making a real time public map for general purposes but what if I want to add private info to a map such as the location and date of my first kiss or a note about every ...
1
vote
1answer
31 views

How to tell if GeoWebCache REST API is working?

In my web application, i wanted a service to cache updated data using geowebche. so i worked on seeding tiles automatically with GeoWebCache as in this post: custom time interval for geowebcache then ...
1
vote
1answer
32 views

How to Display Local Basemap Tiles from ArcGIS for Server Using OpenLayers?

I am using the OpenLayers JavaScript API within a web application. I generated a basemap tileset using ArcGIS Server for a particular region and i wrote a code to display the basemap tileset using ...
4
votes
1answer
34 views

Highlighting selected feature in OpenLayers with additional graphic or reticule

I am trying to create an OpenLayers map in which I can highlight a selected point feature by putting another graphic around it, such as this red box: What I have done so far is to add a vector ...