Is it possible to use OpenStreetMaps in Pluto yet? (through OpenStreetMapsX.jl package?)
Thanks!
Is it possible to use OpenStreetMaps in Pluto yet? (through OpenStreetMapsX.jl package?)
Thanks!
This works without additional support.
In case someone else is looking for a code:
map_data = get_map_data("./filename.osm")
begin
m = map_data
Random.seed!(2);
pointA = point_to_nodes(generate_point_in_bounds(m), m)
pointB = point_to_nodes(generate_point_in_bounds(m), m)
sr = shortest_route(m, pointA, pointB)[1]
end
Had these packages on:
using OpenStreetMapX
using OpenStreetMapXPlot