74 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
4abec66e39 finish first part of database -> tilesource refactoring
- now there is a clean separation between TileSource type
  and TileDataSource(worker instances)
2013-10-09 01:56:04 +02:00
Hannes Janetzek
8d96aacf3f fix formatting 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
3e277c23ee theming: use any key as label 2013-10-09 01:56:04 +02:00
Hannes Janetzek
4899e61ee7 start of mapbox streets theme 2013-10-09 01:56:04 +02:00
Hannes Janetzek
77733ed593 port theme to mapbox street layers 2013-10-09 01:56:04 +02:00
Hannes Janetzek
2ff67d078d move renderer.layer to renderer.sublayers and renderer.overlays to renderer.layers 2013-10-09 01:56:02 +02:00
Hannes Janetzek
01b6a8acf4 use theme priority(for tag group) also for node labels 2013-10-09 01:56:02 +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
6eb3b9221b MapView base layer is now a TileLayer
- extract MapView base layer into TileLayer
- extract MapTile loading from GLRenderer
- move all tile layer related classes to layers.tile.*
- make Overlay subclass of InputLayer, which extends Layer
2013-10-09 01:56:00 +02:00
Hannes Janetzek
a72c4fff26 fix Text.create() 2013-10-09 01:55:59 +02:00
Hannes Janetzek
b9c3c3fad8 move RenderTheme internals to theme.rules.* 2013-10-09 01:55:59 +02:00
Hannes Janetzek
55a83aaf6f make fields final 2013-10-09 01:55:59 +02:00
Hannes Janetzek
c9b54fdfa2 revert Paint back to Android 2013-10-09 01:55:59 +02:00
Hannes Janetzek
eb6778a907 - start to extract android graphics dependency
- make IRenderThemeCallback more consistent
2013-10-09 01:55:59 +02:00
Hannes Janetzek
b8b09f9455 theme: brighter swimming pool 2013-10-09 01:55:58 +02:00
Hannes Janetzek
67e79d98b2 theme: fix water:stream width 2013-10-09 01:55:58 +02:00
Hannes Janetzek
8c8750a833 add GeometryBuffer class to pass data from MapDatabase to TileGenerator 2013-10-09 01:55:57 +02:00
Hannes Janetzek
93a4910fb5 theme tweaks 2013-10-09 01:55:57 +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
3e6ac7d5d4 add and use utility to set Int color as uniform 2013-10-09 01:55:56 +02:00
Hannes Janetzek
78d44dc985 move amenity areas below natural/landuse/leisure, showing parks in hospitals etc 2013-10-09 01:55:56 +02:00
Hannes Janetzek
1a1345aa70 theme tweaks 2013-10-09 01:55:56 +02:00
Hannes Janetzek
b0c1f122fe spring color theme 2013-10-09 01:55:55 +02:00
Hannes Janetzek
ebcd923025 spring cleaning 2013-10-09 01:55:55 +02:00
Hannes Janetzek
2c48530ce1 fix rule cache tag comparison with previous item 2013-10-09 01:55:55 +02:00
Hannes Janetzek
9733702655 theme tweaks 2013-10-09 01:55:54 +02:00
Hannes Janetzek
2843c49ced fix stipple width 2013-10-09 01:55:54 +02:00
Hannes Janetzek
54d3fe332b cleanups 2013-10-09 01:55:54 +02:00
Hannes Janetzek
aaafe0cddc use procedural texture for regular stipple 2013-10-09 01:55:54 +02:00
Hannes Janetzek
c8ab69ed2d keep stipple lines visible on zoomlevel >= 17 2013-10-09 01:55:54 +02:00
Hannes Janetzek
d91ad535a2 start to make line stipple themeable 2013-10-09 01:55:54 +02:00
Hannes Janetzek
87ea877705 cleanups 2013-10-09 01:55:54 +02:00
Hannes Janetzek
4faaf25dfa use Layer.width 2013-10-09 01:55:54 +02:00
Hannes Janetzek
8aab183d1a cleanup 2013-10-09 01:55:54 +02:00
Hannes Janetzek
d64988a56a line stipple style for railways, yay! 2013-10-09 01:55:54 +02:00
Hannes Janetzek
7cf4ca27f3 - add initial version of line stipple renderer
- 'vbo' moved to 'Layers'
2013-10-09 01:55:54 +02:00
Hannes Janetzek
45bb326258 update copyright 2013-10-09 01:55:53 +02:00
Hannes Janetzek
34bffcc15f labeling testing 2013-10-09 01:55:53 +02:00
Hannes Janetzek
6ef8f8e94d fresher green for parks 2013-10-09 01:55:53 +02:00
Hannes Janetzek
f2f93d180b add option for text priorities 2013-10-09 01:55:53 +02:00
Hannes Janetzek
a362201ba0 move themes from 'osmarender' to 'styles' 2013-10-09 01:55:52 +02:00
Hannes Janetzek
3b67e4a3d1 use dpi for label size 2013-10-09 01:55:52 +02:00
Hannes Janetzek
9610555663 show other landuse above tourism:zoo 2013-10-09 01:55:52 +02:00
Hannes Janetzek
f2b7a9fdf8 formatting 2013-10-09 01:55:52 +02:00
Hannes Janetzek
303e0cb4ce fix RenderTheme spec to match what is actually parsed 2013-10-09 01:55:52 +02:00
Hannes Janetzek
373d45e008 building color 2013-10-09 01:55:51 +02:00