876 Commits

Author SHA1 Message Date
Hannes Janetzek
4e01de31f7 some event mechanism 2013-11-23 21:10:18 +01:00
Hannes Janetzek
5389f59df0 jni: use double coordinates in Triangle. try to return safely when internal error occured 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
c6eedc4df7 eclipse: link relative assets path 2013-10-09 02:38:01 +02:00
Hannes Janetzek
7c0e1540cb RenderTheme: ignore missing symbol atlas for now. formatting 2013-10-09 02:38:01 +02:00
Hannes Janetzek
d05c4ad0d1 return null when asset cannot be read 2013-10-09 02:38:01 +02:00
Hannes Janetzek
6f2f74089b theme: start porting osmarender theme 2013-10-09 02:38:01 +02:00
Hannes Janetzek
e43545eec9 html: fix
- maybe some 'dependency injection' might help here
  behaviour of static vars is kind of nasty with GWT
2013-10-09 02:38:01 +02:00
Hannes Janetzek
3eca8ee8b4 remove orphaned classes 2013-10-09 02:38:01 +02:00
Hannes Janetzek
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
2013-10-09 02:38:01 +02:00
Hannes Janetzek
eb1e8b63c5 refactor: extract animation stuff from Viewport into MapAnimator 2013-10-09 02:38:01 +02:00
Hannes Janetzek
51c2c5d62a optimize: inline temporary variable in shader 2013-10-09 02:38:01 +02:00
Hannes Janetzek
2474fe621b ITileCache: remove setStoragePath from API 2013-10-09 02:38:01 +02:00
Hannes Janetzek
6fbfeb2848 refactor: change Layer.destroy to Layer.onDetach 2013-10-09 02:38:01 +02:00
Hannes Janetzek
d397624fdc refactor: PointD -> Point, remove PointF 2013-10-09 02:38:00 +02:00
Hannes Janetzek
e203f2916d cleanup and formatting jars_removed 2013-10-09 02:38:00 +02:00
Hannes Janetzek
819189b706 refactor: rename variable 2013-10-09 02:38:00 +02:00
Hannes Janetzek
fba6f44f30 cleanup + formatting 2013-10-09 02:38:00 +02:00
Hannes Janetzek
f26cc5b062 theme: formatting 2013-10-09 02:38:00 +02:00
Hannes Janetzek
ae3b8bdba0 android: classpath 2013-10-09 02:38:00 +02:00
Hannes Janetzek
85a23a5b8a add TileCache interface 2013-10-09 02:38:00 +02:00
Hannes Janetzek
67543ec73c add closeQuietly for OutputStream
GWT Input/OutputStream does not implement Closeable interface ...
2013-10-09 02:38:00 +02:00
Hannes Janetzek
061782e92d fix: clear static GLRenderer.BufferPool on init
fix: clear static BufferObject pool on init
- fixes garbage buffers when restarting android app
2013-10-09 02:38:00 +02:00
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