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