Day: July 29, 2016

ionic & ngCordova GPS Map

ให้เปิดไฟล์ index.html ในส่วนของ Header ให้ แปะไว้ด้านบนลองลงมาจาก style.css <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3.exp&amp;sensor=true&amp;"> </script> ให้เปิดไฟล์ app.js แล้วแปะ Controller ลงไป .controller('MapCon', function($scope, $cordovaGeolocation, $ionicLoading) { var myLocation = new google.maps.LatLng(13.770742, 100.5024268); var RMUTP =…