[GRASS-git] [OSGeo/grass-website] 34d51b: GRASS community map (#169)

Luca Delucchi noreply at github.com
Sat Jul 18 10:01:34 PDT 2026


  Branch: refs/heads/master
  Home:   https://github.com/OSGeo/grass-website
  Commit: 34d51b808a053be580e5e148f75454a7f53adfe5
      https://github.com/OSGeo/grass-website/commit/34d51b808a053be580e5e148f75454a7f53adfe5
  Author: Luca Delucchi <lucadeluge at gmail.com>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

  Changed paths:
    M .pre-commit-config.yaml
    M config.toml
    A content/about/community-map.md
    M package-lock.json
    M package.json
    A static/geojson/README.md
    A static/geojson/provider.geojson
    A static/geojson/user.geojson
    A themes/grass/assets/js/community_map.js
    M themes/grass/assets/sass/README.md
    A themes/grass/assets/sass/_community_map.scss
    M themes/grass/assets/sass/main.scss
    A themes/grass/layouts/about/community-map.html
    M themes/grass/layouts/partials/footer.html
    M themes/grass/layouts/partials/head.html

  Log Message:
  -----------
  GRASS community map (#169)

* started to work on community map

* added missing geojson folder

* fixed geojson sintax

* added institutions contributing to GRASS into map

* improved popup info

* changed logo into image to keep the same code in the page

* improved input style

* renamed geojson file

* improved README file for geojson

* fixed name

* fixed typos and updates to newer hugo version

* several small improvements

* improved english

* minor typo

* Apply suggestions from code review

Thanks to @veroandreo @neteler

Co-authored-by: Veronica Andreo <veroandreo at gmail.com>
Co-authored-by: Markus Neteler <markus at neteler.org>

* add space under the map

* fixed popup removing when change layer

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* updated community map to use new implementation

* fixed  MD013/line-length

* fixed openlayers style

* small improvements

* Update static/geojson/user.geojson

Co-authored-by: Markus Neteler <markus at neteler.org>

* renamed files and fixed problem in markdown

* Apply suggestions from code review

Co-authored-by: Corey White <smortopahri at gmail.com>

* fixed loading js file

* fixed missing line at the end of files

* Fix community map: load OpenLayers as UMD, not an esbuild bundle

Hugo's js.Build (esbuild) breaks OpenLayers' internal instanceof checks
(View, Style), so the map crashed at construction with
'TypeError: view.then is not a function' and a bogus 'No fill, stroke,
point, or text symbolizer' error. Load ol as its standalone UMD build
(window.ol) via a script tag instead of bundling it.

Also: fix the initial view center under useGeographic() (plain [lon, lat],
no proj transform), build the popup with DOM APIs instead of innerHTML,
validate feature URLs are http(s), reset the previously highlighted
feature on each click, and switch var to let/const.

* Fix community map docs and lint nits

- Fix malformed user.geojson link in README (stray double paren)
- Add missing EOF newlines to main.scss and _community_map.scss

* fixed name of scss file

* Apply suggestions from code review

Co-authored-by: Corey White <smortopahri at gmail.com>

* added records to geojson

* added check for geojson files

* added check for geojson files

---------

Co-authored-by: Markus Neteler <markus at neteler.org>
Co-authored-by: Veronica Andreo <veroandreo at gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Corey White <smortopahri at gmail.com>



To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass-website/settings/notifications


More information about the grass-commit mailing list