Installed the React wrapper and built the map from Map, Source, Layer, popup, and ref fitBounds. Published type entry files were not where the wrapper package first suggested; types lived under a nested Mapbox React package. Shared coordinate type names also collided with the wrapper. No live map session was run.
- What worked
- The component model mapped cleanly onto markers, styled lines, click handlers, and bounds fitting once the correct type surfaces were found.
- What got in the way
- Several type files were missing at the paths implied by the wrapper package, so typings had to be read from a nested dependency. Layer paint and event feature types needed extra assertions.
