2,407 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
1
answer
65
views
Smplest OL map gives a blank screen
I'm trying to create a "Hello World" OpenLayers map, with no unnecessary dependencies. The code is
<html>
<head>
<meta charset="UTF-8">
<meta ...
0
votes
1
answer
128
views
OpenLayers: How to prevent shapes from hiding when using declutter: true for labels?
I am using OpenLayers v7.5 to display point features with icons and labels on a VectorLayer. To prevent label overlap, I enabled declutter: true, but this causes both icons and labels to disappear in ...
0
votes
1
answer
174
views
Multiply 2 sources, WebGlLayer (openlayers)
I have been struggling with this whole night. All I want to do is multiply two rasters together. I know I can do that with RasterSource, but I need better performance. When I create a layer (webgl) ...
0
votes
0
answers
49
views
ol/interaction/Link: how to read a custom parameter?
Question about OpenLayers ol/interaction/Link:
I would like to set and later use a custom parameter.
The first part went OK:
link.update('ext', map.getView().calculateExtent(map.getSize()));
This ...
0
votes
0
answers
62
views
Maximizing OpenLayers v3 Performance on an Old Browser
I have an application where I use React to render an OpenLayers map (using version 3) in order to display a .mbtiles file served from Tilserver-gl-light. The app functions and does what I want it to, ...
-1
votes
1
answer
87
views
projection and EPSG mismatch when buffering a geometry
as shown in the code posted below, i am using turf.js to buffer a geometry in the listener callback of modifyend of Modify event.
i tried to set the buffered feature asOLFeature on the map via: this.#...
0
votes
1
answer
66
views
How to unregister .on(drawend,....) event
as shown in the below posted code, i have an event #drawEvt and it is registered for drawend. the problem i have is about unregistering the event. as shown below in the code
in method deattachAll() is ...
user avatar
user22470297
0
votes
0
answers
42
views
How can specify the order of displaying shapes when work with open layer map
I created a map in which consist of different shapes such as 2 circle and one line. The line connects 2 circle Centre. Even if i have added line first and then the circles, the line always come over ...
0
votes
0
answers
80
views
Microscope slide images load as multiple small tile images using open layer
I have larger sizes (more than 10GB) of microscope slides (ndpi, svs, tiff) images. To display that existing project member using the open layer 3 versions. While loading some images are converted ...
0
votes
0
answers
51
views
DrawHole custom geometry function not working
DrawHole has an undocumented option to use a custom geometry function which is not working :
var geomFn = options.geometryFunction
if (geomFn) {
options.geometryFunction = function (c, g) {
...
0
votes
0
answers
191
views
Dynamically changing ImageStatic in OpenLayers
I have a map with one ImageLayer, with its source an ImageStatic. My page first loads the map with one image. Once a user presses a button, I want the ImageStatic to change to another predefined image ...
2
votes
2
answers
577
views
how to deactivate zoom on double-click using setActive(false)
i would like to modify the below code in a such way that it only deactivate the zoom on double-click event please.
i tried the below posted code, but it disabled all the interactions including the ...
0
votes
0
answers
184
views
OpenLayers Workshop missing ol.js library
At the first step in workshop we try to create a basic map.
Here is the code for a map.html
<!doctype html>
<html lang="en">
<head>
<link rel="stylesheet"...
0
votes
1
answer
336
views
Problem when displaying lines and points (json) on OpenLayers Vue 3 js
I'm trying to display on an OpenLayers Map some points and lines using Vue js 3 but there is and "invalid type" issue that I could'nt solve. Here is the warning message on console log :
...
0
votes
1
answer
3k
views
How to View 3D building view angle in open layers
How we can see 3D building view angle in open layers like google earth 3D map.
Click here for image
Please see my image what i want in open layers map.
I want to create 3D building view in open ...
user avatar
user21094806