Skip to content

Latest commit

 

History

History
622 lines (475 loc) · 32.8 KB

CHANGELOG.md

File metadata and controls

622 lines (475 loc) · 32.8 KB

Change Log

0.22.1 (November 8, 2018)

  • Common: #2548 Moved babel-plugin-module-resolver and babel-preset-react-native from dependencies to devDependencies
  • Android: #2555 Fixed #2507
  • Android: #2545 Fixed “The specified child already has a parent”
  • Docs: #2541 Improve installation docs
  • Docs: #2550 Specify how to use Google Maps
  • Docs: #2559 Clarify cacheEnabled is apple maps only

0.22.0 (October 11, 2018)

  • Common: #2049 Added animateToNavigation method to MapView
  • Common: #2207, #2232 Added timestamp property to onUserLocationChange event callback
  • Common: #2479, #2524 Added edgePadding to fitToSuppliedMarkers function
  • Common: #2448 Added custom indoor picker level
  • Common: #2238 Support the asset:// scheme for images
  • Common: #2136, #2184 Modifications/Enhancements to MapView.UrlTile
  • Common: #2039 Fix for pointForCoordinate and coordinateForPoint
  • Common: #2217 Using ColorPropType to validate all color props more accurately
  • iOS: #2396 Added installation for iOS via react-native link
  • iOS: #2243 Added support of lineDashPattern polyline props to iOS Google Maps
  • iOS: #2149 Added paddingAdjustmentBehavior for Google Maps on iOS
  • iOS: #2231 Prefix DummyView class
  • iOS: #2229 Use global imports for new Pods dependencies in AIRGoogleMap
  • iOS: #2248 Make tiles display at the same physical size regardless of pixel density on iOS devices
  • iOS: #2306 Prefix or eliminate globals in AIRMapMarker
  • iOS: #2351 Added support for calloutAnchor with Google Maps on iOS
  • iOS: #2501 Fixed issue that app crashes after trigger Marker onDragEnd
  • iOS: #2359 Fixed zIndex didn't work on map moving on iOS 11
  • iOS: #2185 Fixed Xcode warnings for format, pointer type, unused var
  • iOS: #2154 Fixed CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF warnings
  • iOS: #2341 Fixed warnings about self
  • Android: #2224 Respect tappable prop on Android
  • Android: #2390 Consider pixel density in coordinate<->point conversion
  • Android: #2477, #2487 Implemented tracksViewChanges on Android
  • Android: #2478 Let onVisibilityChanged() be called on children (mainly fixes Image issues)
  • Android: #2375 Fixed lineCap of Polyline
  • Android: #2320 Fixed custom marker updates on Android
  • Android: #2197 Fixed overlay removal bug
  • Android: #2317 Fixed disabling the toolbar and my location button
  • Android: #2472 Fixed compilation error due to minSDK in manifest
  • Android: #2172 Fixed crash for Android API level below 18 on isFromMockProvider
  • Internal: #2462 Fixed packager script path in pacakage.json
  • Internal: #2480 Fix peer dependencies
  • TypeScript: #2165 Typings improvements & fixes
  • Docs: #2541 Vastly improved installation guideline
  • Docs: #2171 Add 'none' option to docs for mapType of MapView
  • Docs: #2174 Add opacity to Marker API docs
  • Docs: #2181, #2219 Add note about mandatory NSLocationWhenInUseUsageDescription
  • Docs: #2381, #2358, #2363, #2429, #2425 Documentation improvements

0.21.0 (March 31, 2018)

  • Common: #2030 Broadened peer-dependency support
  • Common: #2035, #2113, & #2141 Typescript improvements and fixes
  • Common: #2011 Add suport for KML file (Only Markers)
  • Common: #2053 Fix 'module undefined' for React Native >= 0.54
  • Common: #2131 Fix initialRegion for React Native >= 0.54
  • Common: #2115 Upgrade React Native peer dependency to 0.54
  • Common: #2032 Add onMyLocationChange event
  • Common: #2039 Fixed problem with pointForCoordinate and coordinateForPoint methods
  • Common: #2050 Add support for onPoiClick
  • iOS: #2022 Add support for Map.Overlay
  • iOS: #2068 Prevent marker press from calling MapView onPress
  • iOS: #2057 Fixed polygon and polyline not re-rendering when changing tile URL (AirMaps)
  • iOS: #2101 Fixed re-render not updating MapView.Circle component in UI when radius or center coordinates change (AirMaps)
  • Android: #2111 Allow vector drawables to be used as markers
  • Android: #2132 Add mock-provider boolean on each location update
  • Android: #2047 Check for presence of project-wide (ext) Gradle configuration properties compileSdkVersion, targetSdkVersion, buildToolsVersion, supportLibVersion, googlePlayServicesVersion, and androidMapsUtilsVersion. This provides a better mechanism for aligning the requirements of the module with that of the host project.
  • Android: #2096 Updated gradle configuration for gradle 3.0.0+

0.20.1 (February 13, 2018)

0.20.0 (February 9, 2018)

  • Common: #1889 Fix for 'Animated.Region undefined constructor' in recent react-native version.
  • iOS: #1853 Fixed onMapReady no longer getting called on iOS
  • Android: #1906 Manage Zoom Controls visibility on the map
  • iOS: #1911 Add gradient/multi-color polyline support for iOS (MapKit)
  • Android: #1918 Ground Overlay Support
  • Common: #1851 New methods to convert between LatLng and Point
  • iOS: #1846 Fix callouts appearing behind markers
  • iOS: #1969 Added tracksInfoWindowChanges property to iOS Google Maps
  • iOS: #1960 Fixed gradient polyline not always fully drawn + stability issues
  • iOS: #1953 Fix onMapReady not getting called after first time, initialRegion lat/lng delta not setting properly, setRegion method getting called even when map is not ready and prevent onRegionChange/ onRegionChangeComplete event until initialRegion or region is set.
  • Android: #1781 Polygon holes support
  • Android: #1976 Add native animation for Markers on Android

0.19.0 (December 14, 2017)

  • Common: #1715 Fixed region/initialRegion null overrides of this.props
  • Common: #1876 Added support for locally stored tile overlay
  • iOS: #1854 Update GoogleMaps dependency to 2.5.0

0.18.3 (November 30, 2017)

  • Android: #1839 [AirGoogleMapManager] Use RCTDirectEventBlock for onMarkerPress

0.18.2 (November 29, 2017)

  • Android: #1835 [AirMapView] Null check map instance on view methods

0.18.1 (November 28, 2017)

  • Android: #1828 [AirMapManager] Update MapBuilder for getCommandsMap to support all entires

0.18.0 (November 28, 2017)

  • Android/iOS: #1587 Add support to set map boundaries
  • Android/iOS: #1750 Add mapPadding property
  • Common: #1792 Make all components use ViewPropTypes || View.propTypes
  • iOS: #1774 Added missing parameters to google map screenshot
  • iOS: #1824 Add new iOS mutedStandard map-type
  • iOS: #1705 Enable control of Google Maps Marker tracksViewChanges property.
  • Android: #1710 Added support for new Android camera movement APIs
  • iOS: #1741 Fixed iOS google MapView.onMarkerPress not receiving the marker identifier
  • iOS: #1816 Fix The name of the given podspec ‘yoga' doesn't match the expected one ‘Yoga'
  • iOS: #1797 Fixed onMapReady event on iOS to resemble onMapReady on Android
  • Common: #1817 Allow fitToCoordinates to be called without options parameter

0.17.1 (October 18, 2017)

  • Common: #1687 Fixed TypeScript definitions

0.17.0 (October 11, 2017)

  • iOS: #1527 Added [iOS / Google Maps] support for showsIndoorLevelPicker
  • iOS/Android: #1544 Adds support to animateToBearing and animateToViewingAngle ( IOS + Android )
  • JS: #1503 Remove caret from "react": "^16.0.0-alpha.12
  • Android: #1521 Fix rare android crashes when map size is 0
  • Common: #1601 Added Typescript Definitions
  • Android: #1612 Remove legalNotice from android AirMapModule

0.16.4 (September 13, 2017)

  • Android: #1643 [MapMarker] fix android release crash on custom marker

0.16.3 (September 2, 2017)

  • iOS: #1603 Added missing satellite option for iOS Google Maps
  • iOS: #1579 Set initial region on view

0.16.2 (August 17, 2017)

  • Android: #1563 Add missing native method for setting initial region
  • iOS: #1187 Reverted due to build issues

0.16.1 (August 15, 2017)

  • Android: #1428 Add ability to load marker image from drawable
  • iOS: #1187 Improve marker performance
  • iOS/Android: #1458 Add Google Maps legalNotice constant
  • JS: #1546 Fix initial region native prop

0.16.0 (August 9, 2017)

  • Android: #1481 Handle Android RN 0.47 breaking change
  • iOS: #1357 add MKTileOverlayRenderer
  • iOS: #1369 Add onMapReady callback
  • Android/iOS/JS: #1360 Add minZoom and maxZoom properties for android and ios
  • JS: #1479 Fix timing function used in AnimatedRegion.spring

0.15.3 (June 27, 2017)

  • iOS: #1362 Updates for React 0.43-0.45 and React 16.
  • JS: #1323 Updates for React 0.43-0.45 and React 16.
  • Android/iOS/JS: #1440 Updates for React 0.43-0.45 and React 16.
  • iOS: #1115 Fix animateToCoordinate and animateToRegion
  • Android: #1403 Fix an NPE

0.15.2 (May 20, 2017)

  • iOS: #1351 Fix file references

0.15.1 (May 19, 2017)

  • iOS: #1341 Fix compile error in rn version >= 0.40
  • iOS: #1194 Add onPress support for Google Maps Polyline
  • iOS: #1326 Add Marker rotation for Google Maps on iOS
  • Android: #1311 Fix overlay issue
  • Common #1313 Fix Android sourceDir for react-native-link

0.15.0 (May 8, 2017)

  • iOS: #1195 Rename project file to fix iOS build error
  • Android: Update Google Play Services to version 10.2.4

0.14.0 (April 4, 2017)

Enhancements

  • Restructure project #1164

  • Add showsIndoorLevelPicker -> setIndoorLevelPickerEnabled to MapView #1019 #1188

  • iOS - Added onPress support for Polygons on Google Maps #1024

  • Add customized user location annotation text #1049

  • iOS - Google Maps - Add showsMyLocationButton support #1157

Patches

  • Fix getResources() null crash in mapview #1188

  • Rename MapKit category to avoid conflicts with the one in RN #1172

  • Upgrade GMS dependencies to 10.2.0 #1169

  • fix multiple-instance memory leak #1130

  • fix onSelected event for markers with custom view #1079

  • Crash in our App fix #1096

  • Use local RCTConvert+MapKit instead of the one in React Native #1138

0.13.1 (March 21, 2017)

Enhancements

  • Add id identifier to marker-press event on Android #1008 (@stan229)

  • setNativeProps, marker opacity, nested components #940 (@unboundfire)

Patches

  • Update the android buildToolsVersion to 25.0.0 #1152 (@markusguenther)

  • use provided for RN gradle dependency #1151 (@gpeal)

  • fix null activity crash #1150 (@lelandrichardson)

  • Updated Google play services and gradle build plugin #1023 (@chris-at-translate)

  • Sets the map value for the AirMapUrlTile so that it can be updated properly #992 (@jschloer)

  • onPress and onCalloutPress doesn't trigger on markers in iOS #954 (@RajkumarPunchh)

0.13.0 (January 6, 2017)

Breaking Changes

  • Update iOS header imports and JS SyntheticEvent import for RN 0.40 #923 (@ide)

Patches

  • Fix issue where callouts sometimes overlap or don't appear #936 (@RajkumarPunchh)

0.12.3 (January 6, 2017)

Patches

  • Fix "Animating with MapViews" example – fixes #763 #888 (@javiercr)
  • [iOS] Fix "Option 2" method of building Google Maps #900 (@vjeranc)
  • [Android] Fix exception when animating region during initialization #901 (@mlanter)
  • Updated documentation #902, #904, #910 (@anami, @dboydor, @ali-alamine)

