[FEATURE] building storymaps from saved maps #3515
Replies: 2 comments 3 replies
-
Figma mock up designed by @balagurova is here |
Beta Was this translation helpful? Give feedback.
-
Storymaps can be very effective communication tools if done correctly. At the same time, the fact there is no UI to build them is a proof how difficult working with storymaps can be. Currently building a storymap is a matter of coding and in general it entails using one or more maplibre/mapbox public styles/maps and custom geospatial layers. In Geohub maps are first class citizens (addresable json documents) and the user could potentially take two very different paths when building a storymapn uising UI.
There two approaches wil generate completely different user experience and probably result in different applications. |
Beta Was this translation helpful? Give feedback.
-
Feature Description
Combining one or more saved maps to generate a story map needs to be implemented in GeoHub.
The below screenshot is current implementation of @undp-data/svelte-maplibre-storymap package.
A story map consists of following:
Each chapter has information of:
User can scroll chapters and interact with maps and contents.
Basic operational flow
Basic flow of creating a story can be shown as the below figure.
Feature Implementation
Final output of storymap is quite straightforward, however the frontend and backend services to configure storymap is complicated.
Like dataset and map, storymap also needs
Favourite
andPermission
features. In addition, the following basic features need to be implemented.Implementing the below functionalities, the following endpoints and tables are required.
Endpoint design
/api/storymaps
endpoints/api/storymaps/{id}
endpoints/api/storymaps/{id}/permission
/api/storymaps/{id}/star
/api/storymaps/{id}/star/count
Frontend
/storymaps/{id}
)/storymaps
)/storymaps/{id}/edit
https://www.figma.com/design/yYnglAN83X9QWpSzBKSY56/GeoHub?node-id=180-2027&t=LpKGFzw4DNo0yZOC-0
Table design
see the options of storymaps here. https://github.com/digidem/maplibre-storymap
Parameters can be changed in GUI
For
onChapterEnter
andonChapterExit
, for each object in an array consists of the following properties:For example, we can set objects like below.
If entering to this chapter, make heatmap and circle invisible. and make circle visible when leaving the chapter.
references
Beta Was this translation helpful? Give feedback.
All reactions