New basemap styling is coming soon to Google Maps Platform. This update to map styling includes a new default color palette, modernized pins, and improvements to map experiences and usability. All map styles will be automatically updated in March 2025. For more information on availability and how to opt in earlier, see New map style for Google Maps Platform.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-20 UTC."],[[["`SquareCap` creates a squared-off cap for the ends of a `Polyline` with a solid stroke pattern, extending half the stroke width beyond the vertex."],["It inherits from the `Cap` class and implements the `Parcelable` interface for object serialization."],["You can create a `SquareCap` using its default constructor: `SquareCap()`."],["The `toString()` method provides a string representation of the `SquareCap` object."]]],["`SquareCap`, a subclass of `Cap`, extends a `Polyline`'s solid stroke pattern by squaring it off beyond the start or end vertex. It offers a constructor, `SquareCap()`, to create instances. The class inherits methods for equality checks (`equals`), hash code generation (`hashCode`), and string representation (`toString`). Additionally, it implements `Parcelable`, providing methods like `describeContents()` and `writeToParcel()` for data serialization. The primary function of `SquareCap` is to modify the visual termination of a polyline.\n"]]