Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS] Added Google Maps Circle, Polygon, Polyline, MapType Support #722

Merged
merged 4 commits into from
Oct 27, 2016

Conversation

nitaliano
Copy link
Contributor

Needed the ability to draw on maps and switch the base map using the Google Maps SDK so I took a stab at adding this support.

@volkangurel
Copy link

👍

Copy link
Contributor

@gilbox gilbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is awesome, thanks for taking this on! just one question.

@@ -502,9 +498,6 @@ class MapView extends React.Component {
onMapReady: this._onMapReady,
onLayout: this._onLayout,
};
if (Platform.OS === 'ios' && ANDROID_ONLY_MAP_TYPES.includes(props.mapType)) {
props.mapType = MAP_TYPES.STANDARD;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you consider keeping this check in case someone is still using mapkit?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gilbox good point! I can add this check back and base it off the platform and provider

@nitaliano
Copy link
Contributor Author

Added the check back

@gilbox
Copy link
Contributor

gilbox commented Oct 24, 2016

this lgtm.. @spikebrehm wanna take a peek?

@nitaliano nitaliano changed the title [iOS] Added Google Maps Polygon, Polyline, MapType Support [iOS] Added Google Maps Circle, Polygon, Polyline, MapType Support Oct 25, 2016
@nitaliano
Copy link
Contributor Author

@gilbox @spikebrehm Just added circle support

@enagy27
Copy link

enagy27 commented Oct 25, 2016

👍

@Stonelinks
Copy link

Stonelinks commented Oct 26, 2016

👍
(In case you were wondering, Airware has started playing around with this)

@manelpb
Copy link

manelpb commented Oct 26, 2016

This is perfect! Guys please merge this pull-request!!

@spikebrehm
Copy link

LGTM! Thanks 🍻

@spikebrehm spikebrehm merged commit 2486841 into react-native-maps:master Oct 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants