power_geojson 1.0.6+12 copy "power_geojson: ^1.0.6+12" to clipboard
power_geojson: ^1.0.6+12 copied to clipboard

A Powerful tool for Geojson with flutter_map, styled from properties, supports esri json, soon supports multiple projection and coordinate systems

power_geojson #

Flutter power_geojson #

pub package GitHub stars

A Flutter package for easily displaying GeoJSON polygons and polylines on maps, with customizable styling options.

Features #

  • Display GeoJSON markers, polygons and polylines on maps.
  • Load GeoJSON data from network, assets, files, memory, or strings.
  • Customize the appearance and behavior of polygons and polylines.
  • Supports Flutter maps and map controllers.

Installation #

Add the following dependency to your pubspec.yaml:

dependencies:
  power_geojson: latest

Certainly! Below is a template for a README.md file for your Flutter package based on the provided code snippets. You can customize it further with additional details and examples as needed:

markdownCopy code

Flutter PowerGeoJSON #

pub package GitHub stars A Flutter package for easily displaying GeoJSON polygons and polylines on maps, with customizable styling options.

Features #

  • Display GeoJSON polygons and polylines on maps. - Load GeoJSON data from network, assets, files, memory, or strings. - Customize the appearance and behavior of polygons and polylines. - Supports Flutter maps and map controllers.

Installation #

Add the following dependency to your

pubspec.yaml:
dependencies:

power_geojson: latest

Usage #

Displaying GeoJSON Polygons #

import 'package:power_geojson/power_geojson.dart';  
PowerGeoJSONPolygons.asset(   
    'assets/polygons.geojson',   
    builder: (coordinates, properties) {     
        return Polygon(       
            points: coordinates,       
            // Customize polygon appearance here       
            fillColor: Colors.blue,       
            borderStokeWidth: 2,     
            );   
        }, 
    )

Displaying GeoJSON Polylines #

import 'package:power_geojson/power_geojson.dart';  PowerGeoJSONPolylines.asset(   
    'assets/polylines.geojson',   
    builder: (polylineProperties, properties) {
         return Polyline(
           points: polylineProperties,
       // Customize polyline appearance here
       color: Colors.red,
       strokeWidth: 3.0,
     );   
     }, 
    )

For more detailed usage examples and customization options, refer to the documentation.

Documentation #


Full documentation for this package can be found on the pub.dev page.

Changelog #


See the CHANGELOG.md file for details about recent updates.

Issues and Contributions #


Please file any issues, bugs, or feature requests on the

. Contributions are welcome!

License #


This project is licensed under the MIT License - see the LICENSE file for details.

2
likes
0
pub points
33%
popularity

Publisher

unverified uploader

A Powerful tool for Geojson with flutter_map, styled from properties, supports esri json, soon supports multiple projection and coordinate systems

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, console_tools, enhanced_future_builder, flutter, flutter_map, geodesy, geojson_vi, http, latlong2, path_provider

More

Packages that depend on power_geojson