Javascript 使用dburles:googlemaps Meteor包时,如何添加googlemaps可视化库?
我希望使用谷歌地图的可视化库来制作。然而,我使用的是dburles:googlemapsmeteor包,不确定应该如何包含googlemapsapi。谷歌地图文档表明:Javascript 使用dburles:googlemaps Meteor包时,如何添加googlemaps可视化库?,javascript,google-maps,meteor,google-maps-api-3,heatmap,Javascript,Google Maps,Meteor,Google Maps Api 3,Heatmap,我希望使用谷歌地图的可视化库来制作。然而,我使用的是dburles:googlemapsmeteor包,不确定应该如何包含googlemapsapi。谷歌地图文档表明: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=visualization&sensor=true_or_false"> </s
<script type="text/javascript"
src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&libraries=visualization&sensor=true_or_false">
</script>
在《流星》中我该怎么做?我知道这应该是可能的,因为有人能够做到这一点
谢谢你抽出时间 Oops,超级简单的修复。dburles:googlemaps包实际上解决了这个问题
GoogleMaps.load({
key: myKey,
libraries: 'places,visualization'
});
与仅加载位置库不同:
libraries: 'places'