maps icon indicating copy to clipboard operation
maps copied to clipboard

Unable to figure out how to use AppleMapsRequestSigner.withPrivateKey

Open KelvinMihir opened this issue 3 years ago • 1 comments

Hey, So I am trying to use Apple Maps JS using this library, but I can't seem to figure out how to use the constructor for the AppleMapsRequestSigner.withPrivateKey API request signer. I am not sure what teamID, keyID, and most notably keyPair is and how I can get it.

So far I have gone through the Apple Developer sign in and created a Identifier for the Map Key and I have a Key ID which I am assuming is the second parameter. The first parameter I am assuming is the reverse domain (ex: maps.example.example), but I am still unable to figure out how to make a keyPair and what is used to make it.

Any assistance would be awesome. Thank you.

KelvinMihir avatar Apr 18 '22 07:04 KelvinMihir

Update: I figured out how to find TeamID, still trying to figure out the KeyPair

KelvinMihir avatar Apr 18 '22 07:04 KelvinMihir