4
votes
2answers
2k views

Error: Tried to register widget with id==legendDiv but that id is already registered

Getting the following error when running my app: Error: Tried to register widget with id==legendDiv but that id is already registered Not sure how to get rid of it. My javascript for the legend is: ...