Commit Graph
100 Commits
Author SHA1 Message Date
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
Hannes Janetzek 54af3862c2 add emscripten compiled libtess 2013-10-09 01:56:10 +02:00
Hannes Janetzek ae2c930e90 move Triangle utility function to utils.geom package 2013-10-09 01:56:10 +02:00
Hannes Janetzek 5c1c634e85 gwt: get multitouch events 2013-10-09 01:56:10 +02:00
Hannes Janetzek 099ab0e817 use full window canvas and try to use the real size in pixel... 2013-10-09 01:56:10 +02:00
Hannes Janetzek c002b8a3c3 do not set align on Paint object - should be handled in TextLayer 2013-10-09 01:56:10 +02:00
Hannes Janetzek ce7c722c36 extruded buildings dont work atm 2013-10-09 01:56:10 +02:00
Hannes Janetzek b2e8b97fde add source formatter 2013-10-09 01:56:10 +02:00
Hannes Janetzek ea60d150e1 api changes 2013-10-09 01:56:10 +02:00
Hannes Janetzek dad16ea796 api changes 2013-10-09 01:56:10 +02:00
Hannes Janetzek 8661ac524b module needs gwt xml 2013-10-09 01:56:10 +02:00
Hannes Janetzek 0ec39059c8 use GwtCanvasAdapter 2013-10-09 01:56:10 +02:00
Hannes Janetzek 6f18e804e6 add async replacement for oscim UrlTileSource/TileLoader 2013-10-09 01:56:10 +02:00
Hannes Janetzek d7c412f74f need to tweak some libgdx classes 2013-10-09 01:56:10 +02:00
Hannes Janetzek 98057d9f73 Gwt wrapper 2013-10-09 01:56:10 +02:00
Hannes Janetzek c733c8f7dc java.net.URL mock 2013-10-09 01:56:10 +02:00
Hannes Janetzek dfcb49991c add DepthOffset + cleanups 2013-10-09 01:56:10 +02:00
Hannes Janetzek 7381c9b298 async loading 2013-10-09 01:56:10 +02:00
Hannes Janetzek 407e7126d6 moved to core 2013-10-09 01:56:10 +02:00
Hannes Janetzek ec03add2a6 wrap gwt DOM into SAX parser 2013-10-09 01:56:10 +02:00
Hannes Janetzek 0c0b376c1e added fling and animated zoom
- besides other stuff
2013-10-09 01:56:10 +02:00
Hannes Janetzek a018ccc851 re-enable baselayer utility setter 2013-10-09 01:56:09 +02:00
Hannes Janetzek c137a69dc5 for async loader (in html backend) 2013-10-09 01:56:09 +02:00
Hannes Janetzek e3a6f07e25 unused import 2013-10-09 01:56:09 +02:00