Show icons for animals on the surface. Use marker clustering (see CloudMade/Leaflet#442) to zoom out gracefully.
To determine whether an animal is on the surface (and thus visible on the map), start at the animal's location and proceed upwards until reaching the highest block, as reported by the ChunkSnapshot. If any inspected block is opaque and would block visibility of the animal, the animal is not shown. Otherwise, it appears on the map.
Show icons for animals on the surface. Use marker clustering (see CloudMade/Leaflet#442) to zoom out gracefully.
To determine whether an animal is on the surface (and thus visible on the map), start at the animal's location and proceed upwards until reaching the highest block, as reported by the
ChunkSnapshot
. If any inspected block is opaque and would block visibility of the animal, the animal is not shown. Otherwise, it appears on the map.