GoogleMaps Framework Reference
GMSStyleSpansOffset
Similar to GMSStyleSpans(path, styles, lengths, lengthKind) but additionally takes an initial
length offset that will be skipped over relative to the lengths
array.
lengthOffset
the length (e.g. in meters) that should be skipped initially from lengths
.
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 2024-11-15 UTC.
[null,null,["Last updated 2024-11-15 UTC."],[[["`GMSStyleSpansOffset` creates an array of style spans for a given path, similar to `GMSStyleSpans`."],["It allows specifying an initial length offset, effectively skipping a portion of the path before applying styles based on the provided lengths."],["This function is useful for customizing the styling of specific segments of a path by controlling the starting point of style applications."]]],[]]