174 Commits
Author SHA1 Message Date
CaptainJeff 5a2c27a6dd updating pods for compile error (#3011) 2019-08-14 07:52:50 -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
Christopher Dro f9fef92d9a [0.25.0] Release 2019-07-11 10:19:50 -07:00
Dan Tamas dbf746d66c Unify eslint with react-community standard (#2862)
* move eslitnt rules to @react-native-community/eslint-config

* gitignore VSCode workspace settings

* update eslint related packages and remove airbnb ones

* add .prettierrc config

* automated fix by eslint and prettier

* remove custom eslint rules

* remove never reported elint exceptions

* remove unlimited eslint-disable exceptions

* fix  formating

* fix inline styles

* fix react to 16.8.3 and remove babel-preset-react-native
2019-05-15 15:08:19 +02:00
Daniel Dimitrov 35e96432e7 TestID's for e2e automation (#2253)
* re-applying pull request 1170

It seems that the following pull https://github.com/react-community/react-native-maps/pull/1170 request has been abandoned, but testID is still required if one wants to make e2e tests

https://github.com/react-community/react-native-maps/issues/2252

* Update App.js
2019-04-14 16:57:14 -07:00
Nizam Moidu ce80b43f78 Support for WMS Layer support (#2568)
* [WIP] Geoserver layer Apple Maps

* [WIP] Google Maps layer doesnt work yet

* [iOS] [GoogleMap] support for WMS layers

* updated AirMaps xcode project with new sources

* [Android] support for WMS layer

* refactor to MapWMSTile

* react example for WMS tile

* WMS Tile sample list item

* lint corrections
2019-04-14 16:30:15 -07:00
Christopher Dro e749b9b50b [GoogleMaps] Update pod SDK to 3.0.3 (#2812)
[GoogleMaps] Update podspec to use GoogleMaps 3.0.3
2019-04-14 15:48:00 -07:00
zupao 723db2caba [Android] Marker share icon image (#2741)
* Add a test example to add massive number of markers on map

* Share image for markers to reduce memory usage

Use a shared image icon for markers instead of loading and creating
bitmap for each marker, which uses more memory in case when we have
a lot of markers but only use a limited set of images.
2019-04-11 17:51:47 -07:00
Christopher Dro b7cba7d161 [0.24.0] Release 2019-04-11 17:39:19 -07:00
DillionMango 12614e13af fix func 'randomColor' in DefaultMarkers.js (#2799) 2019-04-08 11:22:54 +02:00
Frieder Bluemle 00552eaa37 Upgrade Example to react-native to 0.59.3 (#2792) 2019-04-05 13:27:14 +02: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
Frieder Bluemle d8359648b3 Fix Android dependencies and build errors (#2720)
* Update yarn.lock

* Remove obsolete files and folders

- Delete compiled files
- Remove obsolete Gradle wrapper leftover
- Remove Eclipse project leftover

* Update .gitignore

* Fix Android dependencies and build errors

- Update Gradle wrapper to 4.10.3
- Update Android Gradle plugin to 3.2.1
- Remove unused appcompat-v7 dependency from lib project
2019-03-08 06:51:13 -08:00
Oliver Dolgener 51ff72393b [0.23.0] Release (#2666)
* add changelog

* change version to 0.23.0
2019-01-17 01:00:25 -08:00
Man Wei Huang f24e4b5a12 Fix path for yoga in Podfile (#2414) 2019-01-08 14:57:55 -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
Fedir Ushakov c7a55f5e2b [0.22.1] Release (#2574)
* prepare for release 0.22.1

* add latest commit
2018-11-08 09:58:57 -08:00
Todor1 0e38786ef7 [0.22.0] Release (#2535)
* CHANGELOG wip

* CHANGELOG wip2

* CHANGELOG wip3

* bump version

* bump versions in Podfile.lock and gradle.properties

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-10-11 08:46:15 -07:00
ITONE\bussakorn.wonghom 3c48209322 fix indentations 2018-08-22 16:27:20 +07:00
ITONE\bussakorn.wonghom 0d757394c1 fix intendations 2018-08-22 16:21:56 +07:00
ITONE\bussakorn.wonghom 770b4b60c4 fix indent 2018-08-22 16:15:22 +07:00
ITONE\bussakorn.wonghom 6fd2483cb2 Add indoor events support for Android/iOS 2018-08-22 15:46:01 +07:00
Dan Tamas c3b380272b Revert "Added MBTiles support for iOS and Android (#2208)" (#2387)
This reverts commit 2d760e19b1.
2018-07-19 14:27:56 +02:00
Christoph 2d760e19b1 Added MBTiles support for iOS and Android (#2208)
* Added MBTiles support for iOS and Android

* Added changes regarding the comments of @h3ll0w0rld123 from here: https://github.com/react-community/react-native-maps/pull/2208#discussion_r182597094

* Added whitespaces

* Hotfix: Imported exceptions. Changed database.close()

* Hotfix: Removed the finally statemend. Resulted in always returning null

* Removed repetition of returns. Moved everything into finally statement instead

* Throwing exceptions

* Added MapView.MbTile to Readme.

Inclduded the component in the Readme

* Added example file

* Included more information in Readme

* Edited example file accodring to linter errors in Pull Request

* Edited index.d.ts according to merge conflicts in Pull Request. Had to change a few lines

* Edited example file according to linter errors in merge request

* Edited example file according to linter errors in merge request. I am starting not to like Travis...

* Edited example file according to linter errors in merge request. I am starting not to like Travis...
2018-07-19 11:32:36 +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
Will Battel c53ff0ad26 v0.21.0 (#2146)
* Bump version to 0.21.0

* v0.21.0

* v0.21.0

* v0.21.0
2018-04-01 10:06:11 -07:00
Harry Lachenmayer 39d48b15a6 Upgrade React Native peer dependency to 0.54. (#2115)
* Upgrade React Native dev dependency to 0.54.2.

The Podfile is updated in line with the required React Native dependency changes.

This commit also makes the following changes to how Ruby gems are installed:

1. Remove the bundler "binstubs" which were previously in `examples/ios`.

    Binstubs exist so that Ruby "binaries" can be executed without using
    `bundle exec`. See here for an explanation:
    https://github.com/rbenv/rbenv/wiki/Understanding-binstubs#project-specific-binstubs

    The only place bundles are used currently is in the `build:ios` script in
    `package.json`. This already uses `bundle exec`, so the binstubs were
    actually never used.

2. Install the Rubygem bundles locally in `example/ios/bundles`.

    `bundler` previously installed the dependencies in the global gems directory.
    If you are using the default macOS Ruby installation, this requires `sudo`.

    Since we already install node_modules & pods within the repo, I believe it
    makes sense to also install these locally.

3. Update the `Gemfile.lock`.

    The current `Gemfile.lock` specified an outdated version of Cocoapods.
    This throws a warning on the current example Podfile.
    Cocoapods is now updated to version 1.4.0.

* Delete unused example flowconfig.

* Make further changes according to https://github.com/ncuillery/rn-diff

* GLog was renamed to glog in RN 0.54.
https://github.com/facebook/react-native/commit/2fef1bafc8bee33432486212caf4fef5c659dd37

* Add a note in the installation docs for RN <0.54
2018-03-27 20:26:52 +02:00
Harry Lachenmayer 80166b3e1f Fix example project setup (#2094)
* fix incorrect Podfile comment

* fix syntax error in installation doc too.
2018-03-16 13:22:46 +01:00
Vinicius Santana 37c9ac6968 removed BatchedBridge from docs/installation.md (#2065)
* removed BatchedBridge from docs/installation.md

* remove BatchedBridge in podfile only for RN 0.54+
2018-03-13 14:36:44 +01: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
Taro Matsuzawa aka. btm 42ff69aa26 Support Map.Overlay for iOS (#2022)
* Support Map.Overlay for iOS

* change using image in example

* add overlay support to Google Maps API for iOS

* documented limitation in Overlay for iOS

* fix MKMapRectMake params from 'bottom to top' to 'top to bottom'

* remove limitation
2018-02-20 17:10:35 +01:00
David f7d45472e2 adding onMyLocationChange event 2018-02-18 13:21:10 +01:00
Christopher Dro 106f0ca577 v0.20.1 2018-02-13 07:48:43 -08:00
Christopher Dro 0d376464a3 v0.20.0 2018-02-09 11:15:15 +01:00
Alexander Veligurov 5b9ef6d6e4 Merge pull request #1996 from smellman/mapoverlay-android-fix
Fix Map.Overlay for android
2018-01-27 21:11:46 -03:00
Taro Matsuzawa 48d3f09e87 Merge branch 'master' of github.com:airbnb/react-native-maps into mapoverlay-android-fix 2018-01-27 17:22:34 +09:00
Taro Matsuzawa 31ff2711c4 Refactoring Map.Overlay for android
- fix LatLngBounds order
- LatLngBounds use Double instead of String
- enable to image readable and support URI
- added two examples
2018-01-27 17:12:40 +09:00
Daniel Playfair Cal a1f5f8e044 Merge remote-tracking branch 'upstream/master' into es6-exports 2018-01-26 12:20:14 +11:00
BEGEMOT9I 8363c7c011 Add native animation for Markers on Android (with documentation) (#1976)
* added functionality for smooth marker movement on android

* added docs for new functionality

* edited example of marker animation

* fixed formatting

* removed package-lock
2018-01-22 16:55:14 +01:00
Daniel Playfair Cal c44b80de2b Events example: Call event.persist() where appropriate to avoid synthetic events being recycled before setState occurs 2018-01-22 09:56:28 +11:00
Daniel Playfair Cal 100c50aa05 Update examples and documentation to use new es6 exports 2018-01-22 09:41:27 +11:00
Daniel Playfair Cal 9f3c5f6e8b Switch to using es6 exports 2018-01-21 18:57:00 +11:00
Alexander Veligurov 153257316a Fix build example for android 2018-01-12 21:25:01 -03:00
Hein Rutjes fef05cdec5 Add gradient/multi-color polyline support for iOS (MapKit) (#1911)
* Add multi/gradient polyline support for iOS (MapKit)

* Fixed MapExplorer not building with RN51

* Renamed color/color2 to startColor & endColor for new Polyline renderer

* Fixed gradient line sometimes not visible on certain zoom resolutions
2017-12-23 14:05:13 +01:00
youpin 9ebde73ff1 change name of project (#1910) 2017-12-21 23:14:25 +01:00
Jaroslav Kubíček c51b0822f5 Fix example with animated markers (#1840)
- AnimatedRegion is property of MapView
- make sure animate method is executed in correct context
2017-12-15 15:39:21 +01:00