dburles / meteor-google-maps

🗺 Meteor package for the Google Maps Javascript API v3
https://atmospherejs.com/dburles/google-maps
MIT License
196 stars 48 forks source link

Weird error when GoogleMaps.load() called #155

Closed mherb63 closed 6 years ago

mherb63 commented 6 years ago
Meteor.startup(function() {
  GoogleMaps.load({key: 'xxxxxx'});
});

results in...

Exception in callback of async function: TypeError: v.map is not a function
    at Object.EJSON.clone (http://localhost:3000/packages/ejson.js?hash=3af8c8d41c63ca01c1c9698a677bc5ae971ff3b2:666:14)
    at http://localhost:3000/packages/iron_middleware-stack.js?hash=e5ffae14128fa7f2aa1e3c04bb343146e1dfec09:297:83
    at Array.map (<anonymous>)
    at Function._.map._.collect (http://localhost:3000/packages/underscore.js?hash=cde485f60699ff9aced3305f70189e39c665183c:167:56)
    at MiddlewareStack.concat (http://localhost:3000/packages/iron_middleware-stack.js?hash=e5ffae14128fa7f2aa1e3c04bb343146e1dfec09:297:29)
    at ctor.RouteController._runRoute (http://localhost:3000/packages/iron_router.js?hash=f36af52c3c2c3d66f1e99d1562e7d6bf92b00c1c:537:17)
    at Function.Route.dispatch (http://localhost:3000/packages/iron_router.js?hash=f36af52c3c2c3d66f1e99d1562e7d6bf92b00c1c:851:18)
    at ctor.route (http://localhost:3000/packages/iron_router.js?hash=f36af52c3c2c3d66f1e99d1562e7d6bf92b00c1c:708:11)
    at boundNext (http://localhost:3000/packages/iron_middleware-stack.js?hash=e5ffae14128fa7f2aa1e3c04bb343146e1dfec09:418:31)
    at http://localhost:3000/packages/meteor.js?hash=6d285d84547b3dad9717a7c89c664b61b45ea3d8:1117:22
mherb63 commented 6 years ago

I don't think its the plugin doing this, I'm going to close