0.12.2 (December 9, 2016)

Patches

  • [Android] Added support for taking snapshots on Android #625 (@IjzerenHein)
  • [iOS] Allow legalLabelInsets to be changed and animated #873 (@scarlac)
  • Added rotation attribute documentation #871 (@Arman92)
  • Update mapview.md documentation #866 (@dccarmo)

0.12.1 (December 6, 2016)

This release only corrects the version in package.json.

0.12.0 (December 6, 2016)

NOTE: This version was not published because package.json was not properly updated

Breaking Changes

  • [android] If we've disabled scrolling within the map, then don't capture the touch events #664 (@mikelambert)
  • [android] Use latest Google Play Services #731 (@mlanter)
  • [android] update google play services #805 (@lrivera)

Patches

  • [iOS] Support iOS SDK < 10 ( XCode < 8 ) #708 (@rops)
  • [iOS] Added showsUserLocation property support for Google Maps #721 (@julien-rodrigues)
  • [iOS] Added Google Maps Circle, Polygon, Polyline, MapType Support #722 (@unboundfire)
  • [iOS] Fix Anchor point on Google Maps iOS #734 (@btoueg)
  • [Google Maps iOS] Marker init with image props. #738 (@btoueg)
  • [iOS] Fix dynamic imageSrc removal #737 (@btoueg)
  • [iOS] implement fitToSuppliedMarkers and fitToCoordinates for google #750 (@gilbox)
  • [iOS][android] Add onPress for polygons and polylines on iOS and Android #760 (@frankrowe)
  • [iOS] Fix flicker of map pins on state change #728 (@mlanter)
  • [iOS] Set region only when view has width&height #785 (@gilbox)
  • [iOS] Implements animateToRegion for Google #779 (@btoueg)
  • [iOS] Google Maps Custom Tile Support #770 (@unboundfire)
  • [android] Map Styling for android #808 (@ali-alamine using @azt3k code)
  • [iOS] IOS Google Map styling #817 (@ali-alamine using @azt3k code)
  • [iOS] Add support for polygon holes for Apple Maps and Google Maps on iOS #801 (@therealgilles)
  • [iOS] Fixes #470. Support legalLabelInsets on Apple Maps #840 (@scarlac)

0.11.0 (October 16, 2016)

NOTE: 0.10.4 was released after this version, and it's possible 0.11.0 does not include everything in 0.10.4. (see #851)

Breaking Changes

  • Update example app for RN 0.35, fix Gmaps bug for 0.35 #695 (@spikebrehm)
  • Upgraded to RN 0.35 #680 (@eugenehp)

Patches

  • Update installation.md #696 (@securingsincity)
  • [android] Fixes crash during Activity onPause() #694 (@felipecsl)
  • Included MapUrlTile usage in README.md #687 (@ochanje210)
  • [android] Add parameter to disable the moving on marker press #676 (@mlanter)
  • Add support for setting zIndex on markers #675 (@mlanter)

0.10.4 (October 31, 2016)

Patches

  • [iOS] implement fitToSuppliedMarkers and fitToCoordinates for google maps #750 (@gilbox)
  • [android] If we've disabled scrolling within the map, then don't capture the touch events #664 (@mikelambert)
  • [iOS] Fix Anchor point on Google Maps iOS #734 (@btoueg)
  • [iOS] Added showsUserLocation property support for Google Maps #721 (@julien-rodrigues)
  • [iOS][android] Add support for setting zIndex on markers #675 (@mlanter)
  • [android] Add parameter to disable the moving on marker press #676 (@mlanter)
  • NOTE: v0.10.3 was not published

0.10.2 (October 19, 2016)

