Enums.KmlUnitsType enumeration

Use the KMLUnitsType enumeration (either via the KMLImageCoordinate.xUnits and KMLImageCoordinate.yUnits properties) to establish the KML image coordinate system. Values of type fraction must be between 0.0 and 1.0. Values below 0.0 will be set to 0.0, and values above 1.0 will be set to 1.0. If a non-integral number is specified with a unit type of pixels or insetPixels, it will be rounded down to a whole number (e.g. 2.243 will be rounded to 2.0).

The KmlUnitsType can be one of:

ConstantDescription
Enums.KmlUnitsTypeFraction(0) Fraction is the default value. Treat the x/y value as a fraction of the width/height.
Enums.KmlUnitsTypePixels(1) Treat the x/y value as an integral number of pixels.
Enums.KmlUnitsTypeInsetPixels(2) Treat the x/y value as an integral number of pixels from the top right corner.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close