- <div id="map_container" style="overflow: auto-scroll">
- <canvas id="map_data" ></canvas>
- </div>
My Javascript code resizes map_container to fill up a portion of the browser window. When my map is drawn into map_data I want to scroll to a particular spot in it and that is where the problem occurs. The following is a static example that doesn't work: