sinomap
sinomap copied to clipboard
Instance API design
For now we can only get new Sinomap instances, without public methods updating them. Imaging some of them:
sinomap.update()updates map config, e.g., background color or size.sinomap.destroy()removes the map.
To dynamically update data, for now we use layers. Still looking for approaches combining layers API with sinomap instance method. Any ideas?
API manipulating layers, .e.g., addLayer, removeLayer can also be considered.