GMap.NET.Core/GMap.NET.Internals/Tile.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace GMap.NET.Internals
{
using System.Collections.Generic;
using System;
/// <summary>
/// represent tile
/// </summary>
public struct Tile : IDisposable
{
public static readonly Tile Empty = new Tile();
GPoint pos;
int zoom;
public List<PureImage> Overlays;
public Tile(int zoom, GPoint pos)
{
this.zoom = zoom;
this.pos = pos;
this.Overlays = new List<PureImage>();
}
void Clear()
{
if(Overlays != null)
{
lock(Overlays)
{
foreach(PureImage i in Overlays)
{
i.Dispose();
}
Overlays.Clear();
}
Overlays = null;
}
}
public int Zoom
{
get
{
return zoom;
}
private set
{
zoom = value;
}
}
public GPoint Pos
{
get
{
return pos;
}
private set
后面还有 35 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
