Swaps the map provider behind the existing provider-neutral JobMapProps interface: EsriJobMap.tsx (ArcGIS Maps SDK) replaces GoogleJobMap.tsx, loaded via esri-loader's CDN script rather than bundled through webpack — next dev's inline source-mapping of a library this size was OOM-killing the whole host on first compile. Also fixes a bug in the fit-bounds camera call: view.goTo() needs real Graphic/Geometry instances, not plain point literals, so the map was never zooming to the plotted points. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
27 lines
573 B
JSON
27 lines
573 B
JSON
{
|
|
"name": "ulhub-web",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev -p 3000",
|
|
"build": "next build",
|
|
"start": "next start -p 3000",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"esri-loader": "^3.7.0",
|
|
"next": "14.2.5",
|
|
"react": "18.3.0",
|
|
"react-dom": "18.3.0"
|
|
},
|
|
"devDependencies": {
|
|
"@arcgis/core": "^4.31.0",
|
|
"@types/node": "^20.11.0",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-next": "14.2.5",
|
|
"typescript": "^5.5.0"
|
|
}
|
|
}
|