Posts

Post not yet marked as solved
3 Replies
Could be a bug. Manuel, could you file a feedback ticket on this that includes a test case? https://feedbackassistant.apple.com
Post marked as solved
2 Replies
Your MapKit JS usage limit has been raised!
Post not yet marked as solved
1 Replies
Thanks for your interest! I’ll put someone in touch with you.
Post not yet marked as solved
2 Replies
We received your Feedback Assistant report on this -- thank you! Looking into it.
Post not yet marked as solved
6 Replies
Hey @dev-yprox, a good way to get some action on this issue is to file a report via Feedback Assistant https://feedbackassistant.apple.com. Reports filed here are reviewed by the MKJS enginering team.
Post marked as solved
1 Replies
There's another thread on this, https://forums.developer.apple.com/thread/129412From that thread:> This was updated earlier this week, actually! ETAs returned via MapKit JS Directions now incorporate live traffic data.> The documentation still needs an update, thanks for bringing this to our attention.
Post not yet marked as solved
1 Replies
This was updated earlier this week, actually! ETAs returned via MapKit JS Directions now incorporate live traffic data. The documentation still needs an update, thanks for bringing this to our attention.
Post marked as solved
4 Replies
`isRotationAvailable` is a read-only property that lets you know whether rotation is available. Rotation is not available when the map is displayed with image tiles (for example, in browsers that don't support WebGL). Can you rotate this map with a gesture, or with the compass control? When you are able to rotate the map in these ways, isRotationAvailable should return true. FWIW I tried out your code minus setting the region (since I don't know the coordinates or span that you're using) and it worked for me.
Post marked as solved
6 Replies
The Add Annotations example at https://developer.apple.com/maps/web/shows how to add annotations on click and also how to remove annotations.
Post not yet marked as solved
1 Replies
Two questions:1. Does the same search fail in the Maps application on iOS? Could be an underlying Search or data issue. 2. Could you file a ticket on this in Feedback Assistant feedbackassistant.apple.com? Then the issue can be routed to the right group. Please include steps to reproduce and any other info that you think might be helpful.
Post not yet marked as solved
1 Replies
This is working for me... I tested in Safari and Chrome with the latest version of MKJS. You can definitely submit feedback on MapKit JS, using Feedback Assistant https://feedbackassistant.apple.com. We see all of these reports and aim to take quick action on them. In this case, since I can't reproduce what you are seeing it would be great to have a test case as well as more information about which browser and OS version you are using. I'll keep an eye out for this!
Post not yet marked as solved
3 Replies
Are there any other messages in the console? MKJS 5.31.2 includes client side logging for token errors that can be detected client-side.Some things to check, for troubleshooting. Reasons why a token might be invalid include:- The token is missing required fields.- The token has all required fields, but some values are incorrect.- The string provided for the origin claim in your token does not exactly match the Origin header passed by the browser. This string must match exactly, including protocol (http, https), trailing slashes, etc.- The token contains duplicate headers. You can check for duplicate headers by decoding the token at the command line. For example:echo "your-token-here" | tr "." "\n" | head -2 | base64 -D- The token was issued more than a year ago.- Your Apple Developer team has exceeded the number of requests allowed.
Post not yet marked as solved
3 Replies
I can't reproduce this issue. It's possible this was a service blip that was quickly resolved.
Post not yet marked as solved
2 Replies
There's a tool to generate tokens for MapKit JS at https://maps.developer.apple.com/token-maker. Hope this helps!