1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
#[macro_use]
extern crate log;

mod mapper;

fn main() {
    widgetry::run(
        widgetry::Settings::new("OSM parking mapper").read_svg(Box::new(abstio::slurp_bytes)),
        |ctx| {
            let mut opts = map_gui::options::Options::default();
            opts.min_zoom_for_detail = 2.0;
            map_gui::SimpleApp::new(ctx, opts, (), |ctx, app| {
                vec![mapper::ParkingMapper::new(ctx, app)]
            })
        },
    );
}