"KML.html"是參考
https://www.youtube.com/watch?v=MMGjaLpdgaQ
影片中的code,並將kmlUrl替換成"01 出生.kml"
"googlemaps_KML.html"是參考
https://developers.google.com/maps/tutorials/kml/
中的tutorials,並將src替換成"01 出生.kml"
If you're creating your own file, the code in this example assumes:
Your file is hosted publicly on the internet. This is a requirement for all applications loading KML into a KMLLayer. Google's servers need to be able to find and retrieve the content in order to display it on the map - this also means that the file can't be on a password-protected page.
參考:
https://developers.google.com/maps/tutorials/kml/
https://www.youtube.com/watch?v=MMGjaLpdgaQ