221 Commits
Author SHA1 Message Date
Poyan Nabati 094f86456e Add onDoublePress callback (#2937)
Add to Google Maps on Android and Apple Maps on iOS
2019-08-29 07:17:26 -07:00
Martin Rädlinger b8f2bfa663 add overlay onPress event (#3007) 2019-08-14 14:38:48 +02:00
James Isaac b94fb1313e Fix playServicesVersion name in installation docs (#3016) 2019-08-14 12:58:58 +02:00
Yeshan Jayasinghe 458171a2e9 Google Maps - Heatmaps for Android and iOS (#2960)
* Updated heatmap iOS changes (From david-cako PR #2241).

* Updated heatmap JS changes (From david-cako PR #2241).

* Updated heatmap Android changes (From david-cako PR #2241).

* Fixed lint issues.

* Added WeightedLatLng type def. for heatmaps.

* Updated ReadMe files (docs).
2019-08-07 09:47:46 -07:00
Nikita Perevyazkin b781c1184b Added GeoJSON support by default (#2959)
* Added GeoJSON component

* deleted uuid generation, used index instead

* Added geojson description to docs and examples

* Added import to App.js in examples

* fixed prettier syntax errors

* fixed another prettier errors
2019-08-07 09:25:08 -07:00
Narcis Mihai 22c0dddcae Update installation.md (#2977)
If 'rn_maps_path' is not explicitly declared in the Podfile, the command "pod install" fails with the message "Invalid `Podfile` file: undefined local variable or method `rn_maps_path' for #<Pod::Podfile:0x00007f967d013518>"
2019-07-29 07:05:42 -07:00
MaartenGDev 5b8eb51634 Remove dangling back-ticks to fix code sections (#2972)
Removed dangling back-ticks that caused the json section to be displayed incorrectly
2019-07-22 14:42:05 -07:00
Michael Schwarz c18c4a11fa update installation.md (#2969)
* chore: alternative way

Alternative added to iOS 3.1

* fix: forgot minVersiondSDK

Add minSdkVersion to iOS 3.1
2019-07-18 15:20:30 -07:00
Michael Schwarz fcc3858c70 Update installation.md for RN 0.60+ (#2968)
* Update installation.md

Update for React Native 0.60+

* fix: unnecessary information

Delete example

* fix: missing information

Add missing pod install after editing Podfile

* fix: numbering was wrong
2019-07-18 11:43:26 -07:00
Bill Pairaktaridis 5175e439fc Update polyline.md (#2905)
Strokecolor also supports rgba
2019-06-11 10:03:04 +02:00
Jason Li 1c2b8f894f Add compass location offsets for iOS maps (#2397)
* Added compass offset for iOS

* Fixed import type

* Updated doc
2019-05-09 08:27:25 +02:00
Alexander a5486a25eb Update installation.md (#2838)
Workaround for Android build issue
2019-05-02 10:42:42 +02:00
Darkiman 89aeafc7b6 fixed android installation instruction (#2830)
* fixed android installation instruction

* fixed version
2019-04-25 11:07:10 +02:00
Juan 4d48f785e8 Reword Overlay documentation to match implementation (#2822) 2019-04-19 18:22:57 -07:00
Eric James 3140e1c19f Note that children components can be added (#2326)
I literally just trial and errorred this after banging my head.
2019-04-13 10:57:45 -07:00
Liam Bateman 21a7536cb4 Update mapview.md (#2774)
Updated docs to show that MapType: none is not available on IOS MapKit.
2019-03-29 20:14:15 +00:00
Gaëtan Kueny b06b7742d5 Indicat that showsScale prop is Apple Maps only (#2759)
* Indicat that showsScale prop is Apple Maps only

See #2757

* Indicate that  is ios plateform only in MapView file

* fix eslint
2019-03-25 08:53:19 +00:00
Denis Oblogin 6ad2ffcf6a Custom callout improvements (#2581)
* fixes #2279

todo: add example
todo: AIRGoogleMapCalloutSubview*
todo: marker-inside-overlay-press?

* upd

* additions to readme

* removed unused (for now) delegate patching

* lint fixes

* Pass `point` at callout press events

* Also pass callout frame
todo: fix for Apple map

* - Added prop `alphaHitTest` for `Callout`
- Added method `getMarkersFrames(onlyVisible=false)` for `MapView`
- Fix for pinch gesture

* lint fixes

* added `getMarkersFrames` to docs

* fix

* Added `zoomTapEnabled` for `MapView`

* Added redrawCallout

* Fixes after rborn's review
2019-03-15 22:28:33 +00:00
Giacomo Cerquone 8e93f56c80 Improved mapview doc for delta properties (#2704) 2019-03-08 06:52:09 -08:00
Chris Poe 2e0c89d80c Add clearer notes to setMapBoundaries method (#2707)
When using the setMapBoundaries method, it is not immediately clear why the user is able to scroll past the specified boundaries. Noting that the method uses the maps center coordinates would help clarify.
2019-03-08 06:51:42 -08:00
Kruy Vanna 4978696d9c Support for lineCap and lineDash pattern (#2417)
* Android: Fix lineCap of Polyline

* Android: add support for lineDashPattern

* update Polyline docs on lineCap property

* Fix docs: update Polyline docs on lineCap property

* update docs

* remove Log

* remove log
2019-03-08 06:50:59 -08:00
Ian McEachern 122d4d3f56 Implement 'tappable' prop on polyline for Android (#2682)
* used tappable functionality from polygon for polyline

* update docs to reflect tappable prop for polygon and polyline
2019-02-03 09:32:04 +01:00
Roberto Wesley Overdijk 6b2ddbf796 typo (#2685) 2019-02-03 09:31:06 +01:00
Arnab Sen e2e0c86467 Update repo paths (#2675)
Replace airbnb with react-native-community
2019-01-25 15:39:37 +01:00
Victor 70eeb2d114 Expose GoogleMaps iOS SDK icon property to improve Marker rendering performance (#2650)
* Added icon property - https://github.com/react-native-community/react-native-maps/pull/1491

* fixed MapMarker.js indentation

* Added support for Marker icon property on android

* Added support for Marker icon property on android
2019-01-08 14:56:25 -08:00
Tobias Lohse 2460dec581 add note about recursive framework search paths (#2639) 2019-01-07 14:05:51 -08:00
Areeb Mohamed ea5dbe3ee0 Adding notes for Google Play Services (#2631)
Important note for Google Play Services when conflicting with other modules
2019-01-07 14:03:50 -08:00
Michael Elsdörfer 2dc1953048 Provide a camera system (#2563)
* Add initialCamera and camera props.

* Support camera and initialCamera properties on Android.

* Declare camera and initialCamera properties in JS.

* Add animateCamera, setCamera, getCamera on iOS/Mapkit.

Deprecate the old animateTo* methods and warn on use.

* Add an example for camera control.

* Add animateCamera, setCamera, getCamera  on iOS/GMaps.

* Support setCamera, animateCamera, getCamera in Android.

* Fix eslint errors.

* Update documentation.

* Remove use of deprecated methods from examples.

* Fix crash in animateCamera() if duration not given.

* Add new methods and props to TypeScript typings.

* Fix bug in Android method map setup.
2018-11-23 15:51:11 +01:00
Radovan Šmitala df9f735908 Get visible map bounding box (#2571)
* Get visible map bounding box

* Fix CI and add docs

* Fix empty space

* Fix hashmap for Android getMapBoundaries

* Separate iOS getMapBoundaries between View and Manager

* Add android support

* Fix preview design

* Revert mapview.md to original format

* Example bubble fix

* Remove accidentaly imported some react modules in AirMapManager.java
2018-11-22 18:24:05 +01:00
Ashwin Nayar 1844d46902 Specify how to use Google Maps (#2550)
* Specify how to use Google Maps

Installation docs do not mention that `{PROVIDER_GOOGLE}` needs to be added in order to make Google Maps work.

* Update instructions for Google Maps on iOS
2018-10-22 15:36:31 +02:00
Michael Lefkowitz c0d46a3b84 update to clarify cacheEnabled is apple maps only 2018-10-19 16:44:29 -05:00
Elias Toivanen a45f7a74ed Improve installation docs (#2541)
* Improve installation docs

* PR comment fixes
2018-10-11 11:58:01 +02:00
Alexander Veligurov e0c61eddeb Merge pull request #2448 from luciferes/master
Add custom indoor picker level
2018-09-22 13:29:30 -03:00
Alexander Veligurov 39c994fdea Merge pull request #2479 from marcelkalveram/master
add edgePadding to fitToSuppliedMarkers function
2018-09-22 13:28:05 -03:00
Daniel Cohen Gindi 78a36ac372 Performance improvements for tracksViewChanges (#2487)
* Avoid unnecessary redraws and bitmap allocations

* Avoid drawing empty background of ViewAttacherGroup

* Moved some ViewAttacherGroup initialization to constructor

* Some documentation

* Added missing `setTracksViewChanges` (to allow disabling tracksViewChanges)

* Added new `redraw` method on MapMarker to cause a redraw of custom marker

* Let it render one more time when toggling tracksViewChanges to false
2018-09-21 09:49:49 +02:00
Daniel Cohen Gindi a1551f7f09 Implemented tracksViewChanges for Android
This will help avoid unstable rendering of markers,
 and even support some level of animation. (like in iOS)
2018-09-08 21:28:03 +03:00
Marcel Kalveram c928c717af add edgePadding to fitToSuppliedMarkers function 2018-09-08 19:37:29 +02:00
Whitney Young 496426c9d4 Enable custom configuration for iOS maps (#2396)
This allows setting up the library to work with Google Maps on iOS via
`react-native link` instead of only via CocoaPods.

Because Google-Maps-iOS-Utils is not distributed as a binary (at this
time), it disables functionality that depends on this library and raises
an exception that points to the reason why there's a problem.

Additionally:

- A missing file has been added back into the AirMaps.xcodeproj project.
2018-09-07 15:36:06 +02:00
ITONE\bussakorn.wonghom 6fd2483cb2 Add indoor events support for Android/iOS 2018-08-22 15:46:01 +07:00
Hinrich 83c1a0186f docs: pin color limitations for android (#2429) 2018-08-14 07:57:49 -07:00
Kruy Vanna b9ec81b2fb Android: Fix lineCap of Polyline (#2375)
* Android: Fix lineCap of Polyline

* update Polyline docs on lineCap property

* Fix docs: update Polyline docs on lineCap property
2018-07-18 12:59:39 +02:00
Guillermo Orellana 12211883d3 Update installation.md (#2381)
Formatting, indentation and syntax highlight
2018-07-18 12:58:20 +02:00
Sébastien Lorber a71d04b015 update doc (#2363)
related to https://github.com/react-community/react-native-maps/issues/2237#issuecomment-402487329
2018-07-04 18:08:09 +02:00
Billy Mathews ecec7f37e2 Fix readme formatting (#2358) 2018-07-03 11:14:25 +02:00
Ross ceed47f229 add support for calloutAnchor with GoogleMaps on iOS; fixes #1852 (#2351)
* add support for calloutAnchor with GoogleMaps on iOS

* update docs to specify platform specifics for calloutAnchor and calloutOffset
2018-06-28 10:37:35 +02:00
Guilherme Eduardo Gulinoski Teixeira 72b0f77e31 Added animateToNavigation method to MapView (#2049)
* added animateToNavigation method to MapView

* Added AnimatedNavigation example

* Updated Fork

* Deleted IDE files and Unnecessary .class files
2018-06-26 11:42:08 +02:00
Colin Basnett 9ddd7a0d75 Fix for compile error (#2215). (#2232)
* Fix for compile error (#2215).

* Addendum to previous commit, making `timestamp` return milliseconds instead of seconds to match with the Android implementation.

* Update mapview.md

Updated the documentation to reflect the arguments passed to `onUserLocationChange`. The documentation was missing parts of the data (`altitude`, `accuracy` etc.). I also made clear that the timestamp unit is in milliseconds since the Unix epoch time.
2018-05-18 13:08:22 +02:00
Daniel Cohen Gindi 6b06ac943f Added paddingAdjustmentBehavior for Google Maps on iOS (#2149) 2018-05-09 09:14:40 -07:00
sfyfe31 09a52924c7 Add note about NSLocationWhenInUseUsageDescription (#2181)
Apple are now rejecting app submissions without an explanation of why you need to user's location.
2018-04-11 14:54:27 +02:00
Dávid Csákvári bacb33b372 Add opacity to API docs. (#2174) 2018-04-09 20:57:53 +02:00