Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with Live V8 Code Samples Canvas Overlay #10

Closed
retwedt opened this issue Oct 19, 2017 · 2 comments
Closed

Error with Live V8 Code Samples Canvas Overlay #10

retwedt opened this issue Oct 19, 2017 · 2 comments

Comments

@retwedt
Copy link

retwedt commented Oct 19, 2017

Looking at the Canvas Overlay sample from the Bing Maps sample code.

Getting an error loading the CanvasOverlayModule. The following is logged in the console:

GET http://bingmapsv8samples.azurewebsites.net/CanvasOverlayModule.js 
https://www.bing.com/rms/SDKPlugin/cj,nj/5dac24ae/265f75e7.js?bu=rms+answers+MapsSDKRelease+AnonymousBegin*SDKPluginStart*SDKInfoboxOverlay*Infobox*SDKColor*TileSource*TileLayer*Module*Layer*EntityCollection*Events*SDKPrimitiveTemplateSelector*UserMouseEventArgs*PixelReference*Pushpin*SDKPolygon*SDKPolyline*TestDataGenerator*CustomOverlay*GroundOverlay*AnimatedTileLayer*MapsTilePrimer*SDKMap*PointCompression*DeprecatedClass*SDKPluginEnd*AnonymousEnd

The canvas and pins aren't loading. This was working for me yesterday, looks like there was an update last night though.

Getting a similar error in my own code (using Bing Maps API w/ Webpack and Angular2), unsure what the error is here or how to debug. Please advise.

@retwedt
Copy link
Author

retwedt commented Oct 19, 2017

Code Samples are working again. Any direction on what that error means/how to resolve it?

@rbrundritt
Copy link
Member

The code change yesterday simply changed how the Bing Maps keys were dynamically added to the pages. As part of that the samples where loaded differently which broke local file references in some of the samples. All fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants