#pragma once #include "image/image.h" #include "image/text.h" #include #include #include #include namespace map { void drawProjectedMapGeoJson(std::vector shapeFiles, image::Image &image, std::vector color, std::function(double, double, int, int)> projectionFunc, int maxLength = 2147483647); void drawProjectedCitiesGeoJson(std::vector shapeFiles, image::Image &image, image::TextDrawer &text_drawer, std::vector color, std::function(double, double, int, int)> projectionFunc, int font_size = 50, int cities_type = 0, int cities_scale_rank = 10); void drawProjectedMapShapefile(std::vector shapeFiles, image::Image &image, std::vector color, std::function(double, double, int, int)> projectionFunc); void drawProjectedMapLatLonGrid(image::Image &image, std::vector color, std::function(double, double, int, int)> projectionFunc); /* struct CustomLabel { std::string label; double lat; double lon; }; void drawProjectedLabels(std::vector labels, image::Image &image, image::TextDrawer &text_drawer, std::vector color, std::function(double, double, int, int)> projectionFunc, double ratio = 1); */ }