The flags panel has been moved in godot 4. On the tilemap node you need to change the texture type from linear to nearest
Thx found it