transform blazor's AzureMapsControl.Components.Map object to make a new atlas.map

Munawar, Sameer 0 Reputation points
2023-09-21T13:54:12.7333333+00:00

I have a Blazor Client App which contains an azure map. and Map have some html markers and custom layers at the Blazor Client side App.

Now I want to add one more Animated Tile Layer in my blazor app. Animated Tile Layer library only available in java Script SDK.

I want to pass my Map object to Java script with all layer, html markers and in java script it can add one more animated layer on same map.

how I can transform AzureMapsControl.Components.Map to atlas.map object ?

is there any way the same map in blazor can passed to java script ?

or is there any way to read the configurations, layer, html marker , options from AzureMapsControl.Components.Map and make a new atlas.map object ?

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
701 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. rbrundritt 17,501 Reputation points Microsoft Employee
    2023-09-21T16:51:14.8066667+00:00

    I would suggest asking this question on Azure Maps Blazor project you are using as this doesn't look to be an official Azure Maps library. As it is, I spent a good 10 minutes looking into this before I realized I was looking at the wrong project. I thought you might be using https://github.com/BlazorExtensions/AzureMaps but it looks like you are using https://github.com/arnaudleclerc/AzureMapsControl.Components If you are infact using the second library I mentioned, there is a built in wrapper for the animation library already: https://github.com/arnaudleclerc/AzureMapsControl.Components/tree/develop/docs/animations

    0 comments No comments

Your answer

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