我有項目GIS。我想使用Google地圖API中的Google熱圖創建熱點犯罪地圖。我在MySQL數據庫上有一組犯罪地點(包括經度和緯度)的數據。我已閱讀Google Maps API Doc示例:https://developers.google.com/maps/documentation/javascript/heatmaplayer。 有一個使用函數getPoints()創建Heatmap
我想輸入分成兩個不同的浮動輸入爲52.5033390,-0.1237830(總是會有一個逗號,兩個數字之間沒有空格) while True:
number = 0 #clears value
number = input("Enter a lat and long") #e.g 52.5033390,-0.1237830
number = number.split("