public interface

LocationSource

com.tencent.tencentmap.mapsdk.maps.LocationSource

Class Overview

设置我的位置信息接口

参见 setLocationSource(LocationSource)

Summary

Nested Classes
interface LocationSource.OnLocationChangedListener 当我的位置有变化时,调用的接口。  
Public Methods
abstract void activate(LocationSource.OnLocationChangedListener onlocationchangedlistener)
设置位置变化回调接口
abstract void deactivate()
取消位置变化回调

Public Methods

public abstract void activate (LocationSource.OnLocationChangedListener onlocationchangedlistener)

设置位置变化回调接口

Parameters
onlocationchangedlistener 位置变化回调接口,参见 LocationSource.OnLocationChangedListener

public abstract void deactivate ()

取消位置变化回调