implement interpolation in BaiduMap Javascript Library