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

Document purpose of latitudeDelta and longitudeDelta #637

Closed
bbodenmiller opened this issue Oct 3, 2016 · 7 comments
Closed

Document purpose of latitudeDelta and longitudeDelta #637

bbodenmiller opened this issue Oct 3, 2016 · 7 comments
Labels
help wanted Extra attention is needed

Comments

@bbodenmiller
Copy link
Contributor

Would be nice if https://github.com/airbnb/react-native-maps/blob/master/docs/mapview.md or similar documented the purpose of latitudeDelta and longitudeDelta.

@christopherdro christopherdro added the help wanted Extra attention is needed label Oct 16, 2016
@peacechen
Copy link

I had to look this up too. It allows you to control how much of the map to display. In effect, the amount of "zoom".

latitudeDelta
The amount of north-to-south distance (measured in degrees) to display on the map. Unlike longitudinal distances, which vary based on the latitude, one degree of latitude is always approximately 111 kilometers (69 miles).

From
https://developer.apple.com/reference/mapkit/mkcoordinatespan/1452417-latitudedelta

@tak2siva
Copy link

tak2siva commented Nov 8, 2017

I found this easier to understand https://stackoverflow.com/a/36688156/2309704

@KangYoosam
Copy link

KangYoosam commented Feb 17, 2018

+1

@EnKrypt
Copy link

EnKrypt commented Apr 20, 2019

Why was this closed? I do not see the properties reflected on the documentation still.

Do you expect every user to google and come to this issue to look it up?

@christopherdro
Copy link
Collaborator

https://github.com/react-native-community/react-native-maps/blob/master/docs/overlay.md

@EnKrypt
Copy link

EnKrypt commented Apr 20, 2019

... what?

There is no mention of latitudeDelta or longitudeDelta in whatever you linked.

At this point I am very confused and convinced that this issue should be re-opened.

@EnKrypt
Copy link

EnKrypt commented Apr 20, 2019

Got it.

I supposed you meant to link this instead :

https://github.com/react-native-community/react-native-maps/blob/master/docs/mapview.md#types

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

6 participants