all good. But the map opens at a fixed zoom factor. In the old code, I could set the zoom factor (see above). How do I do that in 2.0?player.set_controller {
type = defines.controllers.remote,
position = entity.position,
surface = entity.surface,
}
[2.0.x] How to set the zoom for a map (remote view)?
[2.0.x] How to set the zoom for a map (remote view)?
So player.zoom_to_world(position, zoom) is gone and I figured out that I can replace it with