Skip to content

fix(LocationSelector): rename components and fix unit tests - #173

Merged
eszthoff merged 2 commits into
masterfrom
95-fix-location-selector
Sep 26, 2019
Merged

fix(LocationSelector): rename components and fix unit tests#173
eszthoff merged 2 commits into
masterfrom
95-fix-location-selector

Conversation

@eszthoff

@eszthoff eszthoff commented Sep 25, 2019

Copy link
Copy Markdown
Contributor

Story: ONEUI-95

BREAKING CHANGE: LocationSelector and related components has been renamed. For top level use LocationSelector (instead of LocationSelectorWithGoogleLoader which has been deprecated). For sub components see documentation.

lng: center.lng(),
lat: center.lat(),
lng: typeof center.lng === 'function' ? center.lng() : center.lng,
lat: typeof center.lat === 'function' ? center.lat() : center.lat,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I forgot, what's the point of having lat lng as functions?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sometimes google returns it as a component/function. I'm also a bit confused when is which, but this way we are sure to capture it.

@eszthoff
eszthoff merged commit c6f36db into master Sep 26, 2019
@eszthoff
eszthoff deleted the 95-fix-location-selector branch September 26, 2019 10:36
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.

2 participants