Azure Maps -

Vijay Krishna Parasi 21 Reputation points
2020-06-15T07:55:23.353+00:00

Followed all steps in below URL's regarding Azure Indoor Maps creation.

However in the last step the styling is not working as the map is not showing the green and red color for occupancy details. I understand that the proper unit and applied the styling property to the respective unit. Please help further on this.

9963-azuremaps.png

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

Accepted answer
  1. QuantumCache 20,031 Reputation points
    2020-07-09T00:39:04.927+00:00

    Hello @VijayKrishnaParasi-4043 ,Consolidating the resolution steps at one place:

    1. Please look into the network tab of your browser and see if the call with Request URL started with https://atlas.microsoft.com/map/stateTile?statesetId={your statesetId}
      and Request Method with "GET" (NOT "OPTION") have any 200 responses with content-length greater than 0? Please zoom into the unit that you posted the state before and monitor the network in your browser and reply back with that request information. This will explain whether you get the tile with the color info and will help in helping identify the issue further.

      Now If I refresh I could see the updated colors. However when I update the state of any unit it is getting updated only for first time but I am unable modify that.

    2. Double check that "eventTimestamp": "..." has been updated to reflect newer timestamp?
      Additionally, are you still seeing TypeError: Cannot read property 'querySourceFeatures' of undefined?

      It is partially resolved as I am able to mark the space either free or allocated only for the first time. Once I mark from the next time it doesn't update.

    3. Make sure that the eventTimestamp in your request body is updated on each change request?

      I didn't updated the timestamp looks like that's the problem. Now I am able to see the changes. Thanks for the help in resolving the issue. I am still seeing the errors in the console.

    4. Unfortunately for the TypeError you received, we are having difficulty on reproducing it. The error suggests that the internal function getLevelFeatures is failing due to this.map._getMap() object is returning undefined. When this fails, this should result in a non-functional LevelControl. However, that doesn't appear to be for your case and this.map_getMap() should never be undefined unless it's forcefully overridden.

    Please let us know when you encounter additional issues.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Chris Pendleton (MSFT) 6 Reputation points
    2020-06-15T17:55:15.967+00:00

    Hi Vijay - We have a known issue for non-US deployments. We have a fix going out sooner to correct this.

    1 person found this answer helpful.