[英]use extends com.google.android.gms.maps.MapView un google map v2
Is it possible to use ( extends com.google.android.gms.maps.MapView ) to show maps in google map v2, meaning that I want to use both mapView to use its methods like onTouchEvent to draw free lines by fingers using canvas on the map and I want to use the markers in the google map v2. 是否可以使用(扩展com.google.android.gms.maps.MapView)在Google Map v2中显示地图,这意味着我想同时使用mapView和onTouchEvent之类的方法来使用画布在手指上绘制自由线条地图,我想在Google Map v2中使用标记。 Is it possible to combine both features?
是否可以将两个功能组合在一起? Hope anyone got my mean.
希望有人明白我的意思。 Thanks in advance.
提前致谢。
I don't think that will work. 我认为那行不通。
You may just combine your CustomView
with MapView
like this: 您可以像这样将
CustomView
与MapView
结合使用:
<FrameLayout ...>
<MapView ... />
<CustomView ... />
</FrameLayout>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.