In [ ]:
    
#include "xleaflet/xmap.hpp"
#include "xleaflet/xbasemaps.hpp"
#include "xleaflet/xcircle.hpp"
#include "xleaflet/xcircle_marker.hpp"
#include "xleaflet/xrectangle.hpp"
    
In [ ]:
    
auto terrain = xlf::basemap({"Stamen", "Terrain"});
auto map = xlf::map_generator()
    .layers({terrain})
    .center({53, 354})
    .zoom(5)
    .finalize();
map
    
In [ ]:
    
auto circle = xlf::circle_generator()
    .location({50, 354})
    .radius(50000)
    .color("green")
    .fill_color("green")
    .finalize();
map.add_layer(circle);
    
In [ ]:
    
auto circle_marker = xlf::circle_marker_generator()
    .location({55, 360})
    .radius(50)
    .color("red")
    .fill_color("red")
    .finalize();
map.add_layer(circle_marker);
    
In [ ]:
    
circle_marker.radius = 100;
    
In [ ]:
    
auto rectangle = xlf::rectangle_generator()
    .bounds({{{52, 354}, {53, 360}}})
    .finalize();
map.add_layer(rectangle);