DavesMapper icon indicating copy to clipboard operation
DavesMapper copied to clipboard

Change the map generator to position tiles with top/left instead of inline positioning.

Open davmillar opened this issue 8 years ago • 3 comments

Maps are currently generated as rows of inline images. Ideally they should be made using images with position: absolute and with top and left values given.

davmillar avatar Oct 18 '16 19:10 davmillar

What about a more modern solution like flexbox ? I could help with that

deathwebo avatar Oct 26 '16 23:10 deathwebo

@deathwebo that'd be an interesting idea, but I think absolute positioning would lend itself better for future enhancements to manual map editing and map export where CSS isn't necessarily involved.

davmillar avatar Oct 27 '16 00:10 davmillar

What does absolute positioning solve can't be done with flexbox or simply inline positioning like is already implemented? Maybe I'm missing a detail here, but for manual map editing you'd be placing dummy divs instead of images to maintain click states, and exporting to canvas still respects css. I'm confused what this accomplishes.

suniahk avatar Oct 09 '19 06:10 suniahk