Refactor to generalize layers in worldmap.js.