make RenderTheme only return render instruction

- i.e. dont pass render callback

remove unused matchWay function
This commit is contained in:
Hannes Janetzek
2013-03-18 05:10:24 +01:00
parent 0b7edab572
commit a6063997db
4 changed files with 45 additions and 78 deletions

View File

@@ -62,16 +62,16 @@ public interface IMapDatabaseCallback {
void renderWay(byte layer, Tag[] tags, float[] wayNodes, short[] wayLength,
boolean closed, int prio);
/**
* TBD: check if way will be rendered before decoding
*
* @param tags
* ...
* @param closed
* ...
* @return true if the way will be rendered (i.e. found match in
* RenderTheme)
*/
boolean checkWay(Tag[] tags, boolean closed);
// /**
// * TBD: check if way will be rendered before decoding - MUST be called before renderWay!
// *
// * @param tags
// * ...
// * @param closed
// * ...
// * @return true if the way will be rendered (i.e. found match in
// * RenderTheme)
// */
// boolean matchWay(Tag[] tags, boolean closed);
}