public InternalTile paint ( InternalTile tile ) throws RenderException { if ( tile . getContentType ( ) . equals ( VectorTileContentType . URL_CONTENT ) ) { if ( urlBuilder != null ) { if ( paintGeometries ) { urlBuilder . paintGeometries ( paintGeometries ) ; urlBuilder . paintLabels ( false ) ; tile . setFeatureContent ( urlBuilder . getImageUrl ( ) ) ; } if ( paintLabels ) { urlBuilder . paintGeometries ( false ) ; urlBuilder . paintLabels ( paintLabels ) ; tile . setLabelContent ( urlBuilder . getImageUrl ( ) ) ; } return tile ; } } return tile ; }
Painter the tile by building a URL where the image can be found .