Top "Openlayers-3" questions

OpenLayers 3 is the complete rewrite of the OpenLayers 2.x mapping library, targeting modern features of HTML5 and CSS3.

How do Bounds work in OpenLayers 3?

Does the concept of OpenLayers.Bounds from OpenLayers 2.x still exist in OpenLayers 3? How has it changed, and what is …

openlayers openlayers-3
OpenLayers 3: simple LineString example

i'm new to OpenLayers and i am looking for some help drawing lines on a map, i've been trying various …

javascript vector openlayers-3
Openlayers-3 Force a map refresh

I have a custom styling that shows/hides features on the map, but when it is applied it doesn't activate …

openlayers-3 redraw
Openlayers 3: add text label to feature

I have the current set up here: fully functional fiddle example and whilst I have managed to zoom to each …

javascript openlayers-3
open layers 3 how to draw a polygon programmatically?

How to draw a polygon use open layer 3 programmatically? i have a json array coordinate: [ { "lng": 106.972534, "lat": -6.147714 }, { "lng": 106.972519, "lat": …

javascript openlayers-3
OpenLayers 3: How to calculate distance between 2 points?

Using OpenLayers 3, how can I determine the distance between two points in the Spherical Mercator (SRID: 3857) projection? I know that …

javascript openlayers-3
How to add Google basemaps in openlayers-3?

In openlayers-2, we can add google basemaps(satellite,physical,hybrid,etc.). I need to add google basemaps in openlayer-3. How …

openlayers openlayers-3
OpenLayer3 - how to get coordinates of viewport

I have a MapQuest displayed with OpenLayer3. I want to get coordinates of viewport (map area curretnly displayed). For the …

openlayers-3
How to get a layer from a feature in Openlayers 3?

I can't find a way to go from a feature in a selection event to a layer that it may …

javascript maps openlayers-3
OpenLayers: How to detect the map view is completely loaded?

I'm implementing map exporting functionality using OpenLayers 3. But there is one problem: one cannot determine whether the map view is …

openlayers-3