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.
The Maps SDK for iOS v3.10.0 Beta introduces the following new features for you to try:
Cloud-Based Map Styling/Maps customization
Polyline customization: stamped polylines
Cloud-Based Map Styling/Maps customization (beta)
You can now create custom styles, and use tokens to assign them to maps in your
apps and websites. For more information, see the see the
iOS Maps Customization Overview.
Polyline customization: stamped polylines
You can set the appearance of a polyline to a repeating bitmap texture by using GMSTextureStyle.
The images cover the line completely, but will be cut off around end points and vertices.
To create a stamped polyline, create a GMSStampStyle of GMSTextureStyle.
Then set this property on the shape's options object by using stampStyle, as shown here:
[null,null,["Last updated 2025-03-07 UTC."],[[["The Beta version of the Maps SDK for iOS is being deprecated and will be decommissioned; features accessed through it will be supported in a future SDK version."],["This Beta release (v3.10.0) introduces Cloud-Based Map Styling for customizing maps in apps and websites."],["This release also includes Polyline Customization, allowing developers to apply repeating bitmap textures to polylines using `GMSTextureStyle`."]]],["The Beta SDK is deprecated and unavailable for new use. The Maps SDK for iOS v3.10.0 Beta introduces cloud-based map styling, allowing custom style creation and token assignment. It also introduces stamped polyline customization. To create a stamped polyline, a `GMSStampStyle` of `GMSTextureStyle` must be created and applied to the shape's options using `stampStyle`. Code examples in Swift and Objective-C demonstrate setting a repeating bitmap texture on a polyline.\n"]]