Skip to content

Commit

Permalink
Upgrade to Extents 0.1.2 (#63)
Browse files Browse the repository at this point in the history
* Upgrade to Extents 0.1.2

* Explicitly restrict ImageMagick_jll

Restrict ImageMagick_jll to 6.9.12.
Fixes ImageMagick_jll dependancies causing issues #58

* Actually restrict ImageMagick_jll
  • Loading branch information
felixcremer authored Nov 3, 2023
1 parent 09ef6b3 commit 9b50c4f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ GeoInterface = "cf35fbd7-0cd7-5166-be24-54bfbe79505f"
GeometryBasics = "5c1252a2-5f33-56bf-86c9-59e7332b4326"
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3"
ImageMagick = "6218d12a-5da1-5696-b52f-db25d2ecc6d1"
ImageMagick_jll = "c73af94c-d91f-53ed-93a7-00f77d67a9d7"
LRUCache = "8ac3fa9e-de4c-5943-b1dc-09c6b5f20637"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Makie = "ee78f7c6-11fb-53f2-987a-cfe4a2b5a57a"
Expand All @@ -20,11 +21,12 @@ TileProviders = "263fe934-28e1-4ae9-998a-c2629c5fede6"

[compat]
Colors = "0.12"
Extents = "0.1"
Extents = "0.1.2"
GeoInterface = "1"
GeometryBasics = "0.4"
HTTP = "1"
ImageMagick = "1"
ImageMagick_jll = "~6.9.12"
LRUCache = "1"
Makie = "0.19"
MapTiles = "1"
Expand Down
4 changes: 2 additions & 2 deletions src/Tyler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,9 @@ function update_tiles!(tyler::Map, area::Union{Rect,Extent})
halo_area = grow_extent(area, tyler.halo) # We don't mind that the middle tiles are the same, the OrderedSet will remove them
# Define all the tiles in the order they will load in
areas = if Extents.intersects(mouse_halo_area, area)
mha = Extents.intersect(mouse_halo_area, area)
mha = Extents.intersection(mouse_halo_area, area)
if Extents.intersects(mouse_area, area)
[Extents.intersect(mouse_area, area), mha, area, halo_area]
[Extents.intersection(mouse_area, area), mha, area, halo_area]
else
[mha, area, halo_area]
end
Expand Down

0 comments on commit 9b50c4f

Please sign in to comment.