public interface CustomMapStyleCallBack
boolean onPreLoadLastCustomMapStyle(java.lang.String customStylePath)
MapView.setMapCustomStylePath(String)、
MapView.setMapCustomStyleEnable(boolean) 或
TextureMapView.setMapCustomStylePath(String)、
TextureMapView.setMapCustomStyleEnable(boolean) 或
WearMapView.setMapCustomStylePath(String)、
WearMapView.setMapCustomStyleEnable(boolean)两个接口自行实现本地缓存的个性化样式预加载逻辑,并将返回值置为true。customStylePath - 本地缓存的最新一次请求到的在线个性化样式文件路径boolean onCustomMapStyleLoadSuccess(boolean hasUpdate,
java.lang.String customStylePath)
MapView.setMapCustomStylePath(String)、
MapView.setMapCustomStyleEnable(boolean) 或
TextureMapView.setMapCustomStylePath(String)、
TextureMapView.setMapCustomStyleEnable(boolean) 或
WearMapView.setMapCustomStylePath(String)、
WearMapView.setMapCustomStyleEnable(boolean) 两个接口自行实现新样式更新,并将返回值置为true。hasUpdate - 当前请求的在线个性化样式相比本地缓存的最新在线个性化样式是否有更新,true:有更新;false:没有更新customStylePath - 当前请求到的在线个性化样式文件路径boolean onCustomMapStyleLoadFailed(int status,
java.lang.String Message,
java.lang.String customStylePath)
MapView.setMapCustomStylePath(String)、
MapView.setMapCustomStyleEnable(boolean) 或
TextureMapView.setMapCustomStylePath(String)、
TextureMapView.setMapCustomStyleEnable(boolean) 或
WearMapView.setMapCustomStylePath(String)、
WearMapView.setMapCustomStyleEnable(boolean)两个接口自行实现样式加载失败的逻辑,并将返回值置为true。status - 加载失败状态码Message - 加载失败信息描述customStylePath - 本地缓存的最新一次请求到的在线个性化样式文件路径