code: @Override
  	public BufferedImage drawTile(int zoom, BoundingBox boundingBox,
  			CloseableIterator<GeometryIndex> results) {
  
  		FeatureTileGraphics graphics = new FeatureTileGraphics(tileWidth,
  				tileHeight);
  
  		// WGS84 to web mercator projection and google shape converter
  		ProjectionTransform webMercatorTransform = getWebMercatorTransform();
  		BoundingBox expandedBoundingBox = expandBoundingBox(boundingBox);
  
  		boolean drawn = false;
  		while (results.hasNext()) {
  			GeometryIndex geometryIndex = results.next();
  			FeatureRow featureRow = getFeatureIndex().getFeatureRow(
  					geometryIndex);
  			if (drawFeature(zoom, boundingBox, expandedBoundingBox,
  					webMercatorTransform, graphics, featureRow)) {
  				drawn = true;
  			}
  		}
  		try {
  			results.close();
  		} catch (IOException e) {
  			log.log(Level.WARNING, "Failed to close geometry index results", e);
  		}
  
  		BufferedImage image = null;
  		if (drawn) {
  			image = graphics.createImage();
  			image = checkIfDrawn(image);
  		} else {
  			graphics.dispose();
  		}
  
  		return image;
  	}
docs: {@inheritDoc}