Commit Graph

813 Commits

Author SHA1 Message Date
Tobrun
ddcd1f9ae0 [android] #5889 - update info window location when info window content is being refreshed 2016-08-09 14:37:56 -04:00
Tobrun
63efa9bf7d [android] #5880 - javadoc cleanup part one 2016-08-08 21:51:52 -04:00
Tobrun
7597a050b4 [android] - fix scheduled build with cmake dependency. 2016-08-08 12:30:12 -04:00
Ivo van Dongen
d9145f504b [android] #5887 - Custom layer crash fix + updated test case 2016-08-08 11:33:31 -04:00
Ivo van Dongen
5ac95b9dcf [android] #5885 - fix invalid jobject error and some build system updates 2016-08-08 08:54:58 -04:00
Tobrun
d9873c0459 [android] #5888 - handle location permissions for non User Location category features
[android] #5888 - setZMediaOverlay on overlain SurfaceView
2016-08-08 06:58:50 -04:00
Tobrun
4fa179cce1 [android] - move MyLocationView under static overlays as logo, attribution and compass 2016-08-06 14:00:37 -04:00
Tobrun
42c7fa1f39 [android] - update CHANGELOG.md for 4.2.0-beta.1 release 2016-08-06 13:58:06 -04:00
Thiago Marcos P. Santos
0c460a5590 [android] Refcount the view activations
Fixes #5836
Fixes #5721
2016-08-06 12:58:59 -04:00
Tobrun
016157c39e [android] - javadoc fixes breaking the release build 2016-08-06 12:32:55 -04:00
Ivo van Dongen
ea958c3f46 [android] - fixed style api unit tests 2016-08-06 12:32:42 -04:00
Ivo van Dongen
b4c51dd792 [android] - Fix crash on dalvik due to missing finalizers 2016-08-06 12:32:25 -04:00
Cameron
70c21da06b [android] improved and fixed compass tracking 2016-08-05 16:37:39 -04:00
Konstantin Käfer
3cc3461cb5 [build] Use the JNIDIR as the platform string, since that's what Android Studio uses 2016-08-05 11:42:22 +02:00
Konstantin Käfer
da37ba1822 [build] add missing files to Android build 2016-08-05 11:42:22 +02:00
Konstantin Käfer
95b6d48b71 [build] use cmake script bundled with Mason 2016-08-05 11:42:22 +02:00
Ivo van Dongen
6ccdd7d481 [build] copy custom-layer-example.so to the right sub-module 2016-08-05 11:42:22 +02:00
Konstantin Käfer
140908568b [build] make android targets .PHONY and adhere to naming scheme 2016-08-05 11:42:22 +02:00
Ivo van Dongen
5f70a65a2c [build] cmake android 2016-08-05 11:42:22 +02:00
Konstantin Käfer
692fe1f3ff [build] switch to CMake
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Ivo van Dongen
52cb6122f8 [android] #5858 - added convenience methods for color properties 2016-08-03 18:34:23 -04:00
Tobrun Van Nuland
f94c979886 [android] #5717 - update MarkerView when added to the map, previously only updated with map change events. 2016-08-03 17:55:18 -04:00
Tobrun
701d7160c3 [android] #4845 - remove robotium, migrate to espresso 2016-08-03 16:48:36 -04:00
Tobrun
533a3edb9c [android] #5801 - add setMediaOverlay example for a secondary SurfaceView 2016-08-03 14:59:14 -04:00
Tobrun Van Nuland
6016b2981e [android] SurfaceView compatible snapshot api
[android] #5587 - snapshot API on surface view, create Bitmap with a ByteBuffer

[android] #5587 - write bitmap to external storage

PreMultipliedImage approach

callback implemented

clean up code

introduce bitmap reuse

cleanup

