Questions tagged [openlayers-3]

OpenLayers 3 is the complete rewrite of the OpenLayers 2.x mapping library, targeting modern features of HTML5 and CSS3. It is not compatible with OpenLayers 2. OpenLayers is completely free and open source, having been released under the 2-clause BSD License.

OpenLayers 3

OpenLayers 3 is a high-performance, feature-packed library for creating interactive maps on the web.

Beginners may wish to consult the following resources:

Usual search keywords are 'OpenLayers' and 'ol'.

Source code can be found on GitHub at https://github.com/openlayers/openlayers.

Tag usage

Use of the tag was encouraged by OpenLayers developers for questions specific to OpenLayers 3, but it no longer is. The tag will probably get more attention.

2413 questions
5
votes
3 answers

OpenLayers 3 Disable Multi-Select

Is there a way to have a selectInteraction in OpenLayers 3 that only allows one feature to be selected at a time?
Tyler DeWitt
  • 23,366
  • 38
  • 119
  • 196
5
votes
2 answers

How to make ol.source.ImageWMS send POST request

In our project, we're using OpenLayers-3's ol.source.ImageWMS to show image provided by Mapserver WMS. Since we're using Mapserver runtime substitution, our request can become quite long, which could cause a problem for a GET request. Is there a way…
fblackburn
  • 51
  • 1
  • 2
5
votes
2 answers

Openlayers 3 turn off smooth scroll

I currently have an Openlayers 3 integration with many updating features, these make the scrolling stutter, especially when the 'kinetic' movement (flick scroll) is used. Is there a way to turn that smooth scrolling with inertia off so the user has…
user4773894
5
votes
1 answer

Multiple icons for single feature in ol3

Is there any (convenient) way to show multiple icons/images for a single vector (point) feature in ol3? Say, for example that I'd like to show different properties of a set of POIs using different icons representing these properties. I could of…
averas
  • 545
  • 1
  • 6
  • 15
5
votes
0 answers

Display a WFS service with OpenLayers 3. Define and add custom projection

I have a very simple question which I can not really find answers to. I am working with OpenLayers 3. I want to display a WFS Service with a layer defined in GeoServer 2.6.2. This layer is defined with a custom reference system which I have defined…
César
  • 61
  • 3
5
votes
1 answer

SecurityError: The operation is insecure in canvas.toDataURL

I've tried to resolve the next error but without success. I have the following jQuery and HTML5 code: