Skip to content

Commit

Permalink
include Antimeridian plugin in vendor
Browse files Browse the repository at this point in the history
  • Loading branch information
christinach committed Jan 30, 2019
1 parent c5852af commit c41dd83
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/features/search_results_map_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# Example bbox for q: East Asia and Oceania.
# "-298.12500000000006,-89.68308276560911,298.12500000000006,89.68308276560914"
left, bottom, right, top = bbox.split(',')
expect(left.to_f).to be_within(1).of(-298)
expect(left.to_f).to be_within(1).of(-299)
expect(bottom.to_f).to be_within(1).of(-89)
expect(right.to_f).to be_within(1).of(298)
expect(right.to_f).to be_within(1).of(301)
expect(top.to_f).to be_within(1).of(89)
end
scenario 'longitude crosses the antimeridian - area of Alaska' do
Expand Down
326 changes: 326 additions & 0 deletions vendor/assets/javascripts/leaflet.antimeridian-src.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c41dd83

Please sign in to comment.