Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Ui MapControls position & style #2021

Answered by FraukeF
vadFit asked this question in Q&A
Discussion options

You must be logged in to vote

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) .…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vadFit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants