Greenstand/treetracker-web-map-core

Core: problem with the next tree button

Closed this issue ยท 12 comments

Seems we are missing some style? the layout for the button is incorrect, and also, we need some feedback for the button: highlight the button when the mouse hovering, and change the mouse pointer to clickable pointer

Image

@RubenSmn can you look at this? I'm not sure what's the problem, but when I download the core and run on my computer, the button's layout seems incorrect

Also please add some feedback effect for the button

Will have a look!

I will add some feedback for the button.

The position of the buttons seems to be working:
image

I think maybe it's because the webpack bundle, if I install the core on web map client, the layout is bad, and the button doesn't work, can not click to jump to next tree, there are some error throwing from main.js (the core bundle) saying: failed to read style from undefined

Ah that is possible, for the customizable web map I need a ColorPicker but it was not compatible with NextJS giving the same error. I do not know what or how, but it has something to do with the babel config

By the approach above, you can install your version of core into web map client

Btw, I am changing the buttons to only be an SVG on the arrows, the rest will just be an element. So we can easily change the buttons appearance, for example for feedback.

I think maybe it's because the webpack bundle, if I install the core on web map client, the layout is bad, and the button doesn't work, can not click to jump to next tree, there are some error throwing from main.js (the core bundle) saying: failed to read style from undefined

This was due to a element being undefined

๐ŸŽ‰ This issue has been resolved in version 2.3.1 ๐ŸŽ‰

The release is available on GitHub release

Your semantic-release bot ๐Ÿ“ฆ๐Ÿš€

@RubenSmn this is working perfectly!