An Apple Maps block for the WordPress block editor (Gutenberg).
Disclaimer:Apple Maps, MapKit JS, and the Apple logo are trademarks of Apple Inc. Apple Maps may not be available in all countries or regions.
This plugin integrates Apple’s MapKit JS into an “Apple Maps” block in the WordPress block editor (Gutenberg). You will need an Apple Developer Program account, Maps Identifier, and Private Key to configure this plugin and connect to the MapKit JS API in order for the block to function. Note that the Apple Developer Program has an annual fee of 99 USD, in local currency where available. Prices may vary by region and are listed in local currency during the enrollment process. Fee waivers are available for the Apple Developer Program for eligible organizations.
In order to start using the Apple Maps block, you will need to sign up for the Apple Developer Program and create your Maps identifiers, keys, and tokens. Follow the steps below to generate the Private Key, Key ID, and Team ID that you will need to configure the plugin and gain access to the MapKit JS API for the Apple Maps block.
-----BEGIN PRIVATE KEY-----
and -----END PRIVATE KEY-----
lines.Key ID
value, and paste it into the respective plugin setup field.App ID Prefix
value (notice the value is appended with (Team ID)
), and paste it into the respective plugin setup field.Confirm MapKit Credentials
button in the plugin setup to gain access to the block options and begin customizing your Apple Maps block!If you have WordPress installed in a subdirectory, then there is a known issue specifically related to this setup where the WordPress Admin URL is different from the site URL. We’re working on a minor release to resolve this issue.
Our recommendation on updating the Apple Maps block settings focuses on ensuring the best experience for your site users. Specifically we recommend the following approach to ensure that existing Apple Maps on your site continue to be displayed during your MapKit JS credential transition.
There is a free daily limit of 250,000 map views and 25,000 service calls per the Apple Developer Program membership. For additional MapKit JS capacity needs you will need to contact Apple directly.
Yes, you can track your MapKit JS useage on the MapKit JS Developer Dashboard. You can also monitor map initializations and service requests in realtime, or see up to a year of activity by day, week, month, or year via the MapKit JS Dashboard.
word-wrap
from 1.2.3 to 1.2.4 (props @dependabot, @ravinderk via #173).tough-cookie
from 4.1.2 to 4.1.3 (props @dependabot, @faisal-alvi via #176).cypress
from 11.2.0 to 13.2.0 and @cypress/request
from 2.88.11 to 3.0.0 (props @dependabot, @ravinderk, @faisal-alvi, @iamdharmesh, @Sidsector9 via #176, #180, #181).postcss
from 8.4.23 to 8.4.31 (props @dependabot, @ravinderk via #184).@10up/cypress-wp-utils
from 0.1.0 to 0.2.0, @wordpress/env
from 5.6.0 to 8.7.0 and cypress-mochawesome-reporter
from 3.4.0 to 3.6.0 (props @iamdharmesh, @Sidsector9 via #181).Note that this release bumps the PHP minimum supported version from 5.6 to 7.4.
Added: Mochawesome reporter added for Cypress test report (props @jayedul, @iamdharmesh via #168).
simple-git
from 3.15.1 to 3.16.0 (props @dependabot via #158).http-cache-semantics
from 4.1.0 to 4.1.1 (props @dependabot via #159).@sideway/formula
from 3.0.0 to 3.0.1 (props @dependabot via #160).webpack
from 5.73.0 to 5.76.1 (props @dependabot via #162).Note that this release bumps the WordPress minimum version from 5.2 to 5.8.
Added: Support for custom marker icons (props @iamdharmesh, @dinhtungdu, @fabiankaegy via #136).
Active
to Stable
(props @jeffpaul, @dkotter via #135).terser
from 5.14.1 to 5.14.2 (props @dependabot via #132).markdown-it
from 12.0.4 to 12.3.2 and @wordpress/scripts
from 20.0.2 to 24.5.0 (props @dependabot via #138).loader-utils
from 2.0.2 to 2.0.4 (props @dependabot via #146).simple-git
from 3.10.0 to 3.15.1 (props @dependabot via #149).json5
from 1.0.1 to 1.0.2 (props @dependabot via #153).For the changelog of earlier versions, please refer to the changelog on github.com.