Patches

  • [android] Fixes crash during Activity onPause() (fixes #414) #694 (@felipecsl)

0.10.1 (October 10, 2016)

This release fixes issue #656

Patches

  • [android] fix gradle build setup for explorer, bump to gradle 2.2.0 #666 (@gilbox)
  • [android] fix getAirMapName to fix ref-based commands #665 (@gilbox)

0.10.0 (October 5, 2016)

Breaking Changes

0.9.0 (September 28, 2016)

As of this release, this repository has moved from lelandrichardson/react-native-maps to airbnb/react-native-maps.

Breaking Changes

  • [iOS] Support Google Maps on iOS #548 (@gilbox)

Patches

  • Added support for AnimatedRegion without modifying the AnimatedImplementation.js of react-native #608 (@IjzerenHein)
  • [iOS] Remove pod stuff. Fix AirMaps.xcodeproj related to missing pod stuff #620 (@gilbox)
  • [iOS] Fix import of AIRMapSnapshot #622 (@spikebrehm)
  • [iOS] Fix nullability issue #614 (@simonmitchell)
  • [iOS] Added support for drawing polylines on snapshots on iOS #615 (@IjzerenHein)
  • Add fitToCoordinates method #545 (@naoufal)
  • [Android] Fix list of examples on Android #597 (@spikebrehm)
  • [Android] Fix overlapping map issue #589 (@fdnhkj)
  • Add tile overlay support #595 (@cascadian, @spikebrehm)
  • [Android] Support Android LiteMode #546 (@rops)
  • s/lelandrichardson/airbnb/ #573 (@spikebrehm)
  • [Android] Don't fit to elements if no positions added #567 (@ryankask)
  • [iOS] Add class prefix to EmptyCalloutBackgroundView #563 (@terribleben)
  • [Android] Minor code cleanup #564 (@felipecsl)
  • Documentation updates #566, #591, #601, #602, #624 (@felipecsl, @Alastairm, @Keksike, @bbodenmiller)

0.8.2 (September 8, 2016)

We realized immediately after publishing 0.8.1 that the NPM package contained some test code in the example2/ directory that contained a copy of the react-native package, causing this packager error:

Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: String.prototype.es6
  Paths: /Users/<path to project>/node_modules/react-native-maps/example2/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js collides with /Users/<path to project>/node_modules/react-native/packager/react-packager/src/Resolver/polyfills/String.prototype.es6.js

This error is caused by a @providesModule declaration with the same name across two different files.

0.8.2 is identical to 0.8.1, except with the offending code removed from the NPM package.

0.8.1 (September 8, 2016) [DEPRECATED]

NOTE: 0.8.1 has been unpublished from NPM because it was faulty. Please use 0.8.2.

Patches

  • [Android] Use latest available (wildcard version) of RN to build Android (PR #547)
  • [Android] Use Activity to call MapsInitialier.initialize() (PR #449)
  • [Android] Fix file path for AirMapModule (PR #526)
  • [Android] Fix path to React Native in node_modules (PR #527)
  • [Android] Bump Google Play Services dependency to 9.4.0 (PR #533)
  • [iOS] Fix a few warnings (PR #534)
  • [JS] Fix ESLint violations (PR #515)

0.8.0 (August 30, 2016)

Breaking Changes

Patches

  • [android] Add showsMyLocationButton prop (#382)

  • Add fitToSuppliedMarkers() method (#386)

  • [ios] Update AirMapMarker to use loadImageWithURLRequest (#389)

  • Improvements to watch and copy script (#445)

  • [ios] Added check on marker class in predicate (#485)

  • Use StyleSheet.absoluteFillObject where appropriate (#500) and (#493)

  • Add ESLint and fix a number of linting violations (#501)

  • Remove unused NativeMethodsMixin for compat with RN 0.32 (#511)

0.7.1 (July 9, 2016)

Patches

  • Fix iOS CocoaPods Issue (#308)

0.7.0 (July 9, 2016)

Breaking Changes

  • RN 0.29 compatibility changes (#363 and #370)

Patches

  • Fixing scrolling map inside a scrollView (#343)

  • Fix shouldUsePinView (#344)

  • Not calling setLoadingIndicatorColor when null (#337)

  • Fixes Undefined symbols for architecture x86_64: “std::terminate()” (#329)

0.6.0

0.5.0

  • [Android] Updated package to com.airbnb.android.react.maps (PR #225)
  • [Android] Lint fixes (PR #232)

0.4.0

  • Initial release