MalaGIS

Sharing GIS Technologies, Resources and News.

A Practical Guide to Patching Node Modules in GIS Frontend Development

As a GIS frontend developer, I work extensively with various large-scale graphics libraries: OpenLayers, Leaflet, Mapbox GL JS, Cesium, Turf.js... These libraries often contain tens of thousands of lines of code. I wonder if you've encountered situations during development where you needed to modify the source code within node_modules. For example, in my old projects using OpenLayers 6.x, some third-party plugins were no longer updated. In such cases, upgrading to newer plugin versions would require upgrading the OpenLayers version, which is often an impossible workload for a project delivered years ago.

more >>

How to Render Albers Projection in Web Maps Using OpenLayers and Leaflet

Recently, I was assigned another GIS dashboard project. My manager asked me to research the mainstream design styles currently on the market. Coincidentally, I had previously introduced a collection of such dashboard works in an article titled "Open-Source Dashboard Templates for GIS Developers: BigDataView Project". Combined with various examples shared within our community group, I managed to complete the task.

During the research process, I noticed an interesting phenomenon: many dashboards still use maps in the EPSG:3857 projection, which results in a "tilted" depiction of China's map. Therefore, using OpenLayers and Leaflet as examples, and with the help of various AI tools, I created two demos to implement the rendering of the Albers projection on the web.

more >>

Copyright © 2020-2026 MalaGIS Drive by Typecho & Lingonberry Sitemap

Back to top