that wouldn't be too hard: - define the hook in farm_map.api.php - config form that invokes that hook - new farmOS.map.behaviors.base_layers.js that adds them