Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps
https://azgaar.github.io/Fantasy-Map-Generator
Other
4.64k stars 671 forks source link

[Draft] gridOverlay cell with labels #1133

Closed Avengium closed 1 month ago

Avengium commented 2 months ago

Description

This branch has the idea of putting text labels above gridOverlay cells to numerate the cells. This approach puts one text label above each "rect" cell on the grid. So in this preview version, the labels are only aligned with the square grid and similar grids.

What I wanted with this branch is to show this idea so we can talk about how we want to implement it, if we do.

Type of change

Versioning

The version is not changed yet. We have to discuss how to do this idea first.

netlify[bot] commented 2 months ago

Deploy Preview for afmg ready!

Name Link
Latest commit c22eafbe2f3003d7fc5dbfd0704ec1212b944108
Latest deploy log https://app.netlify.com/sites/afmg/deploys/66e6c2734987440008e7cc27
Deploy Preview https://deploy-preview-1133--afmg.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Avengium commented 2 months ago

Using mask "clip water" and "clip land" only hides the text labels but these labels still exist. So the way the code is now, that doesn't reduce the number of labels there are. Any ideas on how to make this code better?