WildAid / o-fish-web

Web application for the Officer's Fishery Information Sharing Hub (O-FISH). The web app allows agencies to gain insights from the aggregated information gathered during a routine vessel inspection (submitted via the web app).
Apache License 2.0
32 stars 41 forks source link

Clickable map dots to go to the boarding records #446

Open Sheeri opened 2 years ago

Sheeri commented 2 years ago

MongoDB charts has a tooltip with info about each point - but it does not allow for a clickable URL. Doing this means we will have to rip out the MongoDB charts maps and put in another map interface. This should go to a filtered boardings page first - something like URL + #/boardings/{%22vessel.permitNumber%22:%2212345%22} but instead of the permit number being the filter - the lat/lon are. Then the user can click through as usual to an individual boarding.