An SDK for the Apple Maps Server API that provides geocoding, estimated time of arrival, location search, and other MapKit JS Web APIs in JavaScript and TypeScript. Version 1.1.9 ships TypeScript definitions and works in Node.js and browser environments. Unlike generic mapping SDKs, this package is purpose-built for Apple Maps, offering native integration with Apple's server-side services. The package is actively maintained on GitHub and follows semantic versioning. It is the only dedicated npm package for the Apple Maps Server API, simplifying authentication and request handling.
npm install apple-maps-server-sdkNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to instantiate the SDK with an authorization token and perform a geocode lookup.
Use require('apple-maps-server-sdk').default or switch to ES modules.Ensure the token is correctly generated with the proper key ID, team ID, and service ID.
Use 'q' for query-based geocoding instead.
Use a bundler that can polyfill Node.js modules or use the package only in Node.js.
Use `import type { ... } from 'apple-maps-server-sdk'` for type-only imports.Run `npm install apple-maps-server-sdk` and ensure tsconfig.json includes 'node_modules/@types' or the package itself has types.
Use `import AppleMaps from 'apple-maps-server-sdk'` or `const AppleMaps = require('apple-maps-server-sdk').default`.Pass a valid token string as `authorizationToken` when instantiating AppleMaps.
No dependency data recorded yet.