Moving MapFragment (SurfaceView) causes black background flickering

后端 未结 16 1432
误落风尘
误落风尘 2020-12-04 09:32

I\'m trying to implement new Android Google Maps API (v2). However it doesn\'t seem to go well with SlidingMenu. As you may know, MapFragment implementation is

16条回答
  •  囚心锁ツ
    2020-12-04 09:42

    Guys the best solution I found was to instantiate your support map through this. Does wonders

    SupportMapFragment mapFragment = SupportMapFragment.newInstance(new GoogleMapOptions().zOrderOnTop(true));
    

提交回复
热议问题