使用对话框将地图从SateliteView更改为TrafficView或反之亦然

时间:2012-05-28 10:36:19

标签: android

我想通过选择图片中提到的对话框将地图从sateliteView更改为TrafficView

1 个答案:

答案 0 :(得分:0)

你可以按照以下方式实现它。

看看这个

 //set Satellite view
m_mapView.setSatellite(true);
m_mapView.setTraffic(false);          


//set trafic view
m_mapView.setSatellite(false);
m_mapView.setTraffic(true);