Share via

Bing Maps in React App

Anonymous
2023-11-27T09:13:19+00:00

Hello,

I am trying to implement a BingMap in a reactjs app. The implementation is okay however I keep getting a script error every time the component reloads or after a search.

I get this error:
ERROR

Script error. at handleError (http://localhost:3000/static/js/bundle.js:86145:58) at http://localhost:3000/static/js/bundle.js:86164:7

Uncaught TypeError: Microsoft.Maps.NetworkCallbacks.f_logCallbackRequest is not a function

at Log?entry=0&fmt=1&type=3&group=MapControl&name=MVC&version=v8&mkt=en-ZA&auth=Aj3dGbERaUS4-YIzxzIBe\_GW5mhBe7gebII1ifXnVNdzTLJDcgH2697X6SUgBDvF&jsonp=Microsoft.Maps.NetworkCallbacks.f\_logCallbackRequest:1:33

(anonymous) @ Log?entry=0&fmt=1&type=3&group=MapControl&name=MVC&version=v8&mkt=en-ZA&auth=Aj3dGbERaUS4-YIzxzIBe_GW5mhBe7gebII1ifXnVNdzTLJDcgH2697X6SUgBDvF&jsonp=Microsoft.Maps.NetworkCallbacks.f_logCallbackRequest:1

Any help on this

Bing | Other
Bing | Other

Miscellaneous topics that do not fit into specific categories.

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Anonymous
2023-11-27T21:36:45+00:00

Have you looked at Github? Microsoft.Maps.NetworkCallbacks.f_logCallbackRequest is not a function · Issue #56 · milespratt/bingmaps-react (github.com) You will probably get more insight directly from the Github project than here as React is an independent platform and not a Microsoft product. The error is from React directly.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Darhyl Amizola 44,120 Reputation points Independent Advisor
    2023-11-27T09:50:00+00:00

    Hey Paull!

    Nice to meet you! I'm Darhyl, an Independent Advisor. I'm sorry you are experiencing this on Bing Maps. No worries, let me help you sort this out.

    Please be advised that this community is just a consumer forum. I highly recommend you post this inquiry in the Microsoft Q&A forum. This is the best place to get answers to your technical questions from experts who have technical knowledge related to Bing Maps:

    https://learn.microsoft.com/en-us/search/?terms...

    For reference link:

    https://answers.microsoft.com/en-us/bing/forum/...

    Thank you for your kindness and understanding! Please let me know if you need anything else.

    Best regards,

    Darhyl

    Was this answer helpful?

    0 comments No comments