Skip to content

Commit

Permalink
translate tiles by -10 in z in default plot config
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Dec 31, 2024
1 parent 507e43b commit 53188fd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tile-plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,11 @@ function create_tileplot!(
colorrange=data.elevation_range,
config.attributes...
)
# so that things get plotted on top of this
# note that all translation / scaling is done by the arguments
# not by modifying the plot's transformation as was done in previous Tyler v0.1.5 and below
# so this should hold indefinitely
translate!(p, 0, 0, -10)
return p
end

Expand Down Expand Up @@ -368,4 +373,4 @@ function update_tile_plot!(
plot[1] = bounds
plot.color = reverse(data; dims=1)
return
end
end

0 comments on commit 53188fd

Please sign in to comment.