A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/maps/documentation/android-sdk/v310-beta below:

Use Maps SDK for Android v3.1.0 BETA

Use Maps SDK for Android v3.1.0 BETA

Stay organized with collections Save and categorize content based on your preferences.

Beta SDK deprecation notice:

The Beta version of the SDK is deprecated and scheduled for decommissioning, and it's no longer available for new usage. The features described in this topic are currently accessed via the Beta SDK. A future version of the SDK will provide similar support for these features.

See the release notes for more information. Use the Maps V3 BETA Migration Tool to help with migrating from the deprecated Beta version to a supported version.

Version 3.1.0 beta of the Maps SDK for Android is a new implementation with the same API surface as the previous version (all classes and methods remain the same), and some new features for you to try:

This guide shows you how to use the new features.

Maps customization (beta)

cloud-based maps styling provides a variety of tools and features that let you customize and manage how your maps are styled. Rather than styling your map in code using the Maps APIs and SDKs, you can manage and style your maps in the Google Cloud console. For more information, see Android Map Customization Overview.

Marker collision handling (beta)

You can specify whether custom markers should override default basemap labels when there is a collision, and to indicate relative priority between custom markers. For more information, see Marker Collision Handling (Android).

Polyline Customization (beta)

There are now several new ways to customize the appearance of polylines:

Create a multicolored polyline

You can use spans to individually color segments of a polyline, by creating StyleSpan objects, and adding them to PolylineOptions using the addSpan() or addSpans() methods. By default, each item in the array will set the color of the corresponding line segment.

Create a gradient polyline

You can define a gradient by specifying two 32-bit alpha-red-green-blue (ARGB) integers, to specify the beginning and ending colors of the stroke. Set this property on the shape's options object by calling PolylineOptions.addSpan().

Create a stamped polyline

You can set the appearance of a polyline to a repeating bitmap texture. To do this, create a StampStyle of TextureStyle, then set this property on the shape's options object by calling PolylineOptions.addSpan().

Import the beta-compatible utility library

If you are using the Google Maps Android API utility library, you must also update your project dependencies to replace the existing version with the beta-compatible version using the following steps:

  1. Import the beta-compatible util library in your build.gradle file:
    implementation 'com.google.maps.android:android-maps-utils-v3:1.3.1'
  2. Remove the following from your build.gradle to remove non-beta-compatible utility library:
    implementation 'com.google.maps.android:android-maps-utils:1.3.1'

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 2025-08-14 UTC.

[[["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-08-14 UTC."],[[["The Beta version of the Maps SDK for Android is deprecated and will be decommissioned; a future version will offer similar features."],["Version 3.1.0 beta of the Maps SDK for Android introduces new features including maps customization, marker collision handling, and polyline customization."],["Developers can customize polylines with multicolored segments, gradient colors, and repeating bitmap textures."],["Users of the Google Maps Android API utility library need to update to a beta-compatible version."],["Sample apps demonstrating the new features are available on GitHub."]]],["The Beta SDK is deprecated; use the Migration Tool to transition to a supported version. Version 3.1.0 beta introduces new features: map customization via the Google Cloud console, marker collision handling to prioritize markers, and enhanced polyline customization. Polyline customization includes multicolored, gradient, and stamped polylines, achievable using `StyleSpan`, `PolylineOptions.addSpan()`, and `StampStyle`. The beta-compatible utility library is also to be imported by replacing existing dependencies. Sample apps are available on GitHub.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4