![](/img/trans.png)
[英]How to display the nearby locations without using google places api?
[英]How to display the places without using google places api?
嗨,我正在為盲人開發一個Android應用程序,在這里我想向用戶顯示附近的位置和公交車站。
我不想使用Google Places api,但是我需要在MySQL數據庫中輸入商店的名稱,地址,類型,緯度和經度,然后使用該數據庫將相關數據發送到android應用。
您可以張貼一些我可以學到的教程嗎?
首先您必須從MySQL數據庫獲取數據在android中使用它
這是tutorial1和tutorial2 ,您需要什么並重新鏈接
添加標記:
float lat = -23.4456f;
float lng = 45.44334f;
LatLng point = new LatLng(lat, lng);
MAP.addMarker(new MarkerOptions().position(point).title("my place name"));
還檢查此以獲取更多詳細信息 ,這是根據您的要求提供的最佳詳細信息 (這不在google map v2中,但您有更多的主意)。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.