Tagged Questions
0
votes
0answers
3 views
openlayers draw feautre(line, polygon) callback
I need to enable feature drawing functionality. Code:
var drawingControl = new OpenLayers.Control.DrawFeature(someLayer, OpenLayers.Handler.Path);
map.addControl(drawingControl);
But I also need ...
1
vote
0answers
30 views
WMS Geoserver layer over OSM
I have a Geoserver with a layer in a EPSG:32632 projection. I want to display this layer over Open Street Map tiles.
When I use the following html code:
<!DOCTYPE html>
<html>
...
0
votes
0answers
9 views
Suite SDK gxp Print plugin
I have problem with gxp print plugin.
I create new sdk project suite-sdk create ~/sdk. Next I do everything from Problems with gxp Print plugin via opengeosuite sdk but there is another problem.
But I ...
1
vote
0answers
28 views
Openlayer and external CSS
I am using geoExt and OpenLayers to plot some map. Everything worked well until I had to add some styling. To display it on the webpage, I need to use the CSS of my university and once I do that, I ...
0
votes
1answer
26 views
Mapfile + OpenLayers: accessing the database by column names (hover, onclick functionality) without using MapServer templates?
What I'm trying to accomplish: take the functionality below (see picture) and do the same without using a MapServer template (if this is even possible).
I currently have a mapfile, and an openlayers ...
0
votes
0answers
32 views
MapServer with OpenLayers: Map is Pink, Trouble Displaying Layer Correctly
Having trouble using a mapfile with an html/js file(openlayers) together. Have a working example but can't seem to replicate it.
Can also view the gist of the 2 files here
The piece of code in ...
3
votes
2answers
53 views
OpenLayers: Possible to show zoom level?
Been researching this for a while and nothing has come to fruition. Best I could find was:
OpenLayers.Control.ZoomStatus = OpenLayers.Class(OpenLayers.Control, {
autoActivate: true,
element: null
...
0
votes
0answers
20 views
Altitude from KMLs in Openlayers
I have a KML with points representing the flight path of a small plane. Opening the KML, it looks like (up to style related stuff):
<Point id="Point">
...
1
vote
1answer
46 views
Hover on Airport Data using OpenLayers + Mapfile
I need to create a simple hover using openlayers for worldwide airport data. I'm thinking maybe the associated address, maybe a picture in regards to the airport, ...anything really. It's just an html ...
0
votes
2answers
38 views
How to drag a point and then use savestrategy in OpenLayers
Im trying to use the wfs-t in openayers using the savestrategy.
I have created a savestrategy and it works when I for example uses the DrawFeature Control to add a point. A new point is added to the ...
0
votes
1answer
31 views
How to get the last drawn point for a Geometry in openlayers
I wonder if I can get the position of the last point for a geometry in openlayers?
For example, I have an OpenLayers.Geometry.LineString, how to get its last point?
Clarification in the comments:
In ...
1
vote
1answer
67 views
OpenLayer and not well formed Json
I am learning to use GeoExt and OpenLayers, and I want to reproduce one of the examples given at the geoExt website. The script call a GeoJSON containg the position of Alp summits. I downloaded it via ...
0
votes
1answer
35 views
Can I modify a layer which is uploaded by myself?
I first uploaded a geojson type polygon to the OpenLayer. Can I still edit the feature of this layer? Here is the code I am using: (It can upload the geojson layer but can not edit it)
var ...
-2
votes
0answers
113 views
ArcGis Javascript API vs OpenLayers [closed]
I would like to know the pros and cons of the API:
Arcgis Javascript API
OpenLayers
A very detailed comparison of the two services are capable of and how best to work with, which is the best choice.
...
0
votes
0answers
15 views
The transformation of coordinates [duplicate]
I have a text file that contains the coordinates of the species --> 55 66.738603, 51 49 48.116408, and I need to convert them in kind: 55.789, 48.678. (dd^mm^ss dd^dd^dd). Are there services or ...
-3
votes
0answers
28 views
openlayers and coordinates tokens from the database [closed]
var strategy = new OpenLayers.Strategy.Cluster({ distance: 20 });
var vectorLayer = new OpenLayers.Layer.Vector("Overlay", {
strategies: [strategy],
});
...
0
votes
1answer
50 views
How can I clean up this OpenLayers code by correctly doing a transform or projection, for an array of features?
I have some features I've created via some Kml data.
Now, to display these features on a Google Map, I need to project them from 'EPSG:4326' to 'EPSG:3857'. This works great.
Now, i need to convert ...
0
votes
0answers
57 views
Openlayers Vector Feature label not Visible in IE 8 but visible in Google Chrome…?
I have created a WEB MAP using Openlayers-Geoserver-Postgis....
The Label of one of the Vector feature layer is not visible in Internet Explorer 8(IE 8) ,but clearly visible in Google Chrome ...
1
vote
1answer
55 views
Probleme with WFS protocol in OpenLayers
Sorry for disturbing. I know my problem look common, but I really don't know what to make.
Here is my code for getting a WMS layer in OpenLayers from Geoserver.
var wfs2 = new ...
-2
votes
0answers
45 views
open layers popup questions plz help me [closed]
Please help me.
http://dev.openlayers.org/sandbox/CloudAmber/Trunk/GooglePopups.htm
I want to include these Google-like popup's functions in my code (below).
<!DOCTYPE html>
<html>
...
1
vote
2answers
56 views
Apply styles to WMS layer
I am working with OpenLayers (and GeoServer) and I am showing a WMS layer with countries in a map.
Each object (country) in the layer has an attribute called NAME (the name of the country).
I created ...
3
votes
1answer
127 views
Problem with a large number of markers on an OpenLayers map
I have created a map using openlayers. On this map I place markers. Coordinates of the markers are taken from my database (sqlserver 2008), the quantity of markers is about 1500. The map is displayed ...
0
votes
0answers
39 views
problem marker and popup
Displayed not correctly popup when clicking on the marker, the popup appears to the left in the corner of the screen and need to be near the token display. Help( here is my code:
var map;
var ...
0
votes
1answer
56 views
Different Styles Within Vector Layer
Is there any way to configure OpenLayers styling method? I have a vector layer and I would like to style the features depending on a value of a flag variables, so I can't use rules. Lets say I have ...
0
votes
1answer
52 views
problem with popup conclusion on pressing a marker
I have markers on pressing to which popup has to be brought. how to make it? (coordinates of markers undertake from a DB)
var map;
var markers;
function ejecutar() {
init(3);
...
0
votes
1answer
79 views
How to draw a line between markers in openlayers
how to draw the line between markers, coordinates of markers undertake from a DB. whether it is possible to draw in general lines between markers, I saw examples only with points.
markers = new ...
2
votes
0answers
99 views
OpenLayers crashes stock browser on Android 4.0.4 devices [closed]
Update: The issue appears to be with OpenLayers Release 2.13 dev. I mistakenly mentioned 2.12 as being problematic but have retested with no problems. Also, no problems with 2.13rc3
We're ...
0
votes
1answer
28 views
Multiple FeatureType in WFS Protocol
I would like to pass multiple featureTypes to WFS protocol in order to accomplish a search feature in my app. the idea worked just fine with one featureType, but now I need to add another one to ...
0
votes
1answer
48 views
Dynamic data on overlay layer in openlayers
I am using openlayers to visualize an industry using image as the layer. On the raster layer I have created an overlay layer.Is it possible to show updated values (dynamic runtime values - as integer) ...
0
votes
1answer
70 views
creating map not working
am following this tuto to create a map on web with geoserver, GeoEXT, EXTJs, and openlayers here's the linki downloaded ext 4.2.0, openlayers 2.12 and GeoEXT 1.1, when i try to show the map : ...