2013-03-27 39 views
1

我想知道是否可以从我的应用程序打开kml文件。 我有谷歌API 8和我实例化对象的GoogleMap是否可以在Gmaps上打开kml文件?

GoogleMap = m_gmap 
m_gmap.setMyLocationEnabled(true); 
m_gmap.getMyLocation(); 
...and so on. 

假设有一种方法来打开从我的应用程序文件,我怎么可以切换通过KML添加的新层?

在此先感谢。

回答

0

这里是一个链接到一个答案,可能会帮助你,How to draw a path on a map using kml file? 但据我所知,谷歌响应不支持kml格式,谷歌支持JSON和XML。

+0

感谢您的答复,但我不会实施类似的东西:P – JJonDuty 2013-03-28 09:09:13

相关问题