Commit Graph

511 Commits

Author SHA1 Message Date
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Tobrun
3ef272e389 [android] #6077 - keep rules for Signature and Annotation (#6085)
* [android] #6077 - keep rules for Signature and Annotation, reordered file to mimic package structure project.

* [android] #6077 - proguard workaround for mapbox-java
2016-08-22 14:49:47 +02:00
Tobrun
0fd4c9ac9d [android] #6074 - increase default gradle memory usage during build (#6080) 2016-08-19 10:07:20 +02:00
Ivo van Dongen
01a33749f9 [android] #5941 - add geojson typed constructor to GeoJsonSource and an example 2016-08-16 17:04:35 +02:00
Ivo van Dongen
2a5bf311ac [android] #6034 - add missing NoSuchSourceException 2016-08-16 16:02:37 +02:00
Ivo van Dongen
4e211548d5 [android] #5869 - visible feature querying 2016-08-16 11:38:30 +02:00
Ivo van Dongen
743d134a32 [android] #5852 - geojson source clustering 2016-08-13 11:20:08 -04:00
Tobrun
112789a761 [android] - make query source features depend on screendensity 2016-08-12 23:54:09 -04:00
Cameron
c57a54d920 added watermark to image 2016-08-12 22:19:28 -04:00
Tobrun
834ff765c0 [android] #5968 - add support for a layout editor preview, show a drawable and some overlain items 2016-08-12 22:19:28 -04:00
Ivo van Dongen
ddf0d25845 [android] #5978 - fix number property filters [ci skip] 2016-08-12 18:47:05 -04:00
Minh Nguyễn
e147887e35 [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ queryPointAnnotations() (#5165)
queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view.

Fixes #5151.
2016-08-12 15:45:18 -07:00
Tobrun
0ae941d2a8 [android] #5934 - resolves memory leaks on animators + location listeners 2016-08-11 18:13:12 -04:00
Tobrun
532c659b22 [android] javadoc cleanup part 2 2016-08-09 20:48:00 -04:00
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
Ivo van Dongen
d9145f504b [android] #5887 - Custom layer crash fix + updated test case 2016-08-08 11:33:31 -04:00
Tobrun
4fa179cce1 [android] - move MyLocationView under static overlays as logo, attribution and compass 2016-08-06 14:00:37 -04:00
Tobrun
016157c39e [android] - javadoc fixes breaking the release build 2016-08-06 12:32:55 -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
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 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
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
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
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
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
Antonio Zugaldia
5c037f4745 [android] Introduce a getDatabasePath() method that enables switching storage paths
Fixes #5589
2016-07-15 09:58:53 -04:00
Brad Leege
95e5d12235 [android] #5682 - Cloning events list to prevent synchronization issues 2016-07-14 16:20:36 -07:00
Brad Leege
f2585b342c [android] #5682 - Adding NaN and Infinite checks to trackGestureDragEndEvent() and trackGestureEvent() 2016-07-14 16:20:36 -07:00
Antonio Zugaldia
11095881f7 [android] Adds an API to enable/disable delivering messages when the region goes inactive. 2016-07-14 16:44:58 -04:00
Cameron
765e8d2be1 [android] latlngbounds includes added in builder
Fixes #5574

added includes test
2016-07-14 12:13:44 +02:00
Tobrun
fd5ee40506 [android] #5631 - add a concrete java exception when creating a marker without the required position field.
[android] #5631 - updated test cases to handle invalid position on a Marker
2016-07-14 09:36:51 +02:00
Brad Leege
5fb0e878b4 [android] #5680 - Adding 1000 event cap to send telemetry data 2016-07-13 18:32:14 -07:00
Tobrun Van Nuland
9387523376 [android] #5649 - fixes fragment null pointer when creating a SupportMapFragment without a OnMapReadyCallback 2016-07-13 16:43:01 +02:00