VectorTileLayer: rename hook function: render->process

This commit is contained in:
Hannes Janetzek 2014-10-03 06:00:49 +02:00
parent 0814a06d42
commit c29c85db41
3 changed files with 4 additions and 4 deletions

View File

@ -65,7 +65,7 @@ public class BuildingLayer extends Layer implements TileLoaderThemeHook {
/** TileLoaderThemeHook */
@Override
public boolean render(MapTile tile, RenderBuckets buckets, MapElement element,
public boolean process(MapTile tile, RenderBuckets buckets, MapElement element,
RenderStyle style, int level) {
if (!(style instanceof ExtrusionStyle))

View File

@ -145,7 +145,7 @@ public class VectorTileLayer extends TileLayer {
*/
public interface TileLoaderThemeHook {
/** Called for each RenderStyle found for a MapElement. */
public boolean render(MapTile tile, RenderBuckets buckets,
public boolean process(MapTile tile, RenderBuckets buckets,
MapElement element, RenderStyle style, int level);
/** Called on loader thread when tile loading is completed */
@ -177,7 +177,7 @@ public class VectorTileLayer extends TileLayer {
LList<TileLoaderThemeHook> th = mLoaderThemeHooks.head();
while (th != null) {
if (th.data.render(tile, layers, element, style, level))
if (th.data.process(tile, layers, element, style, level))
return;
th = th.next;

View File

@ -31,7 +31,7 @@ public class LabelTileLoaderHook implements TileLoaderThemeHook {
}
@Override
public boolean render(MapTile tile, RenderBuckets buckets, MapElement element,
public boolean process(MapTile tile, RenderBuckets buckets, MapElement element,
RenderStyle style, int level) {
if (style instanceof TextStyle) {