docs: function getCenterWithHeading(position, rotation, resolution) {
    const size = map.getSize();
    const height = size[1];
  
    return [
      position[0] - Math.sin(rotation) * height * resolution * 1 / 4,
      position[1] + Math.cos(rotation) * height * resolution * 1 / 4
    ];
  }