code: public void fillTile(InternalTile tile, Envelope maxTileExtent)
  			throws GeomajasException {
  		List<InternalFeature> origFeatures = tile.getFeatures();
  		tile.setFeatures(new ArrayList<InternalFeature>());
  		for (InternalFeature feature : origFeatures) {
  			if (!addTileCode(tile, maxTileExtent, feature.getGeometry())) {
  				log.debug("add feature");
  				tile.addFeature(feature);
  			}
  		}
  	}
docs: Put features in a tile. This will assure all features are only added in one tile. When a feature's unique tile
  is different from this one a link is added in the tile.
  
  @param tile
  tile to put features in
  @param maxTileExtent
  the maximum tile extent
  @throws GeomajasException oops