support for arbitrary callbacks on map and markers