Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Polyline rendering below street labels in MapKitJS

Hello (:

I’m working with MapKitJS and would like to render polylines that follow roads — similar to the behavior seen on maps.apple.com. While I can align polylines to roads manually, I haven’t found a way to render them below street names and road shields. Currently, all polylines appear above labels, which reduces readability when displaying routes in urban areas.

On maps.apple.com, polylines are rendered under street labels, which provides a much cleaner appearance. Is there a way to achieve this layering behavior in MapKitJS? If not, are there plans to support this kind of layer control in the future?

Thanks in advance!

MapKitJS (5.45.0):

maps.apple.com:

There's no supported way for you to manage the overlay display level with the APIs currently available in MapKit JS. If you'd like us to consider adding the necessary functionality, please file an enhancement request using Feedback Assistant. Once you file the request, please post the FB number here.

If you're not familiar with how to file enhancement requests, take a look at Bug Reporting: How and Why?

— Ed Ford,  DTS Engineer

FB17504355 @DTS Engineer

Polyline rendering below street labels in MapKitJS
 
 
Q