gridviz icon indicating copy to clipboard operation
gridviz copied to clipboard

Legend div definition

Open jgaffuri opened this issue 1 year ago • 0 comments
trafficstars

Currently, the div id is given to legendDivId option: const map = new gridviz.Map(document.getElementById('map'), { x: 4500000, y: 2900000, z: 1000, legendDivId: 'ext_legend' }) instead, it should be a container. So that we can do instead something like: const map = new gridviz.Map(document.getElementById('map'), { x: 4500000, y: 2900000, z: 1000, legendDiv: document.getElementById('ext_legend') })

jgaffuri avatar Jun 12 '24 06:06 jgaffuri