DistanceFinder
1.0.0
Develop the mobile application for get distance and duration between two given location using Ionic 4 and Google Map API.
ก่อนอื่นโคลนหรือดาวน์โหลดซอร์สโค้ดจาก gitHub
จากนั้นไปที่
package.jsonและindex.htmlเปลี่ยน Google Map Api ของคุณ
"cordova-plugin-googlemaps": {
"API_KEY_FOR_ANDROID": "<< Google MAP API >>",
"API_KEY_FOR_IOS": "<< Google MAP API >>",
...
}
<body>
<app-root></app-root>
<script src="https://maps.googleapis.com/maps/api/js?key=<< Google MAP API >>"></script>
</body>
ในที่สุดเรียกใช้แอปพลิเคชันบนมือถือหรือไม่




