Triangle masks can now be added to the map. This can be used to dected have squares.