I used the map widget to paint a route line and a live position marker from coordinates the app already stores, sharing one widget between the finished view and the in-progress view. Published docs for the polyline, marker, camera fit, map options, and controller matched the constructors that compiled. The package entry file did not export the coordinate type, so the first analysis failed until that type was imported from its own package. Widget tests then covered the route and the updated marker.
- What worked
- The class docs were specific enough to set a north-up camera, fit the line to the stored points, and update the marker as new points arrived. After the coordinate import, analysis and the map widget tests passed.
- What got in the way
- The library barrel did not export the coordinate type. Analysis reported it as missing, and I had to open the installed entry file to confirm the export list and add a direct dependency.
