129a780c41
- more work on generic pools - generic inlist
Hannes Janetzek
2013-04-10 01:56:38 +02:00
ab56cc4b18
pooled items now extend pool.Inlist and using generic pool.SyncPool
Hannes Janetzek
2013-04-09 23:06:06 +02:00
5f37f2f0de
fix mapsforge data source
Hannes Janetzek
2013-04-08 18:48:58 +02:00
29c3f42043
fix concurrency bug: use a copy of RenderOverlays
Hannes Janetzek
2013-04-08 18:07:14 +02:00
0e62d375dd
update README
Hannes Janetzek
2013-04-08 18:04:24 +02:00
ae4cb24b32
formatting
Hannes Janetzek
2013-04-08 03:09:21 +02:00
0ad8e70b97
brighter buildings
Hannes Janetzek
2013-04-08 03:09:11 +02:00
eaaf77263c
preload more tile
Hannes Janetzek
2013-04-08 03:08:09 +02:00
0043e8be78
cleanups
Hannes Janetzek
2013-04-08 03:07:57 +02:00
7145b067a0
fix wrap, if needed. this was wrong
Hannes Janetzek
2013-04-08 03:07:37 +02:00
5d08d13b51
on animateTo also rotate to bbox
Hannes Janetzek
2013-04-08 03:07:02 +02:00
76c3e71ae4
moved to backup
Hannes Janetzek
2013-04-07 16:00:45 +02:00
b8b09f9455
theme: brighter swimming pool
Hannes Janetzek
2013-04-07 16:00:36 +02:00
491e41becc
rename Tile.TILE_SIZE to Tile.SIZE, while I'm at refactoring
Hannes Janetzek
2013-04-07 15:59:57 +02:00
8e01dce85e
-use absolute x/y position and scale in MapPosition - scale calculations look much nicer now, better always use 'double' unless you are sure about precision required - finally got rid of zoomLevel relative coordinates - cleanup MapPosition and MercatorProjection API functions
Hannes Janetzek
2013-04-07 15:58:45 +02:00
a6a729244f
added MapLensOverlay
Hannes Janetzek
2013-04-06 17:44:57 +02:00
eac8047527
tile overlay experiments II
Hannes Janetzek
2013-04-06 13:54:41 +02:00
a87a1b761c
testing tile overlay
Hannes Janetzek
2013-04-02 16:29:00 +02:00
67e79d98b2
theme: fix water:stream width
Hannes Janetzek
2013-04-07 16:13:33 +02:00
d3c31199f1
adapt building height to ground resolution
Hannes Janetzek
2013-04-03 14:35:24 +02:00
1d2fea48cc
5cm height step should suffice
Hannes Janetzek
2013-04-03 02:11:44 +02:00
118c74e810
use building heigh in cm. TODO need to match ground resolution
Hannes Janetzek
2013-04-03 01:06:58 +02:00
c280bbaf50
workaround issue with clipped tiles when scale is greater 2 on zoom-level 17
Hannes Janetzek
2013-04-03 01:05:51 +02:00
93a723af3c
refactor scale/translate of screen to map coordinates for tile visibility calulation cleanups
Hannes Janetzek
2013-04-02 23:24:52 +02:00
bac46ac6e2
make building height consistent, at least independent of aspect ratio
Hannes Janetzek
2013-04-02 20:38:23 +02:00
b7ca00ae8f
use WayData container to pass geometry and tags to TileGenerator
Hannes Janetzek
2013-04-02 11:21:13 +02:00
bef8e125fb
MapPosition: use int to represent zoomLevel add MapPosition.setFromLatLon utility
Hannes Janetzek
2013-03-26 07:15:15 +01:00
a818e2f062
use MapPosition.copy(other)
Hannes Janetzek
2013-03-26 06:40:49 +01:00
72741ced7f
smoother fling
Hannes Janetzek
2013-03-25 07:10:00 +01:00
8c8750a833
add GeometryBuffer class to pass data from MapDatabase to TileGenerator
Hannes Janetzek
2013-03-19 00:40:12 +01:00
64da69e5cf
fix for RenderTheme commit
Hannes Janetzek
2013-03-18 14:05:43 +01:00
93a4910fb5
theme tweaks
Hannes Janetzek
2013-03-18 05:11:25 +01:00
a6063997db
make RenderTheme only return render instruction - i.e. dont pass render callback
Hannes Janetzek
2013-03-18 05:10:24 +01:00
0b7edab572
fix debug renderer
Hannes Janetzek
2013-03-18 03:55:23 +01:00
76f762d862
hack--
Hannes Janetzek
2013-03-18 03:55:04 +01:00
45b8bf75de
cleanups
Hannes Janetzek
2013-03-18 03:53:30 +01:00
654ca7c5b8
merge updateVisibleList into updateMap
Hannes Janetzek
2013-03-18 03:52:02 +01:00
8d51c54318
share MapView with subclasses
Hannes Janetzek
2013-03-18 03:51:08 +01:00
cf1eb4ada5
extract compileTileLayers function
Hannes Janetzek
2013-03-18 03:50:37 +01:00
a1604b3b33
fix warning, cleanups
Hannes Janetzek
2013-03-18 03:49:04 +01:00
38e2ac110d
- use self-made fling - add utilities from libgdx
Hannes Janetzek
2013-03-18 03:48:31 +01:00
a1fcac202c
unused function
Hannes Janetzek
2013-03-18 03:47:06 +01:00
f8f96c58cf
map file reader: add houseNr and ref tags back
Hannes Janetzek
2013-03-17 03:49:16 +01:00
77947ea1ac
rename BaseMap -> TileRenderer
Hannes Janetzek
2013-03-16 21:04:11 +01:00
f9be7f1cd8
rename libtriangle-jni.so -> libtriangle.so
Hannes Janetzek
2013-03-16 20:59:37 +01:00
3f4a8980a9
no need to 'flatten' projection anymore, depth test is only used for drawing clip rectangles
Hannes Janetzek
2013-03-16 20:58:33 +01:00
f440920a4b
cleanups
Hannes Janetzek
2013-03-16 20:55:21 +01:00
b0c02e0c56
use same quad indices in Texture- and LineTexRenderer
Hannes Janetzek
2013-03-16 07:46:51 +01:00
2538ed8eb7
start splitting up Triangle removing non-library build and pre-ansi declarations
Hannes Janetzek
2013-03-16 07:40:19 +01:00
22441bf527
avoid copy - pin coordinate buffer for triangulation
Hannes Janetzek
2013-03-16 03:56:17 +01:00
f2bbc51558
no need to commit array
Hannes Janetzek
2013-03-16 03:37:49 +01:00
3e6ac7d5d4
add and use utility to set Int color as uniform
Hannes Janetzek
2013-03-16 01:35:41 +01:00
f262efee7f
Use native Matrix4 instead of float[16]
Hannes Janetzek
2013-03-15 15:27:04 +01:00
af80759dae
- add jni gl matrix utiles - move Triangle jni to subdir
Hannes Janetzek
2013-03-15 05:28:17 +01:00
4f2daf69e9
dont scale markers when drawing to texture, TODO should be done in GL
Hannes Janetzek
2013-03-14 11:33:14 +01:00
e47594d2b8
decrease fling speed
Hannes Janetzek
2013-03-14 11:32:04 +01:00
05e979d90c
ignore++
Hannes Janetzek
2013-03-14 11:31:21 +01:00
78d44dc985
move amenity areas below natural/landuse/leisure, showing parks in hospitals etc
Hannes Janetzek
2013-03-14 11:30:18 +01:00
eb5de85b17
add README
Hannes Janetzek
2013-03-13 19:57:31 +01:00
2b47b92771
more contrast for buildings
Hannes Janetzek
2013-03-13 18:46:02 +01:00
edd74160a1
fix bbox scale calculation
Hannes Janetzek
2013-03-13 18:45:48 +01:00
555a951d25
improve MapViewAnimation
Hannes Janetzek
2013-03-13 15:26:53 +01:00
064434896e
this marker is hdpi
Hannes Janetzek
2013-03-13 13:50:01 +01:00
8c0e2525ce
use ItemizedOverlay utility 'makeMarker' set marker bounds only once
Hannes Janetzek
2013-03-13 13:47:59 +01:00
1a1345aa70
theme tweaks
Hannes Janetzek
2013-03-13 03:01:59 +01:00
1dbd30307b
cleanups + tweaks
Hannes Janetzek
2013-03-13 03:01:49 +01:00
6b39c95905
moving all animation to MapViewPostion, - this also allows TileManager to predict next visible tiles - got rid of zoom-level dependent scale
Hannes Janetzek
2013-03-13 03:01:37 +01:00
246fd40f7a
use PointF
Hannes Janetzek
2013-03-13 02:59:25 +01:00
c9f980b99b
fix projection, filter visible items by bbox
Hannes Janetzek
2013-03-13 02:58:59 +01:00
efaafce08c
use PointF instead of android int Point
Hannes Janetzek
2013-03-13 02:57:37 +01:00
f508ddc1ff
this--
Hannes Janetzek
2013-03-13 02:52:39 +01:00
5230aee091
avoid zoom-level relative calculation
Hannes Janetzek
2013-03-12 16:07:19 +01:00
c14d101aef
- allow bbox zoom to scale to MAX_END_SCALE - use FastMath.clamp
Hannes Janetzek
2013-03-11 18:54:11 +01:00
2cb8a9d45f
keep a reference to MapView in Overlay
Hannes Janetzek
2013-03-11 17:14:12 +01:00
8bd4d8e4d9
fix Triangle debug output
Hannes Janetzek
2013-03-11 16:13:30 +01:00
cd54f0dfe6
begin integrating of area zoom interaction
Hannes Janetzek
2013-03-11 16:11:50 +01:00
b0c1f122fe
spring color theme
Hannes Janetzek
2013-03-11 02:23:42 +01:00
449b2b4709
- get rid of some osmdroid cruft - move default marker to 'res'
Hannes Janetzek
2013-03-11 02:22:46 +01:00
ebcd923025
spring cleaning
Hannes Janetzek
2013-03-11 02:19:10 +01:00
179212affc
mapsforge file reader: - add support for file version 3 back - project POIs - fix sync of shared Header and Index
Hannes Janetzek
2013-03-09 16:32:56 +01:00
c82026fa6e
dont add null value 'name' tags
Hannes Janetzek
2013-03-09 16:31:29 +01:00
65e4845fef
grow ExtrusionLayer compiler buffer if necessary
Hannes Janetzek
2013-03-09 16:30:56 +01:00
e05921efdd
make getStartPosition() public
Hannes Janetzek
2013-03-09 16:30:23 +01:00
9b54d81dab
mv TextOverlayExp to TextOverlay
Hannes Janetzek
2013-03-09 13:31:10 +01:00
e1ce1b056b
mapsforge should also produce implicitly clsed polys
Hannes Janetzek
2013-03-09 12:30:42 +01:00
615e91856f
MULTIPLIER > SCALE
Hannes Janetzek
2013-03-09 12:29:42 +01:00
2c48530ce1
fix rule cache tag comparison with previous item
Hannes Janetzek
2013-03-09 12:29:21 +01:00
82eb60e2a9
cleanups
Hannes Janetzek
2013-03-09 12:26:41 +01:00
fcc53630a6
cleanups + comments
Hannes Janetzek
2013-03-09 12:26:28 +01:00
97828c6f8b
shorter shader handle names
Hannes Janetzek
2013-03-09 12:26:07 +01:00
c0a08c11c8
rename COORD_MULTIPLIER to COORD_SCALE
Hannes Janetzek
2013-03-09 12:25:09 +01:00
b3b392bdb8
update comments
Hannes Janetzek
2013-03-09 12:23:18 +01:00
d322f9ac03
cleanups
Hannes Janetzek
2013-03-09 12:23:01 +01:00
654e666c81
mapsforge reader is halfway back to life
Hannes Janetzek
2013-03-09 12:22:26 +01:00
52a7518db9
cleanups
Hannes Janetzek
2013-03-09 12:18:13 +01:00
0e96747939
cleanups
Hannes Janetzek
2013-03-09 12:17:20 +01:00
ebd7453348
more tilt
Hannes Janetzek
2013-03-09 12:16:41 +01:00
722663c5f8
dont mess with which pointer is which.. just use index 0 and 1 in gestures
Hannes Janetzek
2013-03-09 12:15:59 +01:00
51d2a845a0
print Triangle errors, instead of exiting
Hannes Janetzek
2013-03-09 12:13:44 +01:00
68e7bf863d
update library version number
Hannes Janetzek
2013-03-09 11:55:42 +01:00