Now that we have basic terrain types, you can imagine what comes next: we create an array of map tiles for each row.
现在有了基本地形类型,您可以想象得到接下来需要做什么:为每一行创建一个地图图像块数组。
To start, create a few different terrain types and throw together some really rudimentary map tiles to represent each terrain type.
首先,创建一些不同的地形类型并且集合一些极为初步的地图图像块以表示每个地形类型。
Since the number of levels remains the same regardless of the map extent, map tiles can be cached by the browser in multiple levels.
因为级别的数量仍然保持一致而不用管地图的现实范围,地图瓦片可以被浏览器在多级别的情况下进行缓存。
应用推荐