2 * Hic Est Leo -- Global Map Operations
4 * (c) 2014--2015 Martin Mares <mj@ucw.cz>
12 /* Map configuration */
14 extern double map_min_x, map_min_y;
15 extern double map_max_x, map_max_y;
16 extern double page_width, page_height;
17 extern uns map_clip, map_rotate, map_draw_border;
18 extern char *map_projection;
19 extern char *map_svg_output;
21 // Remember to update map.c:map_formats
22 enum data_source_type {
34 clist styles; // of data_source_style
40 struct data_source_style {
45 struct css_sheet *css;
48 extern clist map_sources;
50 /* Calculated by map_set_scale() */
52 extern double map_scale;
53 extern double page_offset_x, page_offset_y;
54 extern double page_map_width, page_map_height;
56 void map_set_scale(void);
57 bool map_object_visible_p(struct osm_object *o);
59 void map_load_styles(void);
60 void map_load_sources(void);
61 void map_apply_styles(struct svg *svg);