5,179 questions
Advice
0
votes
0
replies
16
views
Is ol-cesium still maintained?
I was wondering if the ol-cesium/olcs package was still looked at ? Or is there a place to discuss about this library ?
There are multiple issues and even prs (besides the one from bots). I would even ...
1
vote
1
answer
61
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
66
views
OpenLayers boundingExtent returns a single point
I'm trying to zoom to a clicked cluster in OpenLayers in order to show polygons in that cluster.
const zoomToCluster = (cluster: Feature) => {
const features = cluster.get('features')
const ...
0
votes
1
answer
105
views
How to avoid label collision open layers?
I’m using OpenLayers in a vessel tracking map, and I have a custom label layer that renders vessel names.
The problem:
Even with declutter: true, many of the vessel labels overlap, and some disappear ...
0
votes
0
answers
55
views
openlayers 10.6 & geoserver geotiff cached tiles on small geographical area - zoom out issue
a webapp with OL v10.6.0 showing GeoTIFF tiles from geoserver (v2.13.0) GeoWebCache - on zoom out to say 13 and lower, the geoserver nearly dies, starts to timeout. The browser then blocks subsequent ...
0
votes
0
answers
65
views
TileLayer with WMTS source (epsg:31258) doesn't load any tiles - how to debug?
I am trying to add a TileLayer with WMTS source to a map: https://github.com/ceisserer/ol_wmts31287_to_3857view/blob/main/main.js
However, no matter what I tried: no network requests are made and ...
1
vote
1
answer
109
views
How to ensure ol-ext modifies OpenLayers layer prototype before usage after npm build?
I am building a Vue 3 hooks-based wrapper for the OpenLayers library, called ol-vue-hooks.
Project structure:
src/
index.ts # Exports all APIs of ol-vue-hooks
demos/ # Test directory during ...
1
vote
1
answer
116
views
Openlayers Pmtiles Vector Styling
I have some .pmtiles that i serve using a server, in my angular code i create a new layer using PMTilesVectorSource, i want to style it using the stlye.json i got from the https://maps.protomaps.com/ ...
0
votes
1
answer
58
views
Search vector-data with multi-attributes in OpenLayers
Does anybody know/has an example for filtering vector-data with multi-attributes in OpenLayers/ol-ext? I`m trying to develope a solution with OpenLayers 10, where a user can use a search function to ...
2
votes
1
answer
126
views
OpenLayers issue with Proj4
I was using OpenLayers 10.5.0 with Proj4 2.19.5 in a Vue3/Typescript project and this morning I upgraded those version to OL 10.6.1 and Proj4 2.19.7. Now I'm facing this typing issue:
error TS2345: ...
0
votes
0
answers
149
views
How to Make Leaflet Work Fully Offline in React Without Storing Tiles Locally?
I’m working on a React + Leaflet mapping solution for Dynamics 365 CRM. I’d love your help understanding how to truly support offline maps in Leaflet using React — without manually storing tiles.
I’ve ...
0
votes
0
answers
82
views
Problem with Cesium + OpenLayers integration with React
So, i have ol 10.5.0, olcs 2.22.1 and cesium 1.131.0 packages installed in my react + vite app. OpenLayers works fine, but when i try to use it with cesium i get 2 problems:
First - when i use ES6 ...
0
votes
0
answers
31
views
How to prevent ImageDecode on tileLayer?
I have tiles that are the same for more than one zoom. So I load them with only one resolution with the following code:
public createTileSystemLayerGroup(systemInfo: SystemTileInfo) {
const zIndex ...
1
vote
0
answers
49
views
OpenLayers Not Requesting Proper MVT tiles with no cache in Next.js
I love OpenLayers and have inherited an interactive weather application that uses it extensively. I like MVT since it's easy to set up on our PostgreSQL database and it's quick/binary. What I'm ...
3
votes
1
answer
101
views
Canvas2D browser warnings after update OL 10.4.0 to 10.5.0
I get console.log warnings after update to 10.5.0 :
The warning Canvas2D: Multiple readback operations using getImageData are faster with the willReadFrequently attribute set to true
I am using ...