Currently, Drawing has an attribute called data which is an array of arrays of key strings. This name is pretty generic. keys seems more natural. (tiles should probably be reserved for the corresponding array of arrays of built Tile objects.)
This would be a breaking API change, so maybe for v3.
This breaks some symmetry. Currently both Mapping and Drawing objects have a data attribute. But they mean very different things, so should probably be renamed to map and keys respectively. And Style already doesn't have data; it uses css.
Currently,
Drawing
has an attribute calleddata
which is an array of arrays of key strings. This name is pretty generic.keys
seems more natural. (tiles
should probably be reserved for the corresponding array of arrays of builtTile
objects.)This would be a breaking API change, so maybe for v3.
This breaks some symmetry. Currently both
Mapping
andDrawing
objects have adata
attribute. But they mean very different things, so should probably be renamed tomap
andkeys
respectively. AndStyle
already doesn't havedata
; it usescss
.