How to add Tile Layer in Azure Maps Web SDK MapControl with custom Header

Mandeep Chauhan 41 Reputation points
2023-05-18T04:03:15.4733333+00:00

I am trying to consume Azure Maps Web SDK in my solution for rendering a Tile Layer from our own tile server.

TileLayerOptions can be used to specify tileUrl of our tile server. The blocker I am facing is that I need to add a specific Header with all the requests going to tileUrl. Is there a way to customise tileUrl requests to add a header?

Azure Maps
Azure Maps

An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.


1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.