google map getLocation参考
摘要:获取当前位置并显示在google地图上 function do_something(coords) { // Do something with the coords ...
阅读全文
posted @
2016-10-24 11:11
qinyahui
阅读(495)
推荐(0)
google map 定位
摘要:在map初始化的过程中,得到当前经纬度,完成初始化地图,通过HTML5中的Geolocation实现,具体参考:http://www.jb51.net/html5/71556.html 1.获取当前地理位置 调用方法 void getCurrentPosition(onSuccess, onErro
阅读全文
posted @
2016-10-17 14:42
qinyahui
阅读(460)
推荐(0)
监听polygon变化
摘要:Polygons are made of Paths which are just MVCArrays (in this case, they're a list of LatLng objects). MVCArrays have three events: insert_at, remove_a
阅读全文
posted @
2016-06-21 17:11
qinyahui
阅读(297)
推荐(0)
javascript google map circle radius_changed ,angularjs google map circle radius_changed
摘要:javascript: var cityCircle = new google.maps.Circle({ strokeColor: '#FF0000', strokeOpacity: 0.8, strokeWeight: 2, fillColor: '#FF0000', fillOpacity:
阅读全文
posted @
2016-05-18 15:06
qinyahui
阅读(457)
推荐(0)
angularjs-googleMap googleMap api地址解析与反解析
摘要:1.js:根据地址得到经纬度var myplace=$scope.place;//获取输入的地址var geocoder = new google.maps.Geocoder();//创建geocoder服务//调用geocoder服务完成转换geocoder.geocode( { 'address
阅读全文
posted @
2016-04-15 11:00
qinyahui
阅读(380)
推荐(0)