# GMapsStatic [![Rust](https://github.com/lmammino/gmaps-static/actions/workflows/Rust.yml/badge.svg)](https://github.com/lmammino/gmaps-static/actions/workflows/Rust.yml) [![codecov](https://codecov.io/gh/lmammino/gmaps-static/branch/main/graph/badge.svg?token=4CNbvgaDc1)](https://codecov.io/gh/lmammino/gmaps-static) [![crates.io badge](https://img.shields.io/crates/v/gmaps-static.svg)](https://crates.io/crates/gmaps-static) [![Documentation](https://docs.rs/gmaps-static/badge.svg)](https://docs.rs/gmaps-static) Work in progress... ## Example ```rust use GMapsStatic::*; let map = UrlBuilder::new("YOUR_API_KEY".into(), (400, 300).into()) .scale(SCALE2) .center("Colosseo".into()) .zoom(STREETS) .format(GIF) .maptype(HYBRID) .region("it") .language("it"); println!("{}", map.make_url()); ``` This will generate the following URL: ```plain https://maps.googleapis.com/maps/api/staticmap?size=400x300¢er=Colosseo&scale=2&format=gif&maptype=hybrid&language=it®ion=it&key=YOUR_API_KEY ``` ![A map of the area sorrounding the Coliseum generated with GMapsStatic](./images/coliseum.gif)