0aa7818731
API change: RenderLayer - use setReady(bool) instead of public field - no more implicit call to compile() when 'newData' is true -> call compile() when needed - make RenderLayer function protected
Hannes Janetzek
2013-09-11 00:31:28 +02:00
eb1e8b63c5
refactor: extract animation stuff from Viewport into MapAnimator
Hannes Janetzek
2013-09-10 23:30:51 +02:00
51c2c5d62a
optimize: inline temporary variable in shader
Hannes Janetzek
2013-09-10 18:02:06 +02:00
2474fe621b
ITileCache: remove setStoragePath from API
Hannes Janetzek
2013-09-10 18:01:15 +02:00
6fbfeb2848
refactor: change Layer.destroy to Layer.onDetach
Hannes Janetzek
2013-09-10 18:00:14 +02:00
d397624fdc
refactor: PointD -> Point, remove PointF
Hannes Janetzek
2013-09-10 17:56:28 +02:00
8c9eaaea96
fix Exception when tile url is a 404
Hannes Janetzek
2013-08-10 11:17:48 +02:00
69fe006725
add method to set PathOverlay points from GeometryBuffer
Hannes Janetzek
2013-08-10 11:16:41 +02:00
d0e34a7886
cleanups
Hannes Janetzek
2013-08-10 11:14:27 +02:00
4ce228bdf2
add textScale global to CanvasAdapter - should replace 'dpi'
Hannes Janetzek
2013-08-10 11:05:31 +02:00
a86abf2921
MapViewPosition: add method to animate zoom with pivot point - improve animation code - make scroll-wheel zoom use pointer position as pivot point
Hannes Janetzek
2013-08-10 11:04:28 +02:00
31e2f57b13
correct authors reference in copyright
Hannes Janetzek
2013-10-06 21:42:03 +02:00
dfec023e6e
html: - turn off libgdx load screen - block contextmenu - add osm attribution - read initial position from url hash - disable text stroke for firefox/linux (canvas2d is 10 times slower than chromium..)
Hannes Janetzek
2013-08-05 02:54:21 +02:00
05440542b9
add README
Hannes Janetzek
2013-08-04 18:02:53 +02:00
2aa2683581
add FadeStep for fading BitmapTileLayer depending on map scale add setAlpha method to TileRenderLayer to fade bitmap tiles
Hannes Janetzek
2013-08-03 04:15:44 +02:00
daf43858bb
fix AwtImage to texture data conversion
Hannes Janetzek
2013-08-04 14:42:22 +02:00
07d01762ea
use new tiles
Hannes Janetzek
2013-08-04 14:41:16 +02:00
fb6765ef0c
clear map after theme change
Hannes Janetzek
2013-08-04 14:40:10 +02:00
4eb9b9a3be
theme: use osm icons
Hannes Janetzek
2013-08-04 14:39:43 +02:00
de001b9dfa
tiles now served by mod_tile - need to patch it for other mime types than image/png
Hannes Janetzek
2013-08-04 14:38:44 +02:00
049751f05f
fix displaced caption labels - use 'dy' in label bounding box
Hannes Janetzek
2013-08-04 14:37:45 +02:00
80624a5d06
fix draw label-only tiles (set MapTile state ready when there are no baselayer items)
Hannes Janetzek
2013-08-04 14:35:31 +02:00
f55ed24926
only show label symbol when label is also visible
Hannes Janetzek
2013-08-04 14:33:25 +02:00
f82ee186d0
remove TileSource from GdxMap constructor
Hannes Janetzek
2013-08-04 14:32:39 +02:00
b433ca6dff
- use TextureItem.bind()/.upload() - keep track of which texture is bound in GLState - add workaround for issue with line-distance-texture on desktop
Hannes Janetzek
2013-08-04 14:27:38 +02:00
29b70ecf5b
use AsyncTask for labeling task
Hannes Janetzek
2013-07-26 23:36:22 +02:00
5b16f6b085
borrow AsyncTask stuff from libgdx - for html backend async tasks are just put on Queue and run on next main-loop iteration
Hannes Janetzek
2013-07-26 23:35:05 +02:00
8787ac7b48
add comment
Hannes Janetzek
2013-07-26 03:15:54 +02:00
2926b340c4
fix invalid textures on resume
Hannes Janetzek
2013-07-26 03:14:55 +02:00
43e9c6ebd9
refactor: --dup code
Hannes Janetzek
2013-07-26 03:13:59 +02:00
23a26eb18c
add MapView.post(Runnable)
Hannes Janetzek
2013-07-26 03:12:56 +02:00
7ca6ae05b4
android: implement GLAdapter - remove the Gdx implementation
Hannes Janetzek
2013-07-26 02:32:23 +02:00
136db862d2
refactor: make MapView abstract, remove MapRenderCallback
Hannes Janetzek
2013-07-26 00:56:17 +02:00
3ab9751128
html: improve text rendering
Hannes Janetzek
2013-07-26 01:00:25 +02:00
e3dccea307
html: set start position in mapconfig
Hannes Janetzek
2013-07-26 00:59:45 +02:00
cedb269e15
html: build for all browsers
Hannes Janetzek
2013-07-26 00:56:56 +02:00
1ce6359d7a
html: enable std derivatives, seems not to be default with 'experimental-webgl' context
Hannes Janetzek
2013-07-25 22:36:21 +02:00
406106e482
html: premultiplied textures, please - fixes ugly text rendering
Hannes Janetzek
2013-07-25 22:29:42 +02:00
a6994913be
fix WKBReader
Hannes Janetzek
2013-07-24 05:06:07 +02:00
1481f4b508
GLRenderer, add function to set clear color
Hannes Janetzek
2013-07-24 01:40:39 +02:00
9043188f94
add method to create Text RenderInstruction - really need to switch to Builders..
Hannes Janetzek
2013-07-24 01:38:54 +02:00
440ab0e3cc
desktop: improve text rendering
Hannes Janetzek
2013-07-24 01:36:58 +02:00
7ade22d917
fix for non-ARGB AWT bitmap
Hannes Janetzek
2013-07-23 21:43:31 +02:00
3d828c6206
cleanups
Hannes Janetzek
2013-07-23 21:40:51 +02:00
1614c81a6d
remove redundant null test
Hannes Janetzek
2013-07-23 21:40:33 +02:00
5e9b517f50
extract ThemeLoader from MapTileLayer
Hannes Janetzek
2013-07-23 21:39:40 +02:00
e29c36d6e7
TileManager, pass params for min/max zoom-level and cache size in constructor
Hannes Janetzek
2013-07-23 21:36:43 +02:00
419c83e88d
add Stamen water- and hillshade bitmat tile source
Hannes Janetzek
2013-07-23 21:33:03 +02:00
b2585b1386
shade height of buildings
Hannes Janetzek
2013-07-15 16:40:40 +02:00
ab6ab2ec57
fix classpath
Hannes Janetzek
2013-07-15 14:17:12 +02:00
093744d2b1
fix asset location
Hannes Janetzek
2013-07-15 14:16:21 +02:00
244e52118d
themeable area textures
Hannes Janetzek
2013-07-15 14:15:31 +02:00
23b602fcca
workaround for html backend - InputStream emu does not implement Closable
Hannes Janetzek
2013-07-10 12:05:46 +02:00
2965dbcaeb
building layer fade animation
Hannes Janetzek
2013-07-10 12:04:18 +02:00
98aa29104f
cleanups
Hannes Janetzek
2013-07-08 11:50:03 +02:00
e3f12c3c2c
themes tweaks
Hannes Janetzek
2013-07-08 11:49:50 +02:00
632ef15dc4
add 'reloadTheme' method
Hannes Janetzek
2013-07-08 11:49:18 +02:00
7229d8d596
move fling gesture detector to MapEventLayer
Hannes Janetzek
2013-07-08 11:48:35 +02:00
4d9d678669
ignore++
Hannes Janetzek
2013-07-04 07:04:15 +02:00
90ef5c26e9
html: tessellate, only use triangle indices
Hannes Janetzek
2013-07-04 07:02:09 +02:00
aea7cf2a5f
desktop: use oscimap2
Hannes Janetzek
2013-07-04 06:59:16 +02:00
26046063eb
html: use oscimap2, disable default context-menu
Hannes Janetzek
2013-07-04 06:57:28 +02:00
f6961d0805
project settings..
Hannes Janetzek
2013-07-04 06:56:48 +02:00
e33939daa9
theme
Hannes Janetzek
2013-07-04 06:54:57 +02:00
0a4ba784d4
update libraries
Hannes Janetzek
2013-07-04 06:53:43 +02:00
d7af6c76a6
update libgdx overriden classes
Hannes Janetzek
2013-07-04 06:47:16 +02:00
a4bab81cfd
ocimap4: more key
Hannes Janetzek
2013-07-03 14:19:21 +02:00
3f63cc95bb
enable experimental tile textures
Hannes Janetzek
2013-07-03 14:19:09 +02:00
be49146da5
formatter
Hannes Janetzek
2013-07-03 14:13:05 +02:00
6fbd84a76f
use v2 tile source
Hannes Janetzek
2013-07-03 03:24:34 +02:00