ee.Feature.getNumber
Extract a property from a feature.
Usage | Returns |
---|
Feature.getNumber(property) | Number |
Argument | Type | Details |
---|
this: object | Element | The feature to extract the property from. |
property | String | The property to extract. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[[["The `Feature.getNumber()` method extracts a numerical property from a given feature."],["This method requires the feature object and the name of the property as input, returning the numerical value of that property."]]],["This function extracts a property from a feature object. It utilizes the `Feature.getNumber(property)` method, returning a Number. The function takes two arguments: `this`, representing the feature object (of type Element) from which to extract the data, and `property`, a String specifying the desired property to retrieve. The function retrieves a numeric value associated with the provided property name.\n"]]