Azure maps Create Indoor Maps sample not working

2024-01-26T14:54:15.5833333+00:00

Hi The sample is not working for me. Error : The layer 'unit' has not been added to the map and its rendered features cannot be retrieved. Regards

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

1 answer

Sort by: Most helpful
  1. Saravanan Ganesan 1,830 Reputation points MVP
    2024-01-28T16:34:06.19+00:00

    Hi Mustapha, The error "The layer 'unit' has not been added to the map, and its rendered features cannot be retrieved" indicates a missing layer in your mapping application. Ensure that you've properly added and initialized the 'unit' layer in your map. Check for typos or errors in layer names, and make sure the layer is added before attempting to retrieve or render features. Verify your mapping library's documentation for correct usage and layer initialization procedures to resolve the issue. Regards, Saravanan Ganesan.

    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.