Michael Jemmeson > Geo-JSON > Geo::JSON::LineString

Download:
Geo-JSON-0.007.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.007   Source  

NAME ^

Geo::JSON::LineString - object representing a geojson LineString

SYNOPSIS ^

    use Geo::JSON::LineString;
    my $ls = Geo::JSON::LineString->new({
        coordinates => [ [ 51.50101, -0.14159 ], ... ],
    });
    my $json = $ls->to_json;

DESCRIPTION ^

A GeoJSON object with a coordinates attribute of an arrayref of positions.

See Geo::JSON for more details.

syntax highlighting: