Am working in an angular.dart project that uses gmaps. And i want to get the LatLng value on map click. My map.html :
<div id="map" ng-click="ctrl.mapClick($event)"></div>
My DartCtrl :
void mapClick(e){
print(e.runtimeType); //MouseEvent
print(e.latLng); //error : Undifined function mapClick ...
}
Any idea to get LatLng value without writing something like :
map.onClick.listen((e){
print(e.latLng);
});
*This happend in dartium so its not related to dart2js. and think you ..