Commit Graph

14 Commits

Author SHA1 Message Date
lovasoa 49f696de6f map component: support pins with description but no title 2025-02-08 23:09:56 +01:00
matthieupeeters d58e01e55f Do not ignore points with a latitude of 0 in map.handlebars
The points that are shown on the map are filtered on {{~if latitude}}. By adding "inculdeZero=true" the points that have a latitude of 0 will also be shown.
2024-06-25 14:11:09 +02:00
lovasoa 767b01cdd0 map component
- automatically center the map on the contents when no top-level latitude and longitude properties are provided even when the map contains geojson data.
   - allow using `FALSE as tile_source` to completely remove the base map. This makes the map component useful to display even non-geographical geometric data.
2024-06-14 20:55:47 +02:00
lovasoa ed9a367962 update map component
when top-level latitude and longitude attributes are omitted, the map will now center on its markers

fixes https://github.com/lovasoa/SQLpage/issues/378
2024-06-07 08:35:12 +02:00
Lorefnon 1fa4f9364a Add id/class to the components (#182) 2024-01-12 23:05:38 +01:00
Lorefnon 99c7e02499 Support lazy-loaded content fragments in card component (#175)
* Add support for embed parameter that skips the shell layout

* Add support for cards with remote content

* Adapt js to support lazy-loaded fragments

* Add example

* Reformat & Fix lint errors

* Update query param name and add docs

* Add example

* squash migrations

---------

Co-authored-by: lovasoa <pere.jobs@gmail.com>
2024-01-05 22:17:33 +01:00
lovasoa e4bb792f2b Improve map component
customizable tile
source, attribution, and max zoom.

Update embedded SQLite to version
3.44.
2023-11-12 20:30:04 +01:00
lovasoa c7351f5095 map : better geojson point support 2023-11-11 01:24:41 +01:00
lovasoa dca73e52fa fix geojson passed as strings to the map component
fixes #129
2023-11-10 18:33:47 +01:00
lovasoa 17681fb672 add support for geojson in the map component
this adds support for new geometries, including polygons

Closes https://github.com/lovasoa/SQLpage/issues/119
2023-11-07 23:52:38 +01:00
lovasoa 94c04d8a4c custom marker icon and color in the map component 2023-11-07 01:07:40 +01:00
lovasoa 2b1c135435 fix html nesting error in map component 2023-08-28 22:08:31 +02:00
lovasoa 5b99bf1688 new map component 2023-07-13 01:42:10 +02:00
lovasoa cecce067e1 new map component 2023-07-11 22:33:43 +02:00