You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feature is for navigating between tree point on the map, refer to this link: https://map.treetracker.org/?&bounds=-13.218893967568878,8.427470595924952,-13.187994919717314,8.444408553605653 the load is slow, be patient. ( when you click the tree icon, a panel will show up, on the panel, there is the next/prev button)
Basically, we need to be able to know from the map core: if there are multiple tree points showing up on the map, then, tell the map core to jump to (select) the next tree point.
So the API of this feature would be like:
function treeCountOnTheMap() : number // return the number of tree on the map
function goNextTree() : void // indicate core to jump to the next tree.
function getPreviousTree() : void // jump to previous tree
This feature is for navigating between tree point on the map, refer to this link: https://map.treetracker.org/?&bounds=-13.218893967568878,8.427470595924952,-13.187994919717314,8.444408553605653 the load is slow, be patient. ( when you click the tree icon, a panel will show up, on the panel, there is the next/prev button)
Basically, we need to be able to know from the map core: if there are multiple tree points showing up on the map, then, tell the map core to jump to (select) the next tree point.
So the API of this feature would be like:
function treeCountOnTheMap() : number // return the number of tree on the map
function goNextTree() : void // indicate core to jump to the next tree.
function getPreviousTree() : void // jump to previous tree
Actually, we almost implemented this feature in the master branch of web map client https://github.com/Greenstand/treetracker-web-map-client so please refer to code there.
Some hints:
The text was updated successfully, but these errors were encountered: