Open Tehsurfer opened 5 months ago
What map GUID is giving this error? On what map server??
flatmap-viewer2.9.3
mapcore-demo.org/devel/flatmap/v4/flatmap/
(Although the tests are running on https://mapcore-demo.org/current/flatmap/v3/ and have the same issue)
Wait, that isn't the GUID is it, how to do you get the GUID?
All looks well with the code and the source data (it's a JSON file at here, and it contains just a single UBERON:0013702
node). Running your code doesn't show the error:
What I do get though, as a result of a sidebar search for Heart
, is:
hmm ok give me a moment to fix the other error messages and then I'll be able to see how to reproduce this one more easily
Ah yeah sorry about that you actually need these steps to reproduce it:
clone this branch: https://github.com/Tehsurfer/mapintegratedvuer/tree/marker-clustering
Put the .env.local file I sent into the root directory of the repo if you don't already have those variables
npm run serve
Change the species of the map, top right:
See my question on Slack to @alan-wu:
what exactly happens when a flatmap’s species is changed? Is a new flatmap instance created by calling MapManager.loadMap()? Or does the vuer remember previously loaded map instances and switch back??
There are no issues with flatmap-viewer
when loading maps for a different species.
I am getting this error when running flatmap-viewer.
I don't notice it affecting the functionality of the flatmap at all, but it does break the tests that get run on flatmapvuer
To reproduce:
clone this branch: https://github.com/Tehsurfer/mapintegratedvuer/tree/marker-clustering
Put the .env.local file I sent into the root directory of the repo if you don't already have those variables
npm run serve
should produce the error, scroll up to the top it should be one of the first 5