We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
目前水點的讀取是直接讀取整個台灣地區, 如果改成讀取定位點所在位置的方圓一定範圍, 則將可擴大飲水地圖的適用性。
The text was updated successfully, but these errors were encountered:
以方圓一公里為例,原本query 的部分要改: node["amenity"="drinking_water"](around:1000,latitude,longitude);out body;out skel qt; 如果是在移動結束後才 query... 可能會因為歐洲伺服器傳過來要很久而導致使用者一直移來移去, 然後送出多次 query,接著就可能被 ban 了, 同理縮放也是一樣的情況... 所以如果考慮不要大改的作法, 應該是在這兩種動作結束後要暫停移動或縮放功能, 然後等 api response 後才可以在移動.. 我有懂 @pm5 為什麼說可能要大改了。囧
node["amenity"="drinking_water"](around:1000,latitude,longitude);out body;out skel qt;
Sorry, something went wrong.
改用新的 leaflet-overpass-layer 可能有點幫助, 有 beforeRequest , afterRequest & onSuccess: https://github.com/GuillaumeAmat/leaflet-overpass-layer
leaflet-overpass-layer
beforeRequest
afterRequest
onSuccess
No branches or pull requests
目前水點的讀取是直接讀取整個台灣地區,
如果改成讀取定位點所在位置的方圓一定範圍,
則將可擴大飲水地圖的適用性。
The text was updated successfully, but these errors were encountered: