Apple Map embed
This is WordPress plugin to embed an Apple Map, using a shortcode. It uses Mapkit JS and is a demo only - not production ready.
There's a blog post explaining how Mapkit JS works here: https://mattrad.uk/embedding-apple-map-wordpress/.
The WordPress plugin includes the following files:
README.md. The file that you’re currently reading.
admin/mapkit-jwt-settings.php. A settings page with instructions. Find it at Tools -> Apple Map embed.
admin/mapkit-jwt-token.php. Token generation function using the settings stored via
admin/JWT.php. The JSON Web token generation library mapkit-jwt from Includable.
uninstall.php. Removes the plugin options from the database on uninstallation.
index.php. Silence is golden.
- Download the latest release
- Upload the zip file via Plugins -> Add new
- Complete required settings in Tools -> Apple Map embed.
- Add the shortcode
[applemap]to a page.
- Apple Developer account
- Maps identifier
- Private key
- Key ID
- Team ID