[问题] 关于 google map v3 api的 dragend问题

楼主: slamgundam (Rick)   2015-06-13 13:58:35
想请问大家关于 google map v3 api的 dragend倾听事件内透过Geocoder() API的座标位
置取得formatted_address的住址字串,然后要传回给输入字段。
现在重点是当我移动Marker时,我无法把住址字串传回给输入字段。
目前是有透过$watch来监听.....但是一样没办法把住址传回给输入字段。
有透过console.log()来观察,是有变化的。
我是用 IONIC Framework
手机排版...不好意思...
谢谢大家 ><"
这是在view内
<div class="list list-inset">
<label class="item item-input">
<input type="text" placeholder="Pickup location" ng-model-options="{ updateOn
:'default blur' }" ng-model="pickupLocation" ng-blur="pickupLocationEvent(pick
upLocation)" />
</label>
</div>

Links booklink

Contact Us: admin [ a t ] ucptt.com