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

learn more… | top users | synonyms

0
votes
1answer
20 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
22 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
12 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
13 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
8 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
14 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
23 views

which framework is good for closed intranet [on hold]

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
27 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
15 views

Geoserver chart Extension Pie Charts [on hold]

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
22 views

Overlay two images using Openlayers [on hold]

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
13 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
17 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
26 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
23 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
17 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
17 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
21 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
18 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
22 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
56 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
10 views

Issue with KML over Openlayers Basemap [closed]

I'm having a hard time trying to add a KML upon an Openlayers basemap: http://gimoya.bplaced.net/Openlayers/bergfex.html I'm afraid I have a projection issue here.. <html ...
0
votes
0answers
15 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
10 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
22 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
20 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
35 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
30 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
31 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
72 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
30 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
31 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
31 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 ...
0
votes
0answers
24 views

GeoExplorer: Setting more/custom zoom levels

I have BoundlessGeo's OpenGeo Suite (Geoserver,PostGIS,GeoWebCache,GeoExplorer) installed, and love the web functionality of GeoExplorer, but need my maps to zoom in a few steps further. So far the ...
0
votes
0answers
21 views

Using WMTS Stream in OpenLayers

I am trying to write some OpenLayers javascript that can display a WMTS stream from a publicly available REST service located at: ...
0
votes
0answers
13 views

Openlayers and Geoserver: Google Maps and WMS Overlay [duplicate]

I'm trying to overlay a WMS layer in Google Maps. My coat is already projected in EPSG: 3857 and has prj file. I used the following command in postgis to confirm: the result EPSG:3857 SELECT ...
0
votes
1answer
33 views

Whats is Openlayers editor?

Staff has anyone ever used OpenLayers Editor? Openlayers researching on the internet I found this link: https://github.com/geops/ole It is an editor based on OpenLayers open source? How do I set it ...
0
votes
1answer
36 views

How do I create a static popup that displays a local web page?

I am using OpenLayers 2.11 and would like to place a marker on my map which, when clicked on, would open a popup which then loads a local web page. I would like the popup to be located in the lower, ...
0
votes
2answers
56 views

I need to configure geoserver proxyHost even standing on my local machine?

I'm with geoserver on my local machine running on port 8080 on jetty which is standard in windows installer. I want to use my GetFeatureInfo WMS layers, but I have the following questions: I need ...
0
votes
0answers
19 views

OpenLayers on a Tablet running Win 8 - WFS and Doubleclick-Zoom and Zoom-gesture doesn´t work

we have our Website (OpenLayers/GeoServer with WMS and WFS) tested on mobile devices (Android mobile, iPhone, iPad and a tablet running Win 8). On the Android and Apple devices this page works fine, ...
0
votes
1answer
44 views

Open Layers Performance issue with IE 7 & 8

I'm using open layers to draw the world map and below is the code. Basically there's a json file which contains the coordinates of all countries which will be read by open layers and the fill color ...
0
votes
0answers
26 views

Calculating scale from tiles using their envelope

I have a few problems I need to solve, and it comes down the the below example. It may be my understanding or the way I am doing it. Can someone please explain why my logic does not work. I am ...
0
votes
2answers
45 views

I can not override my WMS layer in Google Maps as a base

I can not override my WMS layer in Google Maps as a base: I have a WMS layer in geoserver am using openlayers to show them. Calling only works WMS layer:   see my code, I am using using the bounds ...
0
votes
1answer
41 views

OpenLayers legend graphics not using proxy

I'm using the OpenLayers/geoserver stack and my WMS requests are configured to go via a proxy using the following: OpenLayers.ProxyHost="../gis/geoserver.seam?url="; So far so good, all future WMS ...
0
votes
0answers
36 views

FME converter from DWG to Openlayers supported format

FME converter is best software that i found till now to convert DWG to some open format vector data file supported by OpenLayers , but it got very awful convert from DWG to KML/GML it drawing ...