Skip to content

Conversation

etpinard
Copy link
Contributor

@etpinard etpinard added bug something broken status: reviewable labels Mar 30, 2018
@alexcjohnson
Copy link
Collaborator

What if you have lon but not lat for a point, or vice versa? Is that case handled elsewhere?

@etpinard
Copy link
Contributor Author

Is that case handled elsewhere?

Yes, early on in calc ->

https://github.com/plotly/plotly.js/blob/master/src/traces/scattergeo/calc.js#L36-L37

and note that scattermapbox reuses the scattergeo calc method:

https://github.com/plotly/plotly.js/blob/master/src/traces/scattermapbox/index.js#L17

@alexcjohnson
Copy link
Collaborator

Excellent. 💃

@etpinard etpinard merged commit ffcdea9 into master Mar 30, 2018
@etpinard etpinard deleted the scattermapbox-select-null branch March 30, 2018 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants