|
1 | 1 | using Makie: left, right, top, bottom
|
2 |
| -using Makie.MakieLayout: height, width |
| 2 | +using Makie: height, width |
3 | 3 |
|
4 | 4 | """
|
5 | 5 | GeoAxis(fig_or_scene; kwargs...) → ax::Axis
|
@@ -121,8 +121,7 @@ function GeoAxis(args...;
|
121 | 121 | Makie.Observables.connect!(ax.scene.transformation.transform_func, _transformation)
|
122 | 122 |
|
123 | 123 | # Plot coastlines
|
124 |
| - coast_line = Makie.convert_arguments(PointBased(), GeoMakie.coastlines())[1] |
125 |
| - |
| 124 | + coast_line = GeoMakie.geoJSONtraitParse(GeoMakie.coastlines()) |
126 | 125 | coastplot = lines!(ax, coast_line; color = :black, coastline_attributes...)
|
127 | 126 | translate!(coastplot, 0, 0, 99) # ensure they are on top of other plotted elements
|
128 | 127 | xprot = ax.xaxis.protrusion[]
|
@@ -204,11 +203,11 @@ function draw_geoticks!(ax::Axis, hijacked_observables, line_density, remove_ove
|
204 | 203 | xlimits[] = (lmin[1], lmax[1])
|
205 | 204 | ylimits[] = (lmin[2], lmax[2])
|
206 | 205 |
|
207 |
| - _xtickvalues, _xticklabels = Makie.MakieLayout.get_ticks(xticks, identity, xtickformat, xlimits[]...) |
208 |
| - _ytickvalues, _yticklabels = Makie.MakieLayout.get_ticks(yticks, identity, ytickformat, ylimits[]...) |
| 206 | + _xtickvalues, _xticklabels = Makie.get_ticks(xticks, identity, xtickformat, xlimits[]...) |
| 207 | + _ytickvalues, _yticklabels = Makie.get_ticks(yticks, identity, ytickformat, ylimits[]...) |
209 | 208 |
|
210 |
| - _xminortickvalues = Makie.MakieLayout.get_minor_tickvalues(xminor, identity, _xtickvalues, xlimits[]...) |
211 |
| - _yminortickvalues = Makie.MakieLayout.get_minor_tickvalues(yminor, identity, _ytickvalues, ylimits[]...) |
| 209 | + _xminortickvalues = Makie.get_minor_tickvalues(xminor, identity, _xtickvalues, xlimits[]...) |
| 210 | + _yminortickvalues = Makie.get_minor_tickvalues(yminor, identity, _ytickvalues, ylimits[]...) |
212 | 211 |
|
213 | 212 | _xtickpos_in_inputspace = Point2f.(_xtickvalues, ylimits[][1])
|
214 | 213 | _ytickpos_in_inputspace = Point2f.(xlimits[][1], _ytickvalues)
|
|
0 commit comments