We are currently in the process of rewriting the implementations for buttons/controls that are on the map from jQuery to React-based versions. This allows us to improve theme support on these buttons in the future. Previously the controls has been "moved" to a "mobile toolbar" when there is limited screen space for the map. However if there are not that many tools on a map the "mobile toolbar" takes up more space than the buttons on the map. This is a likely case for many embedded maps.
Because of this we are planning on removing the mobile toolbar functionality from the map module. Instead some of the controls will look different on "mobile" than on "desktop" like the "pan buttons" tool will only show a reset button on mobile and zoombar will only show the plus and minus buttons without the bar on mobile.
Current "desktop mode":
Current "mobile mode":
More about the new buttons:
Icons are changed from PNG to SVG
Individual functionalities no longer need to implement the different UI-options in the publisher functionality (these are handled by a common component). This will result more UI options for current tools as well since not all of them support the publisher UI-options
We are likely to introduce hover/selected coloring on the tool buttons (currently the button stays the same whether its active or not)
We are going to work on improving the theming of the buttons with publisher UI for things like custom rounding of the corners, custom color selection so the buttons can be customized to fit better on the theme of the embedding page.
The current development for this can be seen on the map-buttonsbranch
We are currently in the process of rewriting the implementations for buttons/controls that are on the map from jQuery to React-based versions. This allows us to improve theme support on these buttons in the future. Previously the controls has been "moved" to a "mobile toolbar" when there is limited screen space for the map. However if there are not that many tools on a map the "mobile toolbar" takes up more space than the buttons on the map. This is a likely case for many embedded maps.
Because of this we are planning on removing the mobile toolbar functionality from the map module. Instead some of the controls will look different on "mobile" than on "desktop" like the "pan buttons" tool will only show a reset button on mobile and zoombar will only show the plus and minus buttons without the bar on mobile.
Current "desktop mode":
Current "mobile mode":
More about the new buttons:
The current development for this can be seen on the
map-buttons
branch