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
|
0b7edab572
|
fix debug renderer
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
76f762d862
|
hack--
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
45b8bf75de
|
cleanups
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
654ca7c5b8
|
merge updateVisibleList into updateMap
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
8d51c54318
|
share MapView with subclasses
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
cf1eb4ada5
|
extract compileTileLayers function
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
a1604b3b33
|
fix warning, cleanups
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
38e2ac110d
|
- use self-made fling
- add utilities from libgdx
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
a1fcac202c
|
unused function
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
f8f96c58cf
|
map file reader: add houseNr and ref tags back
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
77947ea1ac
|
rename BaseMap -> TileRenderer
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
f9be7f1cd8
|
rename libtriangle-jni.so -> libtriangle.so
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
3f4a8980a9
|
no need to 'flatten' projection anymore, depth test is only used for drawing clip rectangles
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
f440920a4b
|
cleanups
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
b0c02e0c56
|
use same quad indices in Texture- and LineTexRenderer
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
2538ed8eb7
|
start splitting up Triangle
removing non-library build and pre-ansi declarations
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
22441bf527
|
avoid copy - pin coordinate buffer for triangulation
|
2013-10-09 01:55:57 +02:00 |
|
Hannes Janetzek
|
f2bbc51558
|
no need to commit array
|
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
|
f262efee7f
|
Use native Matrix4 instead of float[16]
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
af80759dae
|
- add jni gl matrix utiles
- move Triangle jni to subdir
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
4f2daf69e9
|
dont scale markers when drawing to texture, TODO should be done in GL
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
e47594d2b8
|
decrease fling speed
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
05e979d90c
|
ignore++
|
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
|
eb5de85b17
|
add README
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
2b47b92771
|
more contrast for buildings
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
edd74160a1
|
fix bbox scale calculation
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
555a951d25
|
improve MapViewAnimation
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
064434896e
|
this marker is hdpi
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
8c0e2525ce
|
use ItemizedOverlay utility 'makeMarker'
set marker bounds only once
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
1a1345aa70
|
theme tweaks
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
1dbd30307b
|
cleanups + tweaks
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
6b39c95905
|
moving all animation to MapViewPostion,
- this also allows TileManager to predict next visible tiles
- got rid of zoom-level dependent scale
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
246fd40f7a
|
use PointF
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
c9f980b99b
|
fix projection, filter visible items by bbox
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
efaafce08c
|
use PointF instead of android int Point
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
f508ddc1ff
|
this--
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
5230aee091
|
avoid zoom-level relative calculation
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
c14d101aef
|
- allow bbox zoom to scale to MAX_END_SCALE
- use FastMath.clamp
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
2cb8a9d45f
|
keep a reference to MapView in Overlay
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
8bd4d8e4d9
|
fix Triangle debug output
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
cd54f0dfe6
|
begin integrating of area zoom interaction
|
2013-10-09 01:55:56 +02:00 |
|
Hannes Janetzek
|
b0c1f122fe
|
spring color theme
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
449b2b4709
|
- get rid of some osmdroid cruft
- move default marker to 'res'
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
ebcd923025
|
spring cleaning
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
179212affc
|
mapsforge file reader:
- add support for file version 3 back
- project POIs
- fix sync of shared Header and Index
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
c82026fa6e
|
dont add null value 'name' tags
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
65e4845fef
|
grow ExtrusionLayer compiler buffer if necessary
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
e05921efdd
|
make getStartPosition() public
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
9b54d81dab
|
mv TextOverlayExp to TextOverlay
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
e1ce1b056b
|
mapsforge should also produce implicitly clsed polys
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
615e91856f
|
MULTIPLIER > SCALE
|
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
|
82eb60e2a9
|
cleanups
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
fcc53630a6
|
cleanups + comments
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
97828c6f8b
|
shorter shader handle names
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
c0a08c11c8
|
rename COORD_MULTIPLIER to COORD_SCALE
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
b3b392bdb8
|
update comments
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
d322f9ac03
|
cleanups
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
654e666c81
|
mapsforge reader is halfway back to life
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
52a7518db9
|
cleanups
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
0e96747939
|
cleanups
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
ebd7453348
|
more tilt
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
722663c5f8
|
dont mess with which pointer is which.. just use index 0 and 1 in gestures
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
51d2a845a0
|
print Triangle errors, instead of exiting
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
68e7bf863d
|
update library version number
|
2013-10-09 01:55:55 +02:00 |
|
Hannes Janetzek
|
4d346ba2ae
|
set mCurLayer null on clear
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
b82cfbb95e
|
limit maximum scanlines to bbox
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
e53179eb7b
|
use linear filter for stipple texture
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
67529446a4
|
cleanups + notes
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
716fbccf36
|
add utility function to get tile by index
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
9733702655
|
theme tweaks
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
a581996f25
|
On options change set 'clearMap' flag instead of direct clearAndRedraw
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
ecedccb265
|
fix possible invalid vbo reads
- make sure there is an additional vertex for interleaving
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
b328d769a5
|
check gl errors, cleanups
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
00f1fe9438
|
cleanups
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
b440155e83
|
fix clamp parameter
|
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
|
3e42886097
|
add color saturation utility
|
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
|
f658b6fbcf
|
fix text AABB
|
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
|
a0083ae484
|
refactor 'checkOverlap', cleanups
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
836c6f39ab
|
add label debug option to app preferences
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
b43736a047
|
reuse Labels and OBB2Ds, cleanups
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
5f0779bf86
|
when 'index' is null assume line has length of points array
|
2013-10-09 01:55:54 +02:00 |
|
Hannes Janetzek
|
0609639ef3
|
docs + cleanups
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
c1643850ce
|
no need to multiply extrusion scale factor in shader
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
45bb326258
|
update copyright
|
2013-10-09 01:55:53 +02:00 |
|
Hannes Janetzek
|
1af037d783
|
fix: release textures
|
2013-10-09 01:55:53 +02:00 |
|