Hannes Janetzek
eee41e093c
refactor: move AndroidGLRenderer into GLView
...
- remove unused class
2013-10-09 02:38:00 +02:00
Hannes Janetzek
4bc048dba2
refactor: rename LayerManager -> Layers
2013-10-09 02:38:00 +02:00
Hannes Janetzek
870363bf2f
refactor: rename MapView -> Map, MapViewPosition -> Viewport
2013-10-09 02:38:00 +02:00
Hannes Janetzek
07db32f394
refactor: RenderLayer does not need to hold reference to MapView
2013-10-09 02:38:00 +02:00
Hannes Janetzek
9f5a89b610
html: handle text theme text properties
2013-10-09 02:38:00 +02:00
Hannes Janetzek
422e70b4a3
html: use chrome theme
2013-10-09 02:38:00 +02:00
Hannes Janetzek
f91192a044
theme tweaks
2013-10-09 02:38:00 +02:00
Hannes Janetzek
28a6954f23
change right-button to camera perspective, middle-button to 'scale'
2013-10-09 02:38:00 +02:00
Hannes Janetzek
6247cf00a3
html: override rightclick contextmenu
2013-10-09 02:38:00 +02:00
Hannes Janetzek
6dfd180cb9
html: add SearchBox for nominatim
...
- add simple WKT parser
- extract GwtLaucher inner classes
2013-10-09 02:38:00 +02:00
Hannes Janetzek
8c9eaaea96
fix Exception when tile url is a 404
2013-10-09 02:38:00 +02:00
Hannes Janetzek
69fe006725
add method to set PathOverlay points from GeometryBuffer
2013-10-09 02:38:00 +02:00
Hannes Janetzek
d0e34a7886
cleanups
2013-10-09 02:38:00 +02:00
Hannes Janetzek
4ce228bdf2
add textScale global to CanvasAdapter - should replace 'dpi'
2013-10-09 02:38:00 +02:00
Hannes Janetzek
a86abf2921
MapViewPosition: add method to animate zoom with pivot point
...
- improve animation code
- make scroll-wheel zoom use pointer position as pivot point
2013-10-09 02:37:59 +02:00
Hannes Janetzek
31e2f57b13
correct authors reference in copyright
2013-10-09 02:37:59 +02:00
Hannes Janetzek
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..)
2013-10-09 02:37:59 +02:00
Hannes Janetzek
05440542b9
add README
2013-10-09 02:37:59 +02:00
Hannes Janetzek
2aa2683581
add FadeStep for fading BitmapTileLayer depending on map scale
...
add setAlpha method to TileRenderLayer to fade bitmap tiles
2013-10-09 01:56:13 +02:00
Hannes Janetzek
daf43858bb
fix AwtImage to texture data conversion
2013-10-09 01:56:13 +02:00
Hannes Janetzek
07d01762ea
use new tiles
2013-10-09 01:56:13 +02:00
Hannes Janetzek
fb6765ef0c
clear map after theme change
2013-10-09 01:56:13 +02:00
Hannes Janetzek
4eb9b9a3be
theme: use osm icons
2013-10-09 01:56:13 +02:00
Hannes Janetzek
de001b9dfa
tiles now served by mod_tile - need to patch it for other mime types than image/png
2013-10-09 01:56:13 +02:00
Hannes Janetzek
049751f05f
fix displaced caption labels
...
- use 'dy' in label bounding box
2013-10-09 01:56:13 +02:00
Hannes Janetzek
80624a5d06
fix draw label-only tiles (set MapTile state ready when there are no baselayer items)
2013-10-09 01:56:13 +02:00
Hannes Janetzek
f55ed24926
only show label symbol when label is also visible
2013-10-09 01:56:13 +02:00
Hannes Janetzek
f82ee186d0
remove TileSource from GdxMap constructor
2013-10-09 01:56:13 +02:00
Hannes Janetzek
b433ca6dff
- use TextureItem.bind()/.upload()
...
- keep track of which texture is bound in GLState
- add workaround for issue with line-distance-texture on desktop
2013-10-09 01:56:13 +02:00
Hannes Janetzek
29b70ecf5b
use AsyncTask for labeling task
2013-10-09 01:56:13 +02:00
Hannes Janetzek
5b16f6b085
borrow AsyncTask stuff from libgdx
...
- for html backend async tasks are just put on Queue and run on next main-loop iteration
2013-10-09 01:56:13 +02:00
Hannes Janetzek
8787ac7b48
add comment
2013-10-09 01:56:13 +02:00
Hannes Janetzek
2926b340c4
fix invalid textures on resume
2013-10-09 01:56:13 +02:00
Hannes Janetzek
43e9c6ebd9
refactor: --dup code
2013-10-09 01:56:13 +02:00
Hannes Janetzek
23a26eb18c
add MapView.post(Runnable)
2013-10-09 01:56:13 +02:00
Hannes Janetzek
7ca6ae05b4
android: implement GLAdapter
...
- remove the Gdx implementation
2013-10-09 01:56:13 +02:00
Hannes Janetzek
136db862d2
refactor: make MapView abstract, remove MapRenderCallback
2013-10-09 01:56:13 +02:00
Hannes Janetzek
3ab9751128
html: improve text rendering
2013-10-09 01:56:13 +02:00
Hannes Janetzek
e3dccea307
html: set start position in mapconfig
2013-10-09 01:56:13 +02:00
Hannes Janetzek
cedb269e15
html: build for all browsers
2013-10-09 01:56:13 +02:00
Hannes Janetzek
1ce6359d7a
html: enable std derivatives, seems not to be default with 'experimental-webgl' context
2013-10-09 01:56:13 +02:00
Hannes Janetzek
406106e482
html: premultiplied textures, please
...
- fixes ugly text rendering
2013-10-09 01:56:13 +02:00
Hannes Janetzek
a6994913be
fix WKBReader
2013-10-09 01:56:12 +02:00
Hannes Janetzek
1481f4b508
GLRenderer, add function to set clear color
2013-10-09 01:56:12 +02:00
Hannes Janetzek
9043188f94
add method to create Text RenderInstruction - really need to switch to Builders..
2013-10-09 01:56:12 +02:00
Hannes Janetzek
440ab0e3cc
desktop: improve text rendering
2013-10-09 01:56:12 +02:00
Hannes Janetzek
7ade22d917
fix for non-ARGB AWT bitmap
2013-10-09 01:56:12 +02:00
Hannes Janetzek
3d828c6206
cleanups
2013-10-09 01:56:12 +02:00
Hannes Janetzek
1614c81a6d
remove redundant null test
2013-10-09 01:56:12 +02:00
Hannes Janetzek
5e9b517f50
extract ThemeLoader from MapTileLayer
2013-10-09 01:56:12 +02:00
Hannes Janetzek
e29c36d6e7
TileManager, pass params for min/max zoom-level and cache size in constructor
2013-10-09 01:56:12 +02:00
Hannes Janetzek
419c83e88d
add Stamen water- and hillshade bitmat tile source
2013-10-09 01:56:12 +02:00
Hannes Janetzek
b2585b1386
shade height of buildings
2013-10-09 01:56:12 +02:00
Hannes Janetzek
ab6ab2ec57
fix classpath
2013-10-09 01:56:12 +02:00
Hannes Janetzek
093744d2b1
fix asset location
2013-10-09 01:56:12 +02:00
Hannes Janetzek
244e52118d
themeable area textures
2013-10-09 01:56:12 +02:00
Hannes Janetzek
23b602fcca
workaround for html backend - InputStream emu does not implement Closable
2013-10-09 01:56:12 +02:00
Hannes Janetzek
2965dbcaeb
building layer fade animation
2013-10-09 01:56:12 +02:00
Hannes Janetzek
98aa29104f
cleanups
2013-10-09 01:56:12 +02:00
Hannes Janetzek
e3f12c3c2c
themes tweaks
2013-10-09 01:56:12 +02:00
Hannes Janetzek
632ef15dc4
add 'reloadTheme' method
2013-10-09 01:56:12 +02:00
Hannes Janetzek
7229d8d596
move fling gesture detector to MapEventLayer
2013-10-09 01:56:12 +02:00
Hannes Janetzek
4d9d678669
ignore++
2013-10-09 01:56:12 +02:00
Hannes Janetzek
90ef5c26e9
html: tessellate, only use triangle indices
2013-10-09 01:56:12 +02:00
Hannes Janetzek
aea7cf2a5f
desktop: use oscimap2
2013-10-09 01:56:12 +02:00
Hannes Janetzek
26046063eb
html: use oscimap2, disable default context-menu
2013-10-09 01:56:12 +02:00
Hannes Janetzek
f6961d0805
project settings..
2013-10-09 01:56:12 +02:00
Hannes Janetzek
e33939daa9
theme
2013-10-09 01:56:12 +02:00
Hannes Janetzek
0a4ba784d4
update libraries
2013-10-09 01:56:12 +02:00
Hannes Janetzek
d7af6c76a6
update libgdx overriden classes
2013-10-09 01:56:11 +02:00
Hannes Janetzek
a4bab81cfd
ocimap4: more key
2013-10-09 01:56:11 +02:00
Hannes Janetzek
3f63cc95bb
enable experimental tile textures
2013-10-09 01:56:11 +02:00
Hannes Janetzek
be49146da5
formatter
2013-10-09 01:56:11 +02:00
Hannes Janetzek
6fbd84a76f
use v2 tile source
2013-10-09 01:56:11 +02:00
Hannes Janetzek
9408e92d5d
share MapView, allow sub-classing GdxMap
2013-10-09 01:56:11 +02:00
Hannes Janetzek
b416aa09a2
add android example project
2013-10-09 01:56:11 +02:00
Hannes Janetzek
dd757a1b95
infinite loop on stop: this was wrong.. not sure about the right solution
2013-10-09 01:56:11 +02:00
Hannes Janetzek
4993cf469d
android: align text in TextLayer
2013-10-09 01:56:11 +02:00
Hannes Janetzek
9cb2c8cca7
android: use new jni lib
2013-10-09 01:56:11 +02:00
Hannes Janetzek
1be3d27ebe
android: project properties
2013-10-09 01:56:11 +02:00
Hannes Janetzek
d943933416
remove duplicate jni stuff from gdx-android
2013-10-09 01:56:11 +02:00
Hannes Janetzek
75e4d36945
gdx: pass TileSource to GdxMap constructor
2013-10-09 01:56:11 +02:00
Hannes Janetzek
a35abdb2cf
html: configure TileSource
2013-10-09 01:56:11 +02:00
Hannes Janetzek
1ab86f5ba8
gdx: pass TileSource to GdxMap constructor
2013-10-09 01:56:11 +02:00
Hannes Janetzek
03d2bad695
html: smaller default font
2013-10-09 01:56:11 +02:00
Hannes Janetzek
9fbc5b3e8c
html: only use path from URL - no cross handling for now
2013-10-09 01:56:11 +02:00
Hannes Janetzek
7d225aabba
html: GwtApplication cleanup + formatting
2013-10-09 01:56:11 +02:00
Hannes Janetzek
ead0594d81
desktop: fix awt bitmap to texture
2013-10-09 01:56:11 +02:00
Hannes Janetzek
d87376353c
android: project properties
2013-10-09 01:56:11 +02:00
Hannes Janetzek
f5ef7a97ef
theme: smaller point symbols
2013-10-09 01:56:11 +02:00
Hannes Janetzek
20293a8db4
theme: no *opaque* national_park overlay
2013-10-09 01:56:11 +02:00
Hannes Janetzek
5e4095dddb
cleanup: remove files
2013-10-09 01:56:11 +02:00
Hannes Janetzek
175f6d84d1
high precision float for text shader
2013-10-09 01:56:11 +02:00
Hannes Janetzek
041d988d88
+ setBackgroundMap
2013-10-09 01:56:10 +02:00
Hannes Janetzek
37781cad78
- changed abstract SyncPool.clearItem() to return whether item should be put back to pool
...
- fix leak in TextureItem
2013-10-09 01:56:10 +02:00
Hannes Janetzek
ae951dc4bd
use fallback when std_derivative shaders failed to compile
2013-10-09 01:56:10 +02:00
Hannes Janetzek
77721db328
use std_derivatives line shader again
2013-10-09 01:56:10 +02:00
Hannes Janetzek
4d8cf0e62e
preliminary multi-touch gestures for gdx
2013-10-09 01:56:10 +02:00
Hannes Janetzek
f9623e9f22
enable building rendering again
2013-10-09 01:56:10 +02:00
Hannes Janetzek
d830e49510
ExtrusionLayer utility for libtess
2013-10-09 01:56:10 +02:00