0
と。私はリーフレット-ポップアップ角度イオンとを使用する場合、私が円をクリックすると、ポップアップがwork.andは私に、このエラーを与えていないUncaught TypeError: Cannot read property 'get' of undefined
.ThisエラーがL.Popup.Angular.jsライブラリファイル内の次の行に署名.- >>使用リーフレット-ポップアップ角度、私は私のイオンアプリを<a href="https://github.com/grantHarris/leaflet-popup-angular" rel="nofollow">this</a>ライブラリを使用していたイオンアプリケーション
var $rootScope = $injector.get('$rootScope'),
$compile = $injector.get('$compile'),
$controller = $injector.get('$controller');
.controller('MapCtrl', function ($scope) {
var map = L.map('map', { zoomControl: false });
var noControllerPopup = L.popup.angular({
template: `Hello world`,
}).setContent('But we can still use templates and $content.');
L.circle([51.508, -0.11], 500, {
color: 'red',
fillColor: '#f03',
fillOpacity: 0.5
}).addTo(map).bindPopup(noControllerPopup);
//私のタイル...
}); uが...私はこの問題を解決するために、バージョン1.0.1へ