Top "Openlayers" questions

OpenLayers is an open source Javascript web mapping library for creating web map applications.

How to transform a distance from degrees to metres?

I'm using OpenLayers with an ordinary mercator map and I'm trying to sample a bounding box by finding a grid …

transform openlayers proj4js haversine map-projections
OpenLayers vs Google Maps?

I have used Google Maps a couple of times, but what wondering about OpenLayers. Before starting any kind of coding, …

javascript google-maps openlayers
OpenLayers: How to refresh map after changing the vector layer

In OpenLayers, I have a cluster strategy to limit how many features/points the user sees on the map. When …

openlayers
Simple label on a leaflet (geojson) polygon

I am attempting what I imagine to be a fairly common use-case with a leaflet multipolygon object. I create the …

javascript mapping openlayers leaflet
Drawing a path with a line in OpenLayers using JavaScript

I have seen the examples presented here of how to draw a line but the examples only show how to …

javascript map openlayers
Adding event handler to feature in OpenLayers 3?

I am using the following code to add a feature to a vector layer in OpenLayers 3 (OL3): marker = new ol.…

javascript openlayers openlayers-3
TypeError: float() argument must be a string or a number in Django distance

I tried to get the value from my template which is kmdistance but it returns an error when I view …

python django openlayers
openlayers simple mouseover on marker

It sounds so simple but I can't find any newbie tutorial: Could anybody give me a simple example how I …

openlayers mouseover marker infowindow
Removing a layer in OpenLayers

I don't know why this isn't working. I would assume the answer is really simple. I need to remove a …

javascript openlayers
Good examples of MapServer / OpenLayers

I want to convince some clients to use MapServer and OpenLayers. Please can anyone suggest attractive websites to show off …

mapping gis openlayers mapserver heatmap