54 Commits

Author SHA1 Message Date
Hannes Janetzek
a660048bcb gdx: simplify sub-classing GdxMap apps, add createLayers() 2013-11-23 21:10:19 +01:00
Hannes Janetzek
876b8b6d37 refactor: IRenderCallback -> IRenderTheme.Callback
- more consistent function names
2013-11-23 21:10:19 +01:00
Hannes Janetzek
4e01de31f7 some event mechanism 2013-11-23 21:10:18 +01:00
Hannes Janetzek
67a3cbadf7 package/naming reorganization:
- RenderLayer -> LayerRenderer
  as this LayerRenderer just the rendering implementation of a Layer
  - not a 'layer' itself
- move renderer.sublayer.*Renderer into their respective *Layer classes
- move layers.labeling to layers.tile.vector.labeling
  (until there is a common labeling framework)
- remove layers.overlay
  - move Marker stuff to layers.marker
- merge TileRenderer into TileRenderLayer

- rename renderer.sublayers to renderer.elements
- move layers.tile.* to tiling package
- move tilesource.* to tiling.source

- rename oscim.view -> oscim.map
2013-11-23 21:09:30 +01:00
Hannes Janetzek
eb1e8b63c5 refactor: extract animation stuff from Viewport into MapAnimator 2013-10-09 02:38:01 +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
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
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
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
f82ee186d0 remove TileSource from GdxMap constructor 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
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
3d828c6206 cleanups 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
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
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
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
6fbd84a76f use v2 tile source 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
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
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
b2e8b97fde add source formatter 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