OpenLayers is a JavaScript library for creating dynamic map widgets for web sites.
0
votes
0answers
28 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
62 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
47 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
1answer
25 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 ...
0
votes
0answers
23 views
Why do temporary features disappear when hovered over?
With DrawFeature I'm putting new features to my map. With the hover option of SelectFeature it is possible to get feature information when hovering over it.
Now I have the problem of disappearing ...
0
votes
0answers
43 views
Getting “pointer” cursor at mouseover for rules/symbolizers based clusters in OpenLayers
I successfully used the AnimatedCluster plugin for OpenLayers. My codes uses OpenLayers.Rules and symbolizers. How can I get a "pointer" like mouse cursor when hovering over a cluster of features?
My ...
0
votes
0answers
25 views
Refresh WMS Select Control
I use WMS layer in my application and I need to refresh it with new parameters.
I did refresh the WMS layer correctly but I couldn't find a way to refresh its select control. So I got the new layer ...
0
votes
0answers
17 views
How to add clickable action to each feature from a featurecollection geojson object rendered using OpenLayers?
I have geojson object which is a featurecollection object. I need to render this geojson object as a vector layer on openlayers map. I have successfully rendered the layer. Now i want to add clickable ...
0
votes
1answer
43 views
uncaught typeerror: undefined is not a function
Using some examples from internet, I found this code that shows WMSGetfeatureinfo
I don't know where's the problem:
Here goes my code:
<!DOCTYPE HTML>
<meta http-equiv="Content-Type" ...
0
votes
1answer
56 views
Problem Overlaying layers in OpenLayers
I have a html page with 2 WMS layers.
The first is one Base Layer , & the second is my personal WMS feature. I load it from Geoserver. The problem when I add the 2 layers I do not have the ...
0
votes
0answers
19 views
OpenLayers what is the last event when everything is rendered?
I have a Openlayers map with an OSM layer and a KML layer.
The KML is added by parsing some text from using OpenLayers.Format.KML (so no "loadend" event seems to fire).
What is the last event that ...
0
votes
0answers
39 views
GetFeatureInfo Pop up - Openlayers/GeoServer
I am an OL and GeoServer newbie. I've been trawling the net looking for guidance on how to code a GetFetureInfo request in OpenLayers to retrieve attribute information from a GeoServer WMS running on ...
1
vote
1answer
32 views
How do we get wcs service in openlayers using geoserver?
How do we get wcs service in openlayers using geoserver?
1
vote
1answer
58 views
Simple WebMapping application with postgis Database
am very new to web-mapping, so this question may be a little misguided.
I want to develop a simple web mapping application using OpenLayers which can display Cadastral information that are currently ...
1
vote
1answer
31 views
Display information while map is zoomed using OpenLayers
I have a map being rendered by OpenLayers using GeoServer which is serving maps using PostGIS. In the database for each line feature type (i.e road), I have the name of that road.
I'm looking for a ...
-1
votes
0answers
47 views
how can i get features from Wfs
I want to take my wfs layer features value with some javascript code. I find some code for it.
For example when I write "alert(map.layers[3].name)" it works perfectly but when I write ...
0
votes
0answers
23 views
Vector Layer not working in opengeosuite
I need to create a vector layer using wfs protocol to give input to my gs:Nearest WPS process.
this.layer2 = new OpenLayers.Layer.Vector("parks", {
strategies: [new ...
1
vote
1answer
49 views
Implementing gs:Nearest WPS process from geoserver
I am implementing gs:Nearest WPS process available in GeoServer using openlayers in OpenGeo Suite SDK.
I am trying to implement this process as a openlayers plugin to hook into my custom web mapping ...
0
votes
1answer
29 views
How to add offset to layer in OpenLayers?
As the title suggests,I have GeoJSON vectors on OpenLayers map where user should add X/Y offset (i.e 5 meters north,5 meters east).I plan to add some control for it.
Since vectors are drawn map with ...
-2
votes
0answers
78 views
How to show image in popup in openlayers from postgis using geoserver? [duplicate]
i want to store image in postgis.
tell me how can i do it.
then i want to retrive it from geoserver using openlayers .
my main motto is to display that image in popup using openlayers through ...
0
votes
1answer
24 views
How show filter image out of feature in other color?
I am using openlayer js to filter the features display. I am trying to show the filtered imaged in other color keeping rest of feature also.
Following is the code i am using for filtering:
var ...
1
vote
1answer
73 views
display WMS layer from geoserver in mobile app with openlayers mobile
i try to display WMS layer from geoserver with openLayers Mobile,and its working great in the navigator (chrome) but its not appeering in the simulator device (android)...
& with another WMS ...
1
vote
1answer
33 views
OpenLayers SelectFeature - Manually set feature as selected/unselected
In the OpenLayers SelectFeature, how can I manually set a feature as selected/unselected and have it reflect the appropriate color?
For instance, when my application loads, it sends back the existing ...
3
votes
2answers
60 views
How to develop a web mapping app to upload, process, and download results?
I would like to make a web mapping application where a user can import their own x-y-z data file, then the application applies filters that I write to it, contours the resulting data, then displays ...
0
votes
1answer
68 views
What should I start with WebGis Mapserver?
I'm not native English Speaker and I'm a graduated student who want to have a master degree in software engineering.
I have a thesis relative with "Build a WebGis for air pollution in Vietnam's ...
1
vote
1answer
21 views
Perform OpenLayers methods when outside images are clicked
Hi (I'm i bit new to OpenLayers).
I'm trying to set up my OpenLayers map controls (e.g ZoomIn, ZoomOut) when images elsewhere on the page are clicked. Is this an issue of formatting a control panel ...
1
vote
0answers
60 views
Select features of layer which is not on top in OpenLayers
I have posted this question before on the general StackOverflow forum:
http://stackoverflow.com/questions/16278569/select-features-of-layer-which-is-not-on-top
In short my problem is that I have a ...
0
votes
1answer
45 views
How to create a map with OSM and webatlas.de's WMS layer?
I spent hours trying to figure out the following problem, I hope someone can help me.
You can see here that this WMS has different Projections available:
...
0
votes
0answers
32 views
SLD based selection on WMS layers - How to set the new style of clicked point?
I'm trying to follow this example:
http://openlayers.org/dev/examples/SLDSelect.html
When I click on the point, its color should be changed, here is a piece of my code:
control = new ...
1
vote
0answers
66 views
Google Maps v3 with Openlayers - First Zoom Level
I use Google Maps v3 in my application and I noticed a strange behavior, When I refresh the web page, the map zoomed out to display the whole map then get back to the zoom level I specify in my code. ...
1
vote
1answer
67 views
Running OpenLayers in .NET 4.5 breaks
So, I'm writing an web mapping application using OpenLayers in WebForms in .NET 4.5.
It was working wonderfully until my browser upgraded to IE9. Now the JavaScript fails. After researching I found ...
1
vote
0answers
26 views
How to bring workspace layer to one combo box and once layer selected in this attribute of this layer in other combo box
I want a layers in workspace in combo box.Once i select combo box i want attribute in selected layer to in other combo box. how can i do it. I am using geoserver, openlayers, Geoext and ext js.
Can ...
4
votes
2answers
71 views
How do I parse getStyle request?
I am having problem parsing
http://localhost:8080/geoserver/wms?request=GetStyles&layers=topp%3Astates&service=wms&version=1.1.1
getStyle response from geoserver of layer topp:states.
...
1
vote
0answers
60 views
How to add legend in WFS openlayers
How i can publish WFS openlayer with legend, have tried different examples such as http://api.geoext.org/1.0/examples/vector-legend.js. But when i used tried this fire-bug shows an error=> ...
1
vote
2answers
39 views
Is 'Shortest Route/Distance' analysis is possible in Geoserver using Openlayers 2.8…?
I have configured a web based GIS Map using Geoserver & Openlayers controls.Now I want to add 'Shortest Route' analysis in the same...
Any solution....???
Thanks In advance
Regads
Sandipan
1
vote
0answers
25 views
OpenLayers getFeature loading indicator
I need to set up loadMask for OpenLayers.Control.GetFeature. I know i should hide the mask on featureselected event or on protocol callback but when should i show the mask?
Here is code (assume i ...
0
votes
0answers
19 views
Switching between different feature sets / Change orientation of Openlayers Map
Setup
Entities postgis table:
id | name | the_geom | campus_id
1 | bldg_1 | <b1_geom> | 1
2 | bldg_2 | <b2_geom> | 2
3 | bldg_3 | <b3_geom> | 1
4 | bldg_4 | ...
3
votes
1answer
40 views
Can i do everything with openlayers mobile like openlayers api?
Where can I download openlayers mobile api?
Can i do everything with openlayers mobile like openlayers api?
Thank you very much
0
votes
0answers
14 views
Showing all points or features at border if point coords out of visible range in Openlayers
I'm building user-friendly map-system with openlayers and think its very usefull thing
it looks like if we go out from area with point, then point will be displayed at border, and it can be clicked ...
0
votes
0answers
26 views
WMS layer is not overlaying exactly when zooming out. How to add WMS layers to google map layer in openlayers?
My openlayers code is as follows. But there is shift in between both the layers. How to rectify it?
map = new OpenLayers.Map( 'map_element',{} );
var gsat = new ...
1
vote
0answers
29 views
Editing a vector layer with openlayers
i am trying to develop a webmapping application using openlayers, geoserver, JSF javascript. I published my postgis layers on geoserver and added them to a google basemap on a xhtml page using a ...
2
votes
1answer
60 views
How to show/hide labels with mapserver and openlayers
I'd like to have a check/uncheck option like this print checkbox to show/hide labels in my WMS layers served by mapserver 5.6.7 in openlayers 2.11. I have a toolbar where to put this using probably ...
0
votes
0answers
15 views
how to stretch GMT raster with gdal to work with google
How can I stretch a PNG raster coming from GMT (Generic Mapping Tools 4.5.6) in such a way that does align with google satellite or bing? such raster is in wgs84 and crosses two UTM zones (17 and 18 ...
1
vote
3answers
94 views
How to use WKT in Google Map V3?
We have a shape with the following WKT. The problem with google map we normally extract out each of the lat and long value and put into an array and finally will do something like this. It works fine ...
0
votes
0answers
16 views
OpenLayers popup control doesn't work after selecting another control
I have created an application using OpenLayers which by default includes the navigation control and the draw feature control. These controls are selected using a control bar similar to the one shown ...
0
votes
0answers
20 views
openlayers addUniqueValueRules default style not displaying
I'm trying to alter the colour of displayed points using addUniqueValueRules in OpenLayers. If I don't use addUniqueValueRules all my points display the default colour (green). However, when I add ...
0
votes
0answers
15 views
How to retrieve latlon values of point that is searched by user?
I want to create a shortest route in openlayers. I created the sql queries of shortest route algorithms and can query shortest route in sql. Now I want to create a search functionality so that the ...
1
vote
3answers
66 views
Openlayers vector feature coordinates are not transforming,
I have a OpenLayers vector with a single feature [0]. It's coordinates are in the map projection (EPSG:3413) and I want them in WGS84 (EPSG:4326) decimal degrees. I have the following code which ...
-2
votes
1answer
85 views
Adding Google map layer in Openlayers - what about this function?
How to add Google map as a layer (something like "var gmap = new OpenLayers.Layer.Google("Google Streets", {visibility: false})"?) to this mymap.js function i already have:
var map = new ...



