Commit 34d51b8
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@gmail.com>
Co-authored-by: Markus Neteler <markus@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@neteler.org>
* renamed files and fixed problem in markdown
* Apply suggestions from code review
Co-authored-by: Corey White <smortopahri@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@gmail.com>
* added records to geojson
* added check for geojson files
* added check for geojson files
---------
Co-authored-by: Markus Neteler <markus@neteler.org>
Co-authored-by: Veronica Andreo <veroandreo@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Corey White <smortopahri@gmail.com>1 parent 02014d0 commit 34d51b8
15 files changed
Lines changed: 772 additions & 31 deletions
File tree
- content/about
- static/geojson
- themes/grass
- assets
- js
- sass
- layouts
- about
- partials
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
141 | 150 | | |
142 | 151 | | |
143 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
144 | 159 | | |
145 | 160 | | |
146 | 161 | | |
147 | 162 | | |
148 | | - | |
| 163 | + | |
149 | 164 | | |
150 | 165 | | |
151 | 166 | | |
152 | 167 | | |
153 | 168 | | |
154 | | - | |
| 169 | + | |
155 | 170 | | |
156 | 171 | | |
157 | 172 | | |
158 | 173 | | |
159 | 174 | | |
160 | | - | |
| 175 | + | |
161 | 176 | | |
162 | 177 | | |
163 | 178 | | |
164 | 179 | | |
165 | 180 | | |
166 | | - | |
| 181 | + | |
167 | 182 | | |
168 | 183 | | |
169 | 184 | | |
170 | 185 | | |
171 | 186 | | |
172 | | - | |
| 187 | + | |
173 | 188 | | |
174 | 189 | | |
175 | 190 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments