Can you try adding a wrapper div with the PHX ignore instead of putting the PHX ignore directly on the div with Id=‘map’?
Don’t know if it is related but worth a try Mapbox & LiveView - map immediately disappears after the liveview updates the DOM with autocomplete search results