#openlayers
#後で読む 用メモです→
Docker OpenLayers Turf.js FlatGeobuf FastAPI PostGIS Celery で作る汎用WebGIS基盤2 ー データモデル設計
Docker + OpenLayers + Turf.js + FlatGeobuf + FastAPI + PostGIS + Celery で作る汎用WebGIS基盤2 ー データモデル設計 - Qiita
Docker + OpenLayers + Turf.js + FlatGeobuf + FastAPI + PostGIS + Celery で作る汎用WebGIS基盤2 ー データモデル設計 はじめに 前回は、Docker、OpenLayers、Turf.js、Fl...
qiita.com
November 13, 2026 at 2:29 PM
🗺️ ¿Quieres descargar #mapas de Google Maps, OSM, Bing o Apple Maps en #QGIS? 🌐 Usa los plugins OpenLayers y QuickMapServices. Descubre cómo instalarlos y configurarlos para mejorar tus proyectos SIG. 🚀

https://f.mtr.cool/1igwrlk0q9

👉 ¿Ya probaste estos plugins? 
Cómo añadir mapas base en QGIS: Google Maps, Google Satélite, OSM y más
Aprende a añadir mapas base en QGIS con QuickMapServices, HCMGIS o XYZ Tiles y elige la opción más adecuada para cada tipo de proyecto.
f.mtr.cool
November 18, 2026 at 9:03 PM
Draw polygon on load not working - OpenLayers
The following code should have 3 features: * Draw a polygon on load * On draw end send coordinates * On modify end send coordinates 2&3 work as expected. I added the drawn polygon last, there is no error on the console, but no polygon is drawn. Also, it has no errors building in npm. import Map from 'ol/Map.js'; import View from 'ol/View.js'; import {Draw, Modify, Snap} from 'ol/interaction.js'; import {Tile as TileLayer, Vector as VectorLayer} from 'ol/layer.js'; import {OSM,TileJSON, Vector as VectorSource} from 'ol/source.js'; import {Circle as CircleStyle, Fill, Stroke, Style} from 'ol/style.js'; import Feature from 'ol/Feature'; import Polygon from 'ol/geom/Polygon'; import Point from 'ol/geom/Point'; import Transform from 'ol/Proj'; var raster = new TileLayer({ source: new OSM() }); var source = new VectorSource(); var vector = new VectorLayer({ source: source, style: new Style({ fill: new Fill({ color: 'rgba(255, 255, 255, 0.2)' }), stroke: new Stroke({ color: '#ffcc33', width: 2 }), image: new CircleStyle({ radius: 7, fill: new Fill({ color: '#ffcc33' }) }) }) }); var feature = new Feature({ geometry: new Polygon([ [-13041991.514129914,8126540.3085058555], [-13766003.046047103,7167714.225696605], [-12562578.472725287,6668733.305050973], [-11486345.114470007,7099226.648353085], [-11730943.60498257,8439626.376361936], [-13041991.514129914,8126540.3085058555] ]) }); var vectorSource= new VectorSource({ features: [feature ] }); var vectorLayer = new VectorLayer({ source: vectorSource }); var map = new Map({ layers: [raster, vector], target: 'map', view: new View({ center: [-11000000, 4600000], zoom: 4 }) }); var modify = new Modify({source: source}); modify.on('modifyend',function(e){ console.log("feature id is",e.features.getArray()[0].getGeometry().getCoordinates()[0]); }); map.addInteraction(modify); console.log(map); var draw, snap; // global so we can remove them later var typeSelect = document.getElementById('type'); function addInteractions() { draw = new Draw({ source: source, type: typeSelect.value }); draw.on('drawend',function(e){ console.log(e.feature.getGeometry().getCoordinates()[0]); }) map.addInteraction(draw); snap = new Snap({source: source}); map.addInteraction(snap); } /** * Handle change event. */ typeSelect.onchange = function() { map.removeInteraction(draw); map.removeInteraction(snap); addInteractions(); }; addInteractions();
gis.stackexchange.com
November 11, 2026 at 6:12 PM
Blog - MappingGIS - Cómo visualizar imágenes GeoZarr con OpenLayers: Sentinel-2 y composiciones RGB by Jose Luis García Grandes

https://mappinggis.com/2026/11/como-visualizar-imagenes-geozarr-con-openlayers-sentinel-2-y-composiciones-rgb/
November 4, 2026 at 8:05 AM
rover 0.10.0 [updated]

Interactive maps for Phoenix LiveView, powered by OpenLayers. Assign a list of markers, get a live map — no OpenLayers knowledge required.

Licenses: MIT
November 3, 2026 at 7:30 PM
Sabías que puedes integrar gráficos #interactivos de #Plotly en tus mapas de #OpenLayers?

Con nuestra guía paso a paso y con código, convierte tus datos en una experiencia visual atractiva. Descubre cómo aquí:

 
Cómo Integrar Gráficos Interactivos de Plotly con OpenLayers
Aprenderemos a crear un mapa interactivo con OpenLayers y visualizar datos de manera efectiva utilizando gráficos de Plotly.
i.mtr.cool
October 17, 2026 at 3:05 PM
October 13, 2026 at 12:03 PM
if you need to draw on an OpenLayers layer in screen coordinates that are anchored to feature geometry you can use Style.renderer instead of hand-rolling a bunch of resolution * distanceInPixels garbage
October 12, 2026 at 12:52 AM
Toggle dark mode on and off using on and un in OpenLayers
I made this codepen where I am setting a style to a layer on an event listener. How can I programmatically toggle the styling on and off since my attempts to unlisten to the event for that layer have been fruitless? Ideally once I click an outside div the map would use my styling and on clicking that div again revert to original OSM styling. Here is the piece of code that actually enables the dark mode OSM feature. I had to declare the styling function only once in order to pass it to the on and un functions with its unique signature. I understand more about OpenLayers event listeners after Mr. Mike provided help and explanation. darkModeOSMHandler ( flag ) { if (this.darkOSM === null && flag === false) { this.darkOSMCallback = (evt) => { evt.context.globalCompositeOperation = 'color'; evt.context.fillStyle = 'rgba(0,0,0,' + 1.0 + ')'; evt.context.fillRect(0, 0, evt.context.canvas.width, evt.context.canvas.height); evt.context.globalCompositeOperation = 'overlay'; evt.context.fillStyle = 'rgb(' + [200,200,200].toString() + ')'; evt.context.fillRect(0, 0, evt.context.canvas.width, evt.context.canvas.height); evt.context.globalCompositeOperation = 'difference'; evt.context.fillStyle = 'rgba(255,255,255,' + 0.999 + ')'; evt.context.fillRect(0, 0, evt.context.canvas.width, evt.context.canvas.height); evt.context.globalCompositeOperation = 'source-over'; } this.map.getLayers().getArray()[0].on('postrender', this.darkOSMCallback ); this.map.updateSize() } if ( flag === false) { this.map.getLayers().getArray()[0].on('postrender', this.darkOSMCallback ); this.map.updateSize() } if ( flag === true) { this.map.getLayers().getArray()[0].un('postrender', this.darkOSMCallback ); this.map.updateSize() } this.darkOSM = flag }
gis.stackexchange.com
October 7, 2026 at 9:06 AM
I released an open-source TypeScript library for georeferencing images directly in the browser.

Features:
- Browser-only, no backend
- Seven QGIS-style transforms
- PNG, JPEG, WebP, TIFF input
- GeoTIFF, JPEG, PDF and QGIS .points export
- Projections via proj4

github.com/tobilg/geore...
GitHub - tobilg/georeferencing: Geo-reference images onto OpenLayers-based maps with multiple models
Geo-reference images onto OpenLayers-based maps with multiple models - tobilg/georeferencing
github.com
October 5, 2026 at 7:42 AM
OpenLayers v10.11.0 is out. Thanks to everyone who contributed. github.com/openlayers/o...
Release v10.11.0 · openlayers/openlayers
10.11.0 The 10.11 release improves styling, raster data and OGC service support, and makes the library leaner to load. The highlights are Canvas styles now evaluate the color and array operators, ...
github.com
October 4, 2026 at 8:15 PM
Display maps with tiled, raster or vector layers loaded from different sources with vue3-openlayers 🗺️ - madewithvuejs.com/vue3-openlay...
October 3, 2026 at 11:28 AM
📦 bobosch/ods-osm v4.3.1

Add an interactive OpenStreetMap map to your website. Can also show other OpenLayers compatible maps.

🔗 https://github.com/bobosch/ods_osm
October 1, 2026 at 10:20 PM
Removing vertex from Polygon geometry in OpenLayers 5
I could able to remove the recent modified vertex of a feature using removePoint method of modify interaction, as well as using deleteCondition event of modify interaction. However, that is not what I am trying to achieve. The use case for this this problem is as below. I have modify interaction added on map. Now when user tries to modify a feature over map, I am highlighting the vertices, like this so that user can directly go to these vertices and then do right click which will result in removal of vertex. For this, I had to implement the contextmenu to handle the right click over map. But, now the challenge is to remove the received coordinate from the modifying geometry. I tried to implement it as follows, with simple .splice() method on coordinate array of target geometry if(this.modifyInteraction.features_.getLength() && this.modifyInteraction.features_.getArray()[0]){ //Feature being modified let modifyft = this.modifyInteraction.features_.getArray()[0]; let coord = modifyft.getGeometry().getCoordinates()[0]; let foundIndex; for(var k = 0; k < coord.length; k++){ if(coord[k][0] == rightClickedVertex.getGeometry().getCoordinates()[0] && coord[k][1] == rightClickedVertex.getGeometry().getCoordinates()[1]){ foundIndex = k; break; } } if(foundIndex && foundIndex > -1){ modifyft.getGeometry().getCoordinates()[0].splice(foundIndex, 1); //nothing changes } } is there any other way to remove the vertex of geometry being edited?
gis.stackexchange.com
October 1, 2026 at 6:08 PM
¿Sabías que puedes integrar gráficos #interactivos de #Plotly en tus mapas de #OpenLayers?
Descúbrelo con nuestra guía paso a paso y con código:

 
Cómo Integrar Gráficos Interactivos de Plotly con OpenLayers
Aprenderemos a crear un mapa interactivo con OpenLayers y visualizar datos de manera efectiva utilizando gráficos de Plotly.
f.mtr.cool
September 26, 2026 at 3:05 PM
🚨 EUVD-2026-82433
📊 5.3/10
🏢 MapServer

📝 MapServer is a system for developing web-based GIS applications. From 6.0 until 8.6.4, MapServer's OpenLayers HTML output for SERVICE=WMS&REQUEST=GetMap...

🔗 https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-82433

#cybersecurity #infosec #cve #euvd
September 24, 2026 at 10:04 PM
✅ ¿Sabías que con #OpenLayers y #Turf.js puedes analizar distancias y zonas de influencia sin salir del navegador? 🌍 Descubre cómo combinarlas👉

Potenciando mapas con OpenLayers y Turf.js: análisis geoespacial al alcance de todos
Descubre cómo potenciar tus mapas interactivos con OpenLayers y Turf.js. Integra estas herramientas para realizar análisis geoespacial
f.mtr.cool
September 13, 2026 at 7:02 PM