renaming surfaceContent to bitmap
2016-08-03 14:55:45 -04:00
Tobrun Van Nuland
9b871a9a0f [android] #5378 - NavDrawer rendering issues, added snackbar example 2016-08-03 14:53:23 -04:00
Tobrun Van Nuland
75a1a9697b [android] #5000 - initial surface view implementation. 2016-08-03 14:52:30 -04:00
Tobrun
f26c89c0b6 [android] #5663 - make shape annotations updateable 2016-08-03 14:50:41 -04:00
Ivo van Dongen
10b2cc60a7 [android] #5610 - Runtime style api - part 2 2016-08-02 16:58:03 -04:00
Tobrun Van Nuland
ed821c06d9 [android] - add print example 2016-08-02 16:03:17 -04:00
Justin R. Miller
de0cb554d6 fixes #5771: adds dates to releases in changelogs 2016-07-27 13:26:01 -07:00
Vladimir Agafonkin
9ecc0d9597 GeoJSON point clustering (#5724)
* add supercluster dependency
* prepare GeoJSONTile for Supercluster
* prepare GeoJSONSource for accepting options
* try removing mbgl::GeoJSON
* fix setGeoJSON types
* add GeoJSONSource getURL
* add geojson to include path
* add Supercluster index in GeoJSONSource
* fix GeoJSONSource getZoomRange
* bring back mbgl::GeoJSON header
* fix tidy warnings hopefully
* try test-suite with enabled cluster test
* fix formatting in clustering-related files
2016-07-27 20:18:41 +03:00
Tobrun Van Nuland
5870fceb25 [android] #5500 - add layout editor support for my location view 2016-07-27 08:59:37 +02:00
Ivo van Dongen
9a3eadfd5b [android] #5610 - Initial Runtime Style Bindings
[android] #5610 - Adjusted public api after discussion

[android] #5610 - added jni binding for NativeMapView#getLayer

[android] #5610 - Added initial test Activity

[android] #5610 - Started on NativePeer implementation for Layer

[android] #5610 - replaced low-level jni code with high-level for native getLayer

[android] 5610 - completed basic layer peer class - constructible from java and c++

[android] #5610 - removed reference that was redundant and causing the finalizer exception

[android] #5610 - Added a property peer

[android] #5610 - added value type to do type conversions - wip

[android] #5610 - simplified property conversion approach - wrapped value with jenv

[android] #5610 - added some more value conversions

[android] #5610 - Finished conversion for basic types

[android] #5610 - allow color's to be set as either an android color int or a String to support all formats in the spec

[android] #5610 - encode color ints as rgba to retain alpha channel

[android] #5610 - recalculate classes after paint property

[android] #5610 - more examples

[android] #5610 - fixed the example

[android] #5610 - cleaned up example code before continueing

[android] #5610 - added layout property example

[android] #5610 - set visibility on layer

[android] #5610 - added removeLayer and example

[android] #5610 - added more type conversions

[android] #5610 - Started on peer classes for layer implementations - WIP

[android] #5610 - First complete layer subclass peer implementation

[android] #5610 - added a little bit of structure before adding the other layer types

[android] #5610 - generate the c++ headers from the style spec

[android] #5610 - make sure the visibility is set as a string

[android] #5610 - Generate c++ layer peer class implementations from the style spec

[android] #5610 - generate java layer peer classes

[android] #5610 - cleanup comments

[android] #5610 - register all c++ peer classes with jni

[android] #5610 - addLayer

[android] #5610 - comment out broken case

[android] #5610 - Sources api - very much WIP

[android] 5610 - GeoJson source implementation and geojson conversion

[android] #5610 - cleanup add source/layer example a bit

[android] #5610 - initial filter api

[android] #5610 - Added filter api on the relevant Layer classes

[android] #5610 - raster layer is not filterable

[android] #5610 - actually make it compile

[android] #5610 - completed filter implementation

[android] #5610 - Vector and Raster Source + examples

[android] #5610 - removed superfluous interface, moved filters to the correct package

[android] #5610 - fixed comments

[android] #5610 - moved tests to the right package

[android] #5610 - hide difference between paint and layout properties in public api, make more performant set method for proeprties

[android] #5610 - fix rebase issue
2016-07-26 16:29:26 -04:00
Bruno de Oliveira Abinader
26a9213f6e [build] Upgrade geojson-vt-cpp@6.1.2 2016-07-26 16:35:29 +03:00
Antonio Zugaldia
bdc231db94 [android] Create a new local reference frame in JNI listOfflineRegions
Fixes #5629
2016-07-25 13:19:46 -04:00
Bharath MG
154d771220 [android] Fixes #5777. deselectMarker is delegated to MapboxMap from Marker manager. 2016-07-24 17:19:59 +05:30
Tobrun Van Nuland
39512aaef1 [android] #5679 - move logo and attribution to the top right
[android] #5679 - get correct top margin for logo when saving state of MapView
2016-07-24 09:45:40 +02:00
Tobrun Van Nuland
82478e2ea7 [android] #5745 - allow selectMarker on MapboxMap to be called with a MarkerView 2016-07-24 09:43:49 +02:00
Tobrun
ea2ee649fa [android] #5738 - default navigation drawer example
[android] #5738 - migrated to MapFragment approach & AppCompat compatible

[android] #5378 - make drawer work with inner class fragments

[android] #5738 - navigation drawer proposition

[android] #5738 - cleanup
2016-07-24 09:39:08 +02:00
Tobrun Van Nuland
494e6849c2 [android] #5756 - correctly load style from xml attributes 2016-07-24 09:36:52 +02:00
Bharath MG
e16c906bbf [android] fixes #5762. Passing pixel points to native jni for getting latlng. 2016-07-24 04:07:49 +05:30
Brad Leege
8df881a781 [android] #5767 - Switching to Mapbox Outdoors 2016-07-22 14:08:31 -05:00
Brad Leege
e33b9981cb Revert "[android] #5000 - initial surface view implementation."
This reverts commit 99a4850613.
2016-07-22 12:54:21 -05:00
Brad Leege
1972d932d5 Merge branch 'release-android-v4.1.1'
# Conflicts:
#	platform/android/MapboxGLAndroidSDK/gradle.properties
#	test/util/mapbox.cpp
2016-07-19 16:32:45 -05:00
Brad Leege
5ef2cbf942 [android] #5725 - Updating CHANGELOG 2016-07-19 16:15:27 -05:00
Brad Leege
97f5bb0ff7 [android] #5725 - Updating version to 4.1.1 2016-07-19 13:49:20 -05:00
Brad Leege
f5b5e6332b [android] #5718 - Adding support for SharedPreferences 2016-07-18 17:59:07 -05:00
Brad Leege
b03471bc8d [android] #5536 - Adding GzipRequestInterceptor to Telemetry OkHttp Client 2016-07-18 10:42:47 -05:00
Brad Leege
371a8ef6b2 [android] #5536 - Building GzipRequestInterceptor 2016-07-18 10:42:47 -05:00