バックボーンを使用してマップ アプリケーションを開発しています。Googleローダーを使用せずにGoogleスクリプトを非同期にロードするにはどうすればよいですか? $.getScript を使用しようとしていますが、何らかの理由で、それが返す google グローバル オブジェクトには google.maps.LatLng のような標準 API 関数がありません。
マイコード
$.getScript 'https://maps.googleapis.com/maps/api/js?key=XXX&sensor=false', ->
console.log google
mapOptions =
center: new google.maps.LatLng(-34.397, 150.644),
zoom: 8,
mapTypeId: google.maps.MapTypeId.ROADMAP
map = new google.maps.Map document.getElementById("map")