Issue migrated from Redmine: https://redmine.postgresql.org/issues/3646
Originally created by Atle Frenvik Sveen at 2018-09-14 07:39:01 UTC.
The current list of available map background layers in the mapviever is hardcoded.
I would like to be able to enter new background-tile-layers in the preferences-setting so that I can use these in the MapViewer.
In addition I would like to be able to re-order the list in order to determine default background layer.
Work to do:
-
Make sqleditor/geometry_viewer.js fetch the list of background layers from the preferences-object
-
Add a preferences-type of "list" so that new layers with name, tile-url, and attribution-text can be added
2.1 This should also support re-ordering of the list
2.2 And Deletion of elements
2.3 And edit of existing elements
-
Add the now hard-coded layers as defaults
3.1 Possibly make these non-deleteable
-
Figure out where in the preferences-menu to add this
4.1 I suggest that it is put on a new subitem (Mapviewer?) under "SQL Editor"
I will try to implement this myself, but all input is welcome. I cannot guarantee any timeframe for this.
Sugg
Issue migrated from Redmine: https://redmine.postgresql.org/issues/3646
Originally created by Atle Frenvik Sveen at 2018-09-14 07:39:01 UTC.
The current list of available map background layers in the mapviever is hardcoded.
I would like to be able to enter new background-tile-layers in the preferences-setting so that I can use these in the MapViewer.
In addition I would like to be able to re-order the list in order to determine default background layer.
Work to do:
Make sqleditor/geometry_viewer.js fetch the list of background layers from the preferences-object
Add a preferences-type of "list" so that new layers with name, tile-url, and attribution-text can be added
2.1 This should also support re-ordering of the list
2.2 And Deletion of elements
2.3 And edit of existing elements
Add the now hard-coded layers as defaults
3.1 Possibly make these non-deleteable
Figure out where in the preferences-menu to add this
4.1 I suggest that it is put on a new subitem (Mapviewer?) under "SQL Editor"
I will try to implement this myself, but all input is welcome. I cannot guarantee any timeframe for this.
Sugg