Giter VIP home page Giter VIP logo

Comments (7)

rbrundritt avatar rbrundritt commented on August 18, 2024

Have you tried using the async defer method of loading the map script as well as the callback URL parameter? That is the documented way for accessing the V8 API. I suspect the issue is a timing issue where your code is accessing the Bing Maps API before it has finished downloading its resources.

from bingmapsresttoolkit.

Hammarskjold avatar Hammarskjold commented on August 18, 2024

Yep, makes no difference AFAIK. I can get it to work well as long as I just use the opposite load order, but then that breaks other parts of my environment, like epoch.

from bingmapsresttoolkit.

rbrundritt avatar rbrundritt commented on August 18, 2024

Note that this project is for the Bing Maps REST services, not the Bing Maps V8 control or samples.

from bingmapsresttoolkit.

Hammarskjold avatar Hammarskjold commented on August 18, 2024

Point taken! But finally got your attention here! Twitter, stack overflow and also social on MSDN got no replies back on my posts (not new threads).

from bingmapsresttoolkit.

rbrundritt avatar rbrundritt commented on August 18, 2024

I noticed your other posts. There are several others using Bing Maps in Angular without any issues. Have you taken a look at any of the open source projects to see how they manage this?

Its hard to justify focusing on a single JavaScript framework when there are so many out there and many of them are constantly changing. Angular is already on version 4 which is completely different from version 1.x. If the API focuses on plain old JavaScript, then there is no reason why any framework should not be able to use it.

from bingmapsresttoolkit.

rbrundritt avatar rbrundritt commented on August 18, 2024

Just tried this simple angular example: https://github.com/jurgob/angularjs_bing_maps Change the map script URL to point to V8 and it worked fine.

from bingmapsresttoolkit.

rbrundritt avatar rbrundritt commented on August 18, 2024

I've added an Angular 1.6 sample for V8 here: http://bingmapsv8samples.azurewebsites.net/#Bing%20Maps%20V8%20with%20Angular%201.6

from bingmapsresttoolkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.