Skip to main content

encode_points

Function encode_points 

Source
pub fn encode_points(coords: &[(i32, i32)]) -> Vec<u32>
Expand description

Encode MVT geometry commands for a point or multipoint.

Each point becomes a MoveTo(1) command + (dx, dy).