Hajk
Hajk copied to clipboard
Ideas for Admin 4
Ideas
Below are some ideas, in no special order:
-
layer.internalName
for use in admin listings is not the same aslayer.title
, which is used in client (and can be overridden on a per-map-basis) - Most attributes follow this override pattern: [definition in layer] -> [can be overridden by definition in map config] -> [can be overridden by user preference]. Among those are layer title, draw order, style, info click definition, etc.
- The tree in admin layer has a 1:1 relationship with what user will see in LayerSwitcher
- Ability to duplicate map (new backend has this endpoint ready, so it's basically the UI that's left. (
- Ability to duplicate map and layers within map. This requires more work in backend, but could be really useful when admins need to "freeze" a state of a map and all of it's layers.
- Read-only flag on maps and layers. When on, no further edits are possible through Admin 4.
- Sort out the confusion of layers, group layers, Hajk groups, GeoServer layer groups. Decide on best practice, and stick to it.
- Background layers can be grouped together with other layers and those other layers will always become active together with a certain background (user will not be able to turn them off). Useful when we want to add a territorial border to existing, tiled, layers. Creating a layer group in GeoServer would require re-caching all tiles. This solution would load the layers separately, making use of the tiled cached layers and at the same time applying the borderline.
Wishlist
- No need of code knowledge to administer or setup anything.
Code
You'll find this ongoing effort in the /admin
directory in this feature branch.
- A filter function for the list of layers from Geoserver or other map services.
- Collaps/expand layer groups when working in the ”Kartor” tab.
- Support CORS, i.e. add withCredentials or credentials: include when resources are fetched.
- Option to save and fetch configuration in a database.
Include a MarkDown editor (WYSIWYG) for InfoClick, with both preview mode and "raw"-edit mode.