Moved delegate setting to mapview’s setter.