Scroll down through the story and the map will fly to the chapter's location.
See the example: https://docs.mapbox.com//mapbox-gl-js/example/scroll-fly-to/
<script src="https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.css">
<script src="http://www.gutenberg.org/files/2346/2346-h/2346-h.htm"></script>
<div id="map"></div>
<div id="features">
<section id="baker" class="active">
<h3>221b Baker St.</h3>
<p>
November 1895. London is shrouded in fog and Sherlock Holmes and
Watson pass time restlessly awaiting a new case. "The London
criminal is certainly a dull fellow," Sherlock bemoans. "There have
been numerous petty thefts," Watson offers in response. Just then a
telegram arrives from Sherlock's brother Mycroft with a mysterious
case.
</p>
</section>
<section id="aldgate">
<h3>Aldgate Station</h3>
<p>
Arthur Cadogan West was found dead, head crushed in on train tracks
at Aldgate Station at 6AM Tuesday morning. West worked at Woolwich
Arsenal on the Bruce-Partington submarine, a secret military
project. Plans for the submarine had been stolen and seven of the
ten missing papers were found in West's possession. Mycroft implores
Sherlock to take the case and recover the three missing papers.
</p>
</section>
<section id="london-bridge">
<h3>London Bridge</h3>
<p>
Holmes and Watson's investigations take them across London. Sherlock
deduces that West was murdered elsewhere, then moved to Aldgate
Station to create the illusion that he was crushed on the tracks by
a train. On their way to Woolwich Sherlock dispatches a telegram to
Mycroft at London Bridge: "Send list of all foreign spies known to
be in England, with full address."
</p>
</section>
<section id="woolwich">
<h3>Woolwich Arsenal</h3>
<p>
...