-
HAPPY NEW YEAR 2021!!🌟🍾🎉 I would like to only display (+ : -) Horizontally on the map Canvas How to just display (+:-) horizontally without other options (3D & Boussole) ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @PanetoneCake, Nice to see you back in the new year, I also wish you a very happy new year and all the best. Regarding the MapControlsUI, ... its not really meant to be modified, but more some helper to get started with whats there, so I see two issues here, that the UI is shown on another canvas is definitly on our side, and needs fixing, I ll create an internal task for it. For the controls to be aligned horizontally, I would consider it application dependent, and recommend you to skip the usage of MapControlUI and bind the events on your controls directly to MapControls.setZoomLevel (https://github.com/heremaps/harp.gl/blob/master/%40here/harp-map-controls/lib/MapControls.ts#L428) .. then you are flexible to have any UI you need.... you can see in MapControlsUI (https://github.com/heremaps/harp.gl/blob/master/%40here/harp-map-controls/lib/MapControlsUI.ts#L150) that its basically doing the same. |
Beta Was this translation helpful? Give feedback.
Hi @PanetoneCake,
Nice to see you back in the new year, I also wish you a very happy new year and all the best.
Regarding the MapControlsUI, ... its not really meant to be modified, but more some helper to get started with whats there, so I see two issues here, that the UI is shown on another canvas is definitly on our side, and needs fixing, I ll create an internal task for it.
For the controls to be aligned horizontally, I would consider it application dependent, and recommend you to skip the usage of MapControlUI and bind the events on your controls directly to MapControls.setZoomLevel (https://github.com/heremaps/harp.gl/blob/master/%40here/harp-map-controls/lib/MapControls.ts#L428) .…