All of a sudden, I'm getting a 'toLowerCase' error when initating the map. RRS feed

  • Question

  • I have a Bing Maps control in a Microsoft Dynamics NAV page.  The code has been working for years.  A few weeks ago, out of the blue, I started getting 

    TypeError: Unable to get property 'toLowerCase' of undefined or null reference

    when I call

    map = new Microsoft.Maps.Map(document.getElementById(controlId), {
                credentials: BingMapsKey,
                center: new Microsoft.Maps.Location(latitude, longiture),
                mapTypeId: Microsoft.Maps.MapTypeId.road,
                zoom: ZoomLevel

    Does anyone have any idea why I would start getting this error now.


    Tuesday, May 5, 2020 9:45 PM

All replies

  • Hi Jim,

    The team is digging into this with your support case. Let's follow up here once we have an answer.



    Friday, May 8, 2020 5:43 PM