1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! Vector Tile Service.
//!
//! The Vector Tile Service provides operations for:
//! - **getTile**: Retrieve Mapbox Vector Tile (MVT) format tiles
//! - **getStyle**: Retrieve Mapbox GL style JSON
//! - **getFonts**: Retrieve font glyphs for text rendering
//!
//! Vector tiles are a modern alternative to raster tiles, providing:
//! - Smaller file sizes (compressed vector data)
//! - Scalable rendering at any zoom level
//! - Dynamic styling on the client
//! - Better performance for interactive maps
//!
//! # Example
//!
//! ```no_run
//! use arcgis::{ApiKeyAuth, ArcGISClient, VectorTileServiceClient, TileCoordinate};
//!
//! # async fn example() -> arcgis::Result<()> {
//! let auth = ApiKeyAuth::new("YOUR_API_KEY");
//! let client = ArcGISClient::new(auth);
//! let vt_service = VectorTileServiceClient::new(
//! "https://basemaps.arcgis.com/arcgis/rest/services/World_Basemap_v2/VectorTileServer",
//! &client
//! );
//!
//! // Get a tile at zoom level 10, row 512, column 256
//! let tile_coord = TileCoordinate::new(10, 512, 256);
//! let tile_data = vt_service.get_tile(&tile_coord).await?;
//!
//! // Get the style JSON
//! let style = vt_service.get_style().await?;
//! # Ok(())
//! # }
//! ```
pub use VectorTileServiceClient;
pub use ;