Bing map plotting issue

Balasaheb Molawade 136 Reputation points
2024-01-10T13:06:53.33+00:00

Hi,

We have developed an application for plotting records on Bing Maps. The application functions correctly when run locally; however, when uploaded to the Canvas app, the pushpin does not appear on the map. Changing the map view results in the pushpin briefly appearing and then immediately disappearing.

Is there any obstruction preventing the plotting of the pushpin on the map within the Canvas app?

Thanks!

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

1 answer

Sort by: Most helpful
  1. rbrundritt 19,846 Reputation points Microsoft Employee
    2024-01-10T16:19:43.03+00:00

    Just to verify, you created a custom component that uses Bing Maps Web SDK directly and it loads initially, then somehow is being cleared.

    • Is the map still visible and just the pins missing, or is the map not displayed either?
    • If the map is not displayed, inspect the DOM elements to see if it is still loaded and have width/height. It's possible the map was resized to a zero width/height for some reason.

    If you are just adding pins to a map, have you considered using the built in map component for Power Apps: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/geospatial-component-map


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.