android-google map v3从sql加载标记

问题描述:

我创建一个谷歌地图网页,其中经纬度从本地主机mysql加载并保存为.txt,并将加载并标记到谷歌地图网页,它的工作原理,那么有可能将其转换为android webview?或者有一种更简单的方法。android-google map v3从sql加载标记

+0

/notice meeeeeee –

关于在Android中使用web视图,试试这个SO thread

WebView webview = (WebView) findViewById(R.id.webView1); 
webview.setWebViewClient(new WebViewClient()); 
webview.getSettings().setJavaScriptEnabled(true); 
//just replace the actual latlong values with your variables from SQL 
webview.loadUrl("http://maps.google.com/maps?" + "saddr=43.0054446,-87.9678884" + "&daddr=42.9257104,-88.0508355"); 

还有从您存储经纬度值在SQL与PHP的帮助下加载标记到地图谷歌文档一个Using PHP/MySQL with Google Maps指南。

这个video demo可能有助于实施。