0
votes
2answers
315 views

add a vector point on OSM map

I have managed to show Lat and Lon function init() { navigator.geolocation.getCurrentPosition(function(position) { document.getElementById('myloc').innerHTML="Latitude: " + ...
1
vote
2answers
100 views

simplify point geometry

I have a great amount of points and I need to show them on map. I am using OpenLayers. Is it possible to simplify point geometry in order to speed up the process of rendering?
2
votes
2answers
1k views

OpenLayers: how to save added point in server side

I'm new in OpenLayers. I have simple application, which use a picture as map, on this picture users can add, move, or delte point, and then save. I have implemented adding, moving, deleting ...
0
votes
1answer
230 views

Vector data(point) is drawn in wrong place on map (OpenLayers)

I need to show a map (world map, used default OpenLayers WMS) and one point on it (with events like onhover, etc). Here is my code: var options = { ...
6
votes
2answers
2k views

How can several vector layers have different controls, using Openlayers?

Using openlayers I have two vector layers. One layer is called lineLayer consisting of vector lines, and the other is called pointLayer consisting of points. When I hover on the lines I want to be ...
2
votes
1answer
754 views

How to design markers - raster or vector?

I have several layers that are point geometries. I am defining them custom markers symbols and such symbols have colors (red, yellow and green) to represent values. Since there are several of them in ...
1
vote
2answers
519 views

Handling points in openlayers

I have a several hundred points that I am showing on a map. At the moment, my method of adding the points seems inefficient. I create an array using the following approach: var features = [new ...
3
votes
1answer
669 views

OpenLayers Point Feature Vanish on Zoom-In

I use OpenLayers to animate a point moving along a line. To do this I use several map layers and one vector layer to contain one LineString feature and one Point feature. Currently, the animation is ...
4
votes
3answers
4k views

OpenLayers: Showing a WFS overlay on top of Google Maps

I have found similar questions asked previously, but I still fail to get a simple WFS point layer to work using OpenLayers and Google Maps. The original code I used was based on WFS polygon layers I ...