summaryrefslogtreecommitdiff
path: root/android/cpp
Commit message (Collapse)AuthorAgeFilesLines
* [android] Move android filesLeith Bade2015-10-252-2944/+0
| | | | Fixes #2032
* [android] Fix JNI local ref overflowLeith Bade2015-10-231-1/+1
| | | | | Change test to 1000 markers For #2726
* [core] Introduce StyleLayer subclassesJohn Firebaugh2015-10-221-5/+5
|
* [core] Rationalize style property classes: <type>{Paint,Layout}PropertiesJohn Firebaugh2015-10-221-4/+4
|
* [android] #2552 add 10000 markersTobrun2015-10-221-3/+4
|
* add missing DPI bitmaps and update based on code review commentsManabu Shimobe2015-10-221-1/+2
|
* add setSetVisibleCoordinateBounds api as already in iOSManabu-GT2015-10-221-1/+140
|
* [android] Refactor annotations APILeith Bade2015-10-221-39/+0
| | | | | | | | | | | | | Remove unimplemented properties. Correct defintions of equals() and hasCode(). Add setOnInfoWindowClickListener and remove old method from Marker. Refactor showInfoWindow() to remove need for exposing internal method. Make select/deselectMarker public. Add getSelectedMarker. Fix bug where you couldn't reselect a closed info window. Add empty constructor to LatLng and LatLngZoom. Fixes #2546 Fixes #2631 Fixes #2448
* [android] Implement UserLocationViewLeith Bade2015-10-222-13/+22
| | | | | | | | | | | | | | | | | | | Draws animated and synced GPS marker. Inlcudes direction arrow and accuracy ring. Fade out the compass after a delay when reset to north. Lots of other performance and memory improvements. add OnMyLocationChangeListener Move FAB with snackbar Fix getMetersPerPixelAtLatitude Fix some incorrect annotations Fixes #2668 Fixes #2411 Fixes #2678 Fixes #2675 Fixes #2566 Fixes #2549 Fixes #2692 Fixes #2572
* [android] Fix bug in setSprite when calculating pixel data sizeLeith Bade2015-10-221-36/+63
| | | | | | Change Marker sprite() to icon() and use Sprite class Load a Maki dog icon in test app Fixes #2506
* [core] Annotation refactorJohn Firebaugh2015-10-201-1/+1
|
* [core] [android] Fix InfoWindow topOffsetPixels adjustment when switching stylesLeith Bade2015-10-161-0/+8
| | | | | | | Fixes #2599 Make getTopOffsetPixelsForAnnotationSymbol private Also implements MapChangeWillStartLoadingMap, MapChangeDidFinishLoadingMap Paritally implements #630
* [android] Tidy up MapView APILeith Bade2015-10-091-2/+0
| | | | For #2545
* #2486 - Fixing JNI references to new package structureBrad Leege2015-10-011-25/+25
|
* Initial native add markers implementationTobrun2015-10-011-0/+69
| | | | Added addMarkers to jni.ccp, exposed addMarkers in MapView, updated example using this new method
* Refactor Android render loop to limit frame rate to 60 FPSLeith Bade2015-09-242-23/+18
| | | | | | | | | | Move expensive cache size calulation to initialisation Fix setGestureInProgress bug Renamed several functions to match current usage Refactor map updates to reduce GPS marker lag Fixes #1676 Fixes #2290 Fixes #2396
* Refactor NativeMapView to hold std::unique_ptr to Map and DefaultFileSourceLeith Bade2015-09-242-18/+29
| | | | | Add missing asserts to attach_jni_thread/detach_jni_thread Fixes #2406
* Improve handling of cancelled HTTP requestsLeith Bade2015-09-231-2/+2
| | | | Fix a memory leak of NativeMapView Java object
* Fix freezing on Android when rotatingLeith Bade2015-09-221-0/+5
| | | | Fixes #1941
* Create SharedSQLiteCacheLeith Bade2015-09-161-2/+2
|
* #894 - Wiring up getTopOffsetPixelsForAnnotationSymbol in JNIBrad Leege2015-09-071-0/+10
|
* plumb map notifications through JNI to AndroidJustin R. Miller2015-09-042-3/+3
|
* Substitute nudgeTransitions with async view invalidationBruno de Oliveira Abinader2015-09-021-1/+0
|
* Merge pull request #2179 from mapbox/nodeMike Morris2015-09-021-1/+5
|\ | | | | Node bindings
| * Merge branch 'master' into nodeJohn Firebaugh2015-08-311-0/+104
| |\
| * | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-251-1/+5
| | | | | | | | | | | | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* | | Tidy up missing JNI deletesLeith Bade2015-09-021-1/+13
| |/ |/|
* | implement annotation marker tap recognition in AndroidJustin R. Miller2015-08-281-0/+104
|/
* Implement setGestureInProgress on AndroidLeith Bade2015-08-131-0/+8
|
* Use OkHTTP to implement HTTPContext on Android.Leith Bade2015-08-112-83/+140
| | | | Closes #823
* Map::nudgeTransitions no longer depends on client informationBruno de Oliveira Abinader2015-08-052-8/+6
| | | | | | | | Clients no longer need to provide data (eg. if gesturing or in a custom animation) to Map::nudgeTransitions(). Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData allows thread-safe communication between Map and MapContext.
* Added Update::RepaintBruno de Oliveira Abinader2015-08-052-1/+2
|
* First pass at tidying up Android annotation codeLeith Bade2015-08-041-352/+356
|
* First pass at updating JNI bindingsLeith Bade2015-07-292-18/+65
| | | | | | | | | Hook up collisionDebug, isFullyLoaded, onLowMemory in Android Rename class to styleClass in Java to match iOS Fixed some formatting Fixes #1905 Fixes #1946 Fixes #1263
* Merge pull request #1926 from trappsnl/masterJustin R. Miller2015-07-281-2/+2
|\ | | | | fix latLngForPixel on Android
| * Merge branch 'master' of https://github.com/mapbox/mapbox-gl-nativeKoen Schmeets2015-07-241-27/+152
| |\
| * | Fix latLngForPixel bindings for AndroidKoen Schmeets2015-07-241-2/+2
| | |
* | | Avoid nudging transitions if a gesture is in progressBruno de Oliveira Abinader2015-07-232-5/+8
| |/ |/| | | | | | | | | | | | | We're now using nudgeTransitions() to tell the Map view that we want to update it. However, if we're on a gesture movement, the update() call can get called too fast and causing general slowdown. This check ensures we only call for nudgeTransitions() after all gesture events are finished. Fixes the issue pointed out by #1548 on Android.
* | SetSprite now worksNiklas Ulvinge2015-07-201-0/+25
| |
* | Correction colors transformationNiklas Ulvinge2015-07-201-3/+3
| |
* | Optimized RemoveAnnotations to a single callNiklas Ulvinge2015-07-191-0/+31
| |
* | Some memory managementNiklas Ulvinge2015-07-191-0/+5
| |
* | Add multiple polygons at once to increase performanceNiklas Ulvinge2015-07-191-24/+88
|/
* added ability to specify sprite in marker #1716Nicholas Hallahan2015-07-171-6/+56
|
* polygon JNI #1716Nicholas Hallahan2015-07-161-0/+162
|
* creating an annotation segment from a LatLng jlist encapsulated in function ↵Nicholas Hallahan2015-07-161-46/+51
| | | | #1716
* color is set for line stroke #1716Nicholas Hallahan2015-07-161-2/+6
|
* successful shape annotation #1716Nicholas Hallahan2015-07-161-2/+5
|
* attempting to make ShapeAnnotation with segment and properties #1716Nicholas Hallahan2015-07-161-5/+19
|
* extracting latitude and longitude #1716Nicholas Hallahan2015-07-161-3/+14
|