77 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
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
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
Arnab Sen e2e0c86467 Update repo paths (#2675)
Replace airbnb with react-native-community
2019-01-25 15:39:37 +01: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
Michael Lefkowitz c0d46a3b84 update to clarify cacheEnabled is apple maps only 2018-10-19 16:44:29 -05: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
Marcel Kalveram c928c717af add edgePadding to fitToSuppliedMarkers function 2018-09-08 19:37:29 +02:00
ITONE\bussakorn.wonghom 6fd2483cb2 Add indoor events support for Android/iOS 2018-08-22 15:46:01 +07:00
Billy Mathews ecec7f37e2 Fix readme formatting (#2358) 2018-07-03 11:14:25 +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
Chaitanya Deorukhkar 7f3d559735 Fixed crash for Android API level below 18 on isFromMockProvider (#2172)
* Add Mock Provider boolean on each location update

* Update mapview.md

Update docs to specify that coordinate includes mock provider boolean

* Check API is 18 or above for isFromMockProvider

* Update docs to mention API
2018-04-09 13:24:54 +02:00
Ahmet aafa4e668b Update mapview.md (#2171)
Add 'none' option to docs for mapType
2018-04-09 11:39:10 +02:00
Chaitanya Deorukhkar dfe180e67a Add Mock Provider boolean on each location update (#2132)
* Add Mock Provider boolean on each location update

* Update mapview.md

Update docs to specify that coordinate includes mock provider boolean
2018-03-27 20:07:56 +02:00
Cody Pearce 15eb1211b4 Add mapPadding to mapView docs (#2121)
* Add mapPadding to mapView docs

* Map padding is only on Google Maps
2018-03-26 16:03:51 +02:00
JulienR2 624ba2acce add Android support for onPoiClick (#2050)
* add Android support for onPoiClick

* add example of onPoiClick event handling

* lint

* typo

* add support for GM on IOS

* Update docs since onPoiClick is now available on Android and IOS.
2018-03-10 14:15:30 +01:00
David f5cf88fd61 change onMyLocationChange to onUserLocationChange 2018-03-04 19:49:47 +01:00
David Escalera bc6d51513f Merge branch 'master' into master 2018-03-04 19:46:34 +01:00
Rafael Lincoln d22f96f911 Add suport for KML file (Only Markers) (#2011)
* Android - Add support to kml file

* IOS - Support for kml file GoogleMaps

* Android - Support to kml file

* Android - Add support to kml file

* Update Doc

* Add Google-Maps-iOS-Utils to pod

* Fix lint error

* Fix param to old values

* Verify kml container

* Render custom marker by styleid

* Add event onKmlReady

* Add event onKmlReady and update docs

* IOS - KML support to local file

* Fix crash KML Marker Android
2018-02-23 14:41:28 +01:00
David f7d45472e2 adding onMyLocationChange event 2018-02-18 13:21:10 +01:00
Ben Roth 3ee850b5e3 [docs] Clarify that mutedStandard is only supported starting in iOS 11 (#1962) 2018-01-12 20:28:24 +01:00
Daniel Cohen Gindi 9cb22b9dd8 New methods to convert between LatLng and Point (#1851)
* New methods to convert between LatLng and Point

* Clarification for `pointForCoordinate` and `coordinateForPoint`
2018-01-10 12:04:56 +01:00
Tim O. Peters 7a394982f0 Manage Zoom Controls visibility on the map (#1906)
* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls visibility on the map

* Manage Zoom Controls not available on iOS SDK
2017-12-21 16:10:34 +01:00
Hein Rutjes 458959bbaf Update mapview.md (#1830)
There was a typo in the new iOS mapType `mutedStandard`. It should have been `mutedStandard` instead of `standardMuted`
2017-11-29 09:23:04 -08:00
Andre Shonubi d23dd6131c Add support to set map boundaries (#1587)
* Add setMapBoundaries method iOS

* Add setMapBoundaries method android

* Add setMapBoundaries method to MapView component

* Update MapView docs

* Add note to setMapBoundaries method
2017-11-28 12:38:25 -08:00
Hein Rutjes 9b6946ab66 Added new iOS mutedStandard map-type (#1824)
* Added new iOS `mutedStandard` map-type

* Update MapView.js
2017-11-28 10:42:41 -08:00
Gabriel Peal 9b11f7cc0f Merge pull request #1527 from jessym/master
Added [iOS / Google Maps] support for showsIndoorLevelPicker.
2017-10-05 13:16:48 -07:00
Jessy c56d699f3c Updated "showsIndoorLevelPicker" documentation. 2017-08-28 20:07:06 +02:00
sandinosaso 7006e3afee Adds support to animateToBearing and animateToViewingAngle functions on IOS. 2017-08-11 01:28:06 -03:00
Andre Shonubi 6357776523 Document MapView min/max zoom properties (#1538) 2017-08-09 14:53:45 -07:00
Yann Pringault 8a86e9899d Add onMapReady callback (#1369)
* Add onMapReady callback

Fix #246

* Call onMapReady when state has changed

* Add onMapReady callback on iOS
2017-07-06 09:26:40 -07:00
Sam Corcos 1478c04b22 Update docs to specify how to access event data (#1178)
resolves #1136
2017-05-04 12:27:23 -07:00
Leland Richardson a7426a84d7 Add android only note to showsIndoorLevelPicker 2017-03-26 16:20:27 -07:00
Leland Richardson edde484725 Fix typos 2017-03-26 13:05:56 -07:00
Leland Richardson d79530227b Merge pull request #1019 from wasa4587/master
Add showsIndoorLevelPicker -> setIndoorLevelPickerEnabled to MapView
2017-03-26 12:40:39 -07:00
Leland Richardson aeb52cb46d Merge pull request #1049 from pyliaorachel/master
Issue #934 Add customized user location annotation text
2017-03-26 12:09:20 -07:00
David Stoker a2ef978f29 Add showsMyLocationButton support for Google Maps on iOS 2017-03-22 19:03:03 -04:00
Cesar alonso f2755368df Merge branch 'master' of github.com:airbnb/react-native-maps 2017-03-10 11:45:35 -06:00
Alvaro 88e9aea7bf Improve documentation for fitToCoordinates (#1037)
* added notes for fitToCoordinates call

* Notes for fitToCoordinates set in correct box
2017-03-07 15:15:15 -08:00
Grey Vugrin d53d93eb9e Improve documentation of customMapStyle (#1085)
* Improve documentation of customMapStyle

Readme addition described in https://github.com/airbnb/react-native-maps/issues/881.

* Add customMapStyle prop to MapView doc
2017-03-04 10:48:15 -08:00
Rachel P.Y. Liao 01564bd051 Update MapView doc 2017-02-20 18:19:00 +08:00