2
votes
1answer
80 views

Handle a great amount of Markers with OpenLayers

My general Problem is to maintain a lot of markers. For the beginning I want to display all Bus Stops of Berlin, Germany and surroundings as Markers. I already got that I have to use a strategy like ...
-1
votes
1answer
198 views

How to add multiple markers on map and popup different information using OpenLayers? [closed]

Can anybody give me some examples of adding multiple markers on the map?
1
vote
0answers
107 views

Prevent OpenLayers ClickEvent from firing on Popup closeButton

My Code to add popups as selectControl to a Layer. Works fine! map.addLayer(window.markerLayer); // SelectControl für Marker --> Popup window.selectControl = new ...
1
vote
1answer
205 views

Openlayers SelectControl add multiple Layers

Heres my code to add an SelectControl with Popup for an existing layer add startup map.addLayer(window.markerLayer); window.markerLayer.events.on({ }); // Popup für Marker window.selectControl ...
0
votes
1answer
330 views

Center (and add points too) a map with LonLat

I'm new to OpenLayers, so I'm sure this will be an easy win for someone :) I'm trying to center a map on a point (and place markers) using lon/lat but it appears to take everything as meters? ...
0
votes
2answers
787 views

OpenLayers: How do I keep a feature fixed while the map layer is moved (like in-car GPS displays)?

I am aiming to create something simple that works like a GPS navigation display, where the marker for 'you are here' is fixed while the map moves along. I have latitude and longitude coordinates ...
0
votes
1answer
1k views

How to show Label of a new feature Layer in Openlayers…?

I have created a dynamic new feature layer along with a marker using openlayers with popups, but, I want to show labels for each new feature created... Below is the code I used... //To add new ...
2
votes
1answer
755 views

OpenLayers: make polygons not zoom

I have a simple OpenStreetMap for which I want to display a series of circles. Each circle represents readership for that area, so its radius will change based on the numbers. However, when I create ...
0
votes
1answer
815 views

Not showing multiple markers on OpenLayers

I want to show multiple markers on my Google map with OpenLayers. Below is my code : for (var pointcount = 0; pointcount < jsonObj.length; pointcount++) { if (jsonObj[pointcount].Long != null ...
0
votes
1answer
98 views

How can I create a button to add a POI layer?

I am making a map of a city with openlayers. I have the shapefile data of the POI (hospital,bank,school etc.) I want to add the layers with buttons not in layerswitcher. Like whereis.com's quick ...
1
vote
2answers
248 views

Dynamically Reload OpenLayers Marker Layer based on user input

Not really sure how to ask this, so I'll outline the scenario. We have a database with locations in it. There are various types of cars at each location and each car has a problem of varying ...
1
vote
1answer
492 views

Creating markers(vectors) in openlayers

I'm new to OpenLayers,currently in existing project they have created markers in openlayers map by using following code, // vector layer creation vLayer = new OpenLayers.Layer.Vector(layerName, { ...
1
vote
1answer
993 views

Openlayers Vector Feature Popup

im trying to create a popup in Openlayers that would open when someone clicks a marker. And the marker is setup like this: new OpenLayers.Feature.Vector() and not with the ordinary marker layer. The ...
4
votes
1answer
100 views

How to reverse the drawing order of markers?

I saw this example which demonstrates how ordering can be controlled with markers added using styling options (graphicZIndex) applied to a vector layer. Due to the limitations in the combination of ...
0
votes
1answer
650 views

Showing custom markers, shadows and popups from json data

The examples given in the documentation of Open Layers show very basic ways of utilising the different features. This example shows how to add shadows to the marker. This example shows how to create ...
2
votes
1answer
757 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
1answer
944 views

OpenLayers : How to make a marker fixed [duplicate]

Possible Duplicate: How to skip drag event to stop a feature being dragged I've created a map and added markers to baselayer on click by using this code : vectorLayer = new ...
2
votes
1answer
468 views

How can i display markers from a database?

I'm an absolute GIS beginner and here is what i am trying to achieve. I am developing a web application that allows users to : type an address, and be displayed the corresponding slipping map select ...
2
votes
2answers
4k views

openlayers change marker icon, size and offset after drawn

I'm having much trouble changing my (feature)marker icons 'on the fly'. The problem is that I use much different images and also need to change the offset. So I iterate over every marker and make a ...
1
vote
1answer
2k views

OpenLayers - How to display selected features as graphic markers?

I'm attempting to render a point feature as a graphic. When that feature is selected I'd like to display a green indicator above the graphic. It seems backgroundGraphic and externalGraphic are ...
1
vote
1answer
402 views

Markers not displayed in xhtml in OpenLayers

I just started working with OpenLayers because I want to include a map on my JSF page (.xhtml files). I want to use the same feature that is demonstrated in this example: ...
1
vote
1answer
1k views

OpenLayers: Load Markers dynamically from Text file

I am trying to load set of markers dynamically from a text file using OpenLayers.Layer.Text. The problem is that no markers is shown after rendering the page. Below is the JavaScript file that is ...
2
votes
1answer
1k views

Adding a marker with openlayers/geoserver

My name's Tony. I'm from vietnam. I want to add a marker in webgis with openlayers/geoserver. Here is my code : <!-- Import OL CSS, auto import does not work with our minified OL.js ...
16
votes
4answers
13k views

How to define layer order in Openlayers?

I have a marker layer, two vector layers and two raster layers. The marker layer gets covered by the two raster layers. Is there a way to move the marker layer always on top? Edited: The order of ...