I can't zoom back in when going to map view. It continues to zoom out but not in.
Could you please tell me what are the mod settings you set and your controls?
Things get even weirder when you are clicking on an attack notification for another part of the map.
Ups, missed that one. Seems I haven't clicked on the alerts lately. Thanks for the report.
I can see that clicking on the alert while in the 'zoom to world' view works ok (as long as user hovers over some object before zooming out back to world), but clicking on the alert in the map view, or while the map is closed, results in sudden zoom level and position changes on zooming out.
Having spent some time looking through what I can do about it, I am afraid that it might be another not-fixable one due to limitations in the modding API - I cannot see any way for the mod to detect when player clicks on the alert... I have asked on the forum about it.
An idea I have at the moment is to check whether the render mode (map closed, map opened in 'zoom to world' view, map opened in map view) has changed and the change wasn't done by the mod. If this is the case, I could disable zoom out, which would leave the only option to zoom in to 'zoom to world' view and as soon as you hover over an object, the mod would know the position (although not a zoom level). This functionality is already implemented (and can be switched on and off) for moving the map.
Alternatively, I could auto equip Binoculars when the mod detects that something else opened the map view. If the player used them there would be no weird behaviour. However I still don't know what I can do if player clicks the alert while already in the map view.
I could probably mute the alerts while in the map view, preventing the user from clicking them. Another limitation, but it would resolve the sudden big changes in zoom level or jumping to another position...