OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.
-1
votes
0answers
5 views
display my map with asp.net and openlayers [on hold]
hi everyone I have a problem on my project for viewing a map on a web page and add data to this card I use ASP.NET and Openlayers Now I want to display my map from google maps on asp.net web page ...
1
vote
1answer
9 views
How to zoom to wms layer after cql filter on Open layers
I created o layer contain points and I added it to a map as WMS layer on OpenLayers I did a CQL filter an it's work but I'd like to zoom to the selected point when I worked with getextent or ...
2
votes
1answer
27 views
How to dynamically display mouse position (coordinates) while drawing polygon?
I would like to dynamically display coordinates of the point, using label for example, while drawing polygon. I did so far:
var fromProjection = new OpenLayers.Projection("EPSG:4326");
var ...
0
votes
0answers
16 views
Openlayer not support touchstart for map object?
For a while, our website only supports desktop environment so we didn't set up any touch handlers. Openlayer working fine so far. But today we got a request to add support for touch devices too.
...
-1
votes
1answer
17 views
Map disappear after a click button event
I have a problem in my project that uses both openlayers and asp.net.
The problem is that my map disappears when I click in the button on my web interface.
Anyone already encountered like this ...
-5
votes
0answers
21 views
ASP.ET + OPENLAYERS [on hold]
how can I display a map from Google maps and asp.net openlayers on website
0
votes
0answers
24 views
No 'Access-Control-Allow-Origin' header is present on the requested resource. Using Geoserver + Openlayers [duplicate]
This is my code to open a WFS layer from geoserver:
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>My OpenLayers Map</title>
...
0
votes
0answers
7 views
Bing Open layer shows ok in QGIS and Composer Preview, but is misaligned after exporting to PDF
I have QGIS 2.2 running on a Mac with iOS Maverick.
I have prepared a map with layers with different CRS, including a Bing Open Layer as base layer. The project has the 'On the fly coordinate ...
0
votes
0answers
27 views
Openlayers Issue with Line Start Points
I read a KML with lines to my map and want to generate start and end points on the fly. I try to iterate over features and fill a marker array. I started with the Start Points only and than wanted to ...
0
votes
1answer
15 views
Using OpenLayers and OpenStreetMaps to display statistical information with colors : possible?
I'm planning to build a statistical tool using OpenLayers and OpenStreetMaps. This tool will have to display statistical data for french departments with colors. What I would like to do is the same as ...
0
votes
1answer
11 views
Problem with adding placemark from kml file with specific id
I have a problem with adding a vector layer from kml file. I am trying to make XMLHttpRequest and add only a placemark with specific id. Nothing is displaying on the map. Request is successful and ...
0
votes
1answer
25 views
Why are map tiles being repeated? Using MapServer and Openlayers
Problem I have: map tiles from my layer are being repeated.
Shapefile is projection 3059.
I have specified 3059 is in the mapfile and also when creating map object.
I know OpenLayers.Layer.WMS is ...
0
votes
0answers
10 views
Openlayers WFS change featureType
I am trying to change wfs featuretype "on the fly" in openlayers. (This method http://dev.openlayers.org/docs/files/OpenLayers/Protocol/WFS/v1-js.html#OpenLayers.Protocol.WFS.v1.setFeatureType)
This ...
0
votes
0answers
15 views
How to cache write Google Maps in OpenLayers?
How can I cache write Google Maps in OpenLayers?
Cache writing function of OpenLayers works with other maps but I have difficulty implementing it with Google Maps?
1
vote
2answers
43 views
Find closest feature
How can I find the closest feature(coordinates) in a json file from a set lat lon using openlayers.
Currently, I get the centroid point(lat,lon) from the selected polygon feature ok, but I Would also ...
0
votes
0answers
13 views
GeoExt2 projection problem with OSM and googlemaps
First of all, I already see the topic in Difficulty to display WMS and Googlemaps layers using Geoext and ext but I'm still not able to find an answer.
I'm using the example in ...
1
vote
1answer
13 views
Openlayers active select control on layer prevents drag and zoom
I've build this web-map http://gimoya.bplaced.net/Openlayers/Trails/map.html with bike-trails (retrieved from a KML on my webserver), where several trails from a region are covered by a selectable ...
0
votes
0answers
15 views
CQl Filter Don't work with WFS layer in Open Layers
I used a WFS layer from geoserver in open Layers it's shown on MAP but when I want to use a filter it doesn't work I don't know where the error this is the code :
<script ...
0
votes
1answer
15 views
Is there a widget/service to put a marker and send data?
I need to ask people where they want to go in the city, and as a response I need either geocoded location, or a marker on a map. Although everyone knows his home address, not everyone knows the ...
0
votes
0answers
20 views
about updating WFS with popup
I want to ask you something about this How to collect data via WFS and Popup
I started to build my own WebGis using openlayers and geoserver, but I'm newbie here
I want to add form to update the ...
0
votes
0answers
22 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
25 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
1answer
24 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
41 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
110 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
17 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
32 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
32 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
22 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
20 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
1answer
21 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
36 views
Writing a script for accessing QGIS tools for use in HTML WebPage [closed]
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
63 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
28 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
24 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
33 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
12 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
17 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
40 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
33 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 ...
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
19 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
38 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
22 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
24 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 ...