public override Task <ThumbnailInfo> GetThumbnailInfoAsync(PostClass.StatusGeo geo) { var thumb = new ThumbnailInfo { MediaPageUrl = this.CreateMapLinkUrl(geo.Latitude, geo.Longitude), ThumbnailImageUrl = this.CreateStaticMapUrl(geo.Latitude, geo.Longitude), TooltipText = null, }; return(Task.FromResult(thumb)); }
public override Task <ThumbnailInfo> GetThumbnailInfoAsync(PostClass.StatusGeo geo) { var size = new Size(SettingManager.Common.MapThumbnailWidth, SettingManager.Common.MapThumbnailHeight); var zoom = SettingManager.Common.MapThumbnailZoom; var thumb = new OSMThumbnailInfo(geo.Latitude, geo.Longitude, zoom, size) { MediaPageUrl = this.CreateMapLinkUrl(geo.Latitude, geo.Longitude), }; return(Task.FromResult((ThumbnailInfo)thumb)); }
public abstract Task <ThumbnailInfo> GetThumbnailInfoAsync(PostClass.StatusGeo geo);