I have marked several locations in worldmap by injecting and simple function containing properties like lon,lat,icon etc. I defined those objects as global variables since I wanna change their color with external decisions later on. Also I was able to add that map to dashboard.
Where I face hard for me to solve is to keep those locations fix through out the project. Now when i refresh the worldmap or the dashboard all the locations get lost. I have to re-inject them again.
Instead of injecting what is the best method to mark the locations in worldmap which will last through out the project ? Kindly help me.