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

make focus point easier to parse #24

Merged
merged 1 commit into from
May 28, 2020
Merged

make focus point easier to parse #24

merged 1 commit into from
May 28, 2020

Conversation

blackmad
Copy link
Contributor

I noticed myself being annoyed at copy & pasting in latlngs from elsewhere when the tool assumes lng/lat, so I made a radio button for that. Then I realized I'm often copying from geojson, so I added a permissive mode to parse that.

  • toggle for parsing as lat/lng or lng/lat
  • if it looks like it's maybe json, try to regexp out the point

- toggle for parsing as lat/lng or lng/lat
- if it looks like it's maybe json, try to regexp out the point
@blackmad blackmad merged commit ce141ff into master May 28, 2020
@blackmad blackmad deleted the latlnglnglat branch May 28, 2020 16:27
@orangejulius
Copy link
Member

Nice, that's super helpful.

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