Commit Graph
88 Commits
Author SHA1 Message Date
Emux 05184e7f5f SVG symbols custom default size, closes #74 2016-07-18 19:21:34 +03:00
Emux a5679ce214 Bitmap.getPngEncodedData improvements, PR #71 2016-07-18 11:06:03 +03:00
Longri 44b40608f6 Bitmap: get png encoded data implementation 2016-07-18 11:06:03 +03:00
Emux fed2cd05e4 Render themes: SVG resources, closes #60 2016-07-16 21:42:42 +03:00
Emux 73bc26dd2d Render themes: read resources from files, besides assets, closes #65 2016-07-16 21:42:42 +03:00
Emux 43ca550832 Improve code / xml formatting, #54 2016-07-12 19:53:47 +03:00
Emux e793e8851b Improve code / xml formatting, closes #54 2016-07-09 19:45:23 +03:00
Emux 1bfd76c3da Improve various samples examples, #32 2016-06-22 22:25:14 +03:00
Emux b8d382a9f3 Android / AWT interfaces improvements, closes #7 2016-06-17 13:08:30 +03:00
Hannes Janetzek d492358a94 sync viewport 2015-06-18 00:13:43 +02:00
Hannes Janetzek b1cfdfd454 android: remove MapActivity
- see vtm-android-start for an example use of MapView
- add MapPreferences

- update android-start
- android-example: use appcompat actionbar
2015-06-18 00:09:27 +02:00
Hannes Janetzek 0c5a7e7aa6 android: refactor MapView
- merge AndroidMap + GLView into Mapview
- let MapView directly extends GLSurfaceView
2015-06-18 00:09:27 +02:00
Hannes Janetzek 8626aa2f53 api: no more sync'ed Viewport methods
- remove synchronized viewport methods: viewport MUST only be changed on main-thread
- when calling Map.setPosition() from another thread the position will be applied
  on the next main-loop iteration
2015-06-18 00:09:27 +02:00
Hannes Janetzek f4ffac44d2 gradle: update to 2.1 and android targetSdk 21
- add android-appcompat subproject
2014-10-24 21:38:47 +02:00
Hannes Janetzek fa62602826 Canvas: pass fill+stroke for drawing text 2014-10-10 19:58:14 +02:00
Hannes Janetzek 846d90f9fe nicer gl api
- java class name should suffice as namespace
- also use import static gl instance seems to work now with Gwt
2014-10-10 03:23:37 +02:00
Hannes Janetzek 03f6f96988 add option for non-billboard MarkerSymbols 2014-10-10 03:22:34 +02:00
Hannes Janetzek 7053cf8405 android: convert unsupported bitmap formats
- might fix png8 on older devices
2014-10-09 03:44:05 +02:00
Hannes Janetzek 8741357c9a GL20: fix parameter name indices -> offset 2014-09-20 01:31:06 +02:00
Hannes Janetzek 95c9f47e63 refactor: hide backend Adapter handles
- static methods for backend adapters
2014-09-11 21:00:26 +02:00
Hannes Janetzek 84968d201d android: use confirmed tap gesture
- otherwise tap conflicts with double tap zoom..
2014-09-11 21:00:26 +02:00
Hannes Janetzek 6d690ff5af android: enable GLSurfaceView debug flags with GLAdapter.debug 2014-09-11 21:00:26 +02:00
Hannes Janetzek a849b30efe forward MapActivity stop/resume to MapView 2014-09-04 02:28:15 +02:00
Hannes Janetzek 2e5ff2e4a4 TileCache: close db cursor when result is empty 2014-09-03 22:39:15 +02:00
Hannes Janetzek f7a98017b1 TileCache: remove unused size field 2014-09-03 22:39:15 +02:00
Hannes Janetzek 3d1cc6fe36 disable glBufferSubData for all Adreno 330/320
- use more specific test to work around buggy driver
2014-06-24 21:00:30 +02:00
Hannes Janetzek ad0eff3fac android: ignore NewApi error 2014-06-10 22:38:52 +02:00
Hannes Janetzek 225613ec28 cleanup: canvas Paint 2014-06-10 22:16:08 +02:00
Hannes Janetzek 9c1ae887ea samsung/adreno quirk: dont use glBufferSubData() 2014-05-16 12:03:46 +02:00
Hannes Janetzek ee3ffa8cec dont use vbo texture-layers for samsung devices with kitkat 2014-05-12 14:48:30 +02:00
Hannes Janetzek c161ea9cca vtm-android: disable check-gl-error flags 2014-05-04 22:01:32 +02:00
Hannes Janetzek c00000edc8 cleanup: unused file 2014-05-04 20:08:19 +02:00
Hannes Janetzek b85713b437 cleanup: MapView 2014-03-27 03:14:04 +01:00
Hannes Janetzek 78f3d82d2f android: move GL classes to gl package 2014-03-27 03:14:04 +01:00
Hannes Janetzek e1943e2808 android: extract GestureHandler 2014-03-27 03:14:04 +01:00
Hannes Janetzek c11a0d698b android: rename MapView.getMap() 2014-03-27 03:14:04 +01:00
Hannes Janetzek 19b040c7e6 android: add accessor for mMap 2014-03-27 03:14:03 +01:00
Hannes Janetzek 4fb3d13404 refactor backend Adapter classes 2014-03-27 03:14:03 +01:00
Hannes Janetzek 2e56e3facc start BitmapTileLayer pool 2014-03-18 02:51:02 +01:00
Hannes Janetzek 48fa5d5434 refactor: move tile layer classes back to layers.tile
they *really* belong there
2014-02-24 15:03:21 +01:00
Hannes Janetzek e15163bb08 use EventDispatcher for Input- and Map-Events 2014-02-24 15:03:21 +01:00
Hannes Janetzek 38c27c051d make fields protected to allow extending MapView 2014-02-15 14:18:02 +01:00
Hannes Janetzek dc0d161c14 cleanup: MapView 2014-02-15 14:17:00 +01:00
Hannes Janetzek 9285ae8536 do not set Tile.SIZE in MapView constructor
this way users can change static Tile.SIZE before initiating
the MapView.
2014-02-15 14:16:09 +01:00
Hannes Janetzek 424f44ba12 double tap scale is back 2014-02-12 02:11:50 +01:00
Hannes Janetzek 8d350238cf add heightOffset for Line- and MeshLayer 2014-02-12 02:08:19 +01:00
Hannes Janetzek 320295bfba add AndroidGraphics.makeMarker() utility for loading rawResource 2014-02-09 20:35:12 +01:00
Hannes Janetzek c64eb9aa88 rename getViewport/Animator/Layer() to viewport/animator/layers()
- these are composite parts of Map
2014-02-08 17:48:01 +01:00
Hannes Janetzek d836ffaad1 cleanup vtm-android 2014-02-08 03:01:37 +01:00
Hannes Janetzek 5b09735249 let MapActivity extend FragmentActivity 2014-02-08 01:42:01 +01:00