15 Commits

Author SHA1 Message Date
Hannes Janetzek
7f6fe14f60 use zoom level mask instead of min < zoom < max 2013-10-09 01:56:04 +02:00
Hannes Janetzek
5947f24862 warn if some feature matches the same instruction twice
- (and remove second RenderInstruction)
2013-10-09 01:56:04 +02:00
Hannes Janetzek
923019a34a improve GeometryBuffer API 2013-10-09 01:56:01 +02:00
Hannes Janetzek
bcb529906a - extract interface of RenderTheme
- pass MapElement to RenderTheme
- refactor: join duplicated code for node and way matching
2013-10-09 01:56:00 +02:00
Hannes Janetzek
b9c3c3fad8 move RenderTheme internals to theme.rules.* 2013-10-09 01:55:59 +02:00
Hannes Janetzek
a6063997db make RenderTheme only return render instruction
- i.e. dont pass render callback

remove unused matchWay function
2013-10-09 01:55:57 +02:00
Hannes Janetzek
f440920a4b cleanups 2013-10-09 01:55:57 +02:00
Hannes Janetzek
45bb326258 update copyright 2013-10-09 01:55:53 +02:00
Hannes Janetzek
f2b7a9fdf8 formatting 2013-10-09 01:55:52 +02:00
Hannes Janetzek
8a5ec974a1 - reuse element Tag arrays
- use previous elements' RenderInstructions when tags and zoom match
2013-10-09 01:55:51 +02:00
Hannes Janetzek
836f0ea82b use separate locks for nodes/ways/areas render instructions cache 2013-10-09 01:55:50 +02:00
Hannes Janetzek
bf75d3bead - use only one RenderInstruction cache item when instructions are the same for multiple zoom-level
- do common checks in Rule instead of calling interface methods
2013-10-09 01:55:49 +02:00
Hannes Janetzek
2e8bcd865a formatting 2013-10-09 01:55:48 +02:00
Hannes Janetzek
a1317a9de5 - remove swrenderer
- rearchitect:
 now that MapView is a ViewGroup and MapRenderer is the GLSurfaceView.
- lock/unlock proxy tiles properly to not be removed from cache while in use
2013-10-09 01:22:33 +02:00
Hannes Janetzek
e2da87d8e0 switch package org.mapsforge -> org.oscim 2013-10-09 01:22:33 +02:00