A RetroSearch Logo

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

Search Query:

Showing content from https://developers.google.com/android/reference/com/google/android/gms/maps/model/MapStyleOptions below:

MapStyleOptions | Google Play services

MapStyleOptions

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

Defines styling options for a GoogleMap.

With style options you can customize the presentation of the standard Google map styles, changing the visual display of features like roads, parks, and other points of interest. As well as changing the style of these features, you can also hide features entirely. This means that you can emphasize particular components of the map or make the map complement the content of your app.

Developer Guide

For more information, read the developer guide.

Inherited Constant Summary From interface android.os.Parcelable int CONTENTS_FILE_DESCRIPTOR int PARCELABLE_WRITE_RETURN_VALUE Public Constructor Summary MapStyleOptions

(

String

json)

Creates a new set of map style options based on the given JSON styling string.

Public Method Summary Inherited Method Summary From class java.lang.Object Object

clone()

boolean void

finalize()

final Class<?>

getClass()

int

hashCode()

final void

notify()

final void

notifyAll()

String

toString()

final void

wait(long arg0, int arg1)

final void

wait(long arg0)

final void

wait()

From interface android.os.Parcelable abstract int

describeContents()

abstract void writeToParcel

(

Parcel

arg0, int arg1)

Public Constructors public MapStyleOptions (String json)

Creates a new set of map style options based on the given JSON styling string.

Parameters json The JSON string containing map style options. Must not be null. Public Methods public static MapStyleOptions loadRawResourceStyle (Context clientContext, int resourceId)

Creates a new set of map style options based on the a JSON styling string loaded from a raw resource identifier.

Parameters clientContext Client context for the supplied resourceId. resourceId Id of a raw resource containing the styling JSON. Returns public void writeToParcel (Parcel out, int flags)

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-10-31 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 2024-10-31 UTC."],[[["`MapStyleOptions` allows customization of Google Maps styles, impacting the visual display of features like roads and parks."],["You can change the style of map features or hide them completely to emphasize specific elements or complement your app's content."],["Style options are defined using a JSON string, which can be loaded from a raw resource or directly passed as a string."],["`loadRawResourceStyle` and the constructor are the primary methods to create `MapStyleOptions` instances."]]],[]]


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