getElevationGraph abstract method
Method returns location elevation graph ElevationGraph
for specified tag
tag Graph tag in CMS
Returns Elevation graph instance or null.
Returns ElevationGraph of the current location with the specified tag, if it exists. If elevation graph with the specified tag doesn't exist, function returns null.
Example:
// Get elevation graph by tag
if (graphTags.isNotEmpty) {
ElevationGraph? elevationGraph = location.getElevationGraph(graphTags.first);
if (elevationGraph != null) {
demonstrateElevationGraphUsage(elevationGraph);
}
}
Implementation
ElevationGraph getElevationGraph(String tag);