GitHub repositoryOwnWeb/map_elevation

map_elevation

A widget to display elevation of a track (polyline) like Leaflet.Elevation

map_elevation project cover
Stars
29
Forks
10
Last push (UTC)
Aug 24, 2026
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

map_elevation

pub package

A widget to display elevation of a track (polyline)

Demo screenshot

Features

  • Draw elevation graph
  • Dispatch a notification with hover point on graph
  • Add colors for high elevation gradients
  • Ability to add child over graph

Getting Started

NotificationListener<ElevationHoverNotification>(
    onNotification: (ElevationHoverNotification notification) {
      setState(() {
        hoverPoint = notification.position;
      });

      return true;
    },
    child: Elevation(
      getElevationPoints(),
      color: Colors.grey,
      elevationGradientColors: ElevationGradientColors(
          gt10: Colors.green,
          gt20: Colors.orangeAccent,
          gt30: Colors.redAccent),
    )
)
OwnWeb GitHub avatar
GitHub author

OwnWeb ↗

LanguagesDartSwiftKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 4 items

  • flutter{"sdk":"flutter"}
  • latlong2^0.8.0
  • flutter_testDevelopment{"sdk":"flutter"}
  • pedanticDevelopment^1.9.0

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