Questions tagged [openlayers-6]

v6 specific questions on the OpenLayers mapping library

OpenLayers v6 is the latest release of the OpenLayers mapping library.

412 questions
-1
votes
1 answer

Openlayers Interaction

I've been trying to find a way to add a search bar/filter onto my Maps solution, using GeoJSON. I cannot seem to find a example/solution in Openlayers 6, scrolling through the docs and examples on the official site and by googling. Having said that,…
snewall
  • 89
  • 1
  • 7
-1
votes
1 answer

Get features inside a polygon from a WMS Layer in OpenLayers

I currently implemented this example. So I can select layer's features with a single click or box selection. But I want to know is it possible to get features with box selection on a wms layer? (i tried with vector layer and it's currently…
sep7696
  • 494
  • 2
  • 16
-1
votes
1 answer

OpenLayers 6: Example Box Selection Error

Following exactly the example of the openlayers site in: https://openlayers.org/en/latest/examples/box-selection.html?q=feature Locally I have the following error: Uncaught SyntaxError: Unexpected token
Fabio Sodre
  • 339
  • 3
  • 11
-2
votes
1 answer

How to draw the multyline in OpenLayers?

I have learned a Draw object in Openlayers. I try to draw the dotted line when user moves the mouse. When user clicks the last and prev lines should be replaced on straight line. How does it work, should I use two different drawing ayers and switch…
Daniella
  • 1
  • 2
-2
votes
1 answer

Open Layers 6 - Image Layer combine with Vector Layer

I'm trying to have an image layer combined with a vector layer but when I add projection to View the vectors disappear. Am I doing something wrong? Here is an example of what I'm trying to achieve: https://stackblitz.com/edit/react-ol6 I want these…
GeorgeCodeHub
  • 131
  • 1
  • 10
-4
votes
2 answers

Change Text of Individual labels on map ( OpenLayers )

I want to change the text of a place on OpenLayers map, it needs to be changed from Persian Gulf to Arabian Gulf I tried to see if there is any way I can make this change using the OpenLayers API documentation and found no…
1 2 3
27
28