Worldmap Custom Context Menu

Can someone point me in the right direction for adding a custom context menu to the worldmap? Like to enable/disable various points of interest?

I can get what I want by embedding the worldmap into the dashboard UI, however, the dashboard doesn't always auto size great for various browser window sizes.

Sorry, posted by mistake.

You can use msg.payload.command.contextmenu to send an html fragment containing whatever you want as the content menu. - See the README section "To add a custom popup or contextmenu"