mirror of
https://github.com/googlemaps/android-samples.git
synced 2025-12-08 18:02:20 +00:00
chore: Update docs link for Cloud Based Map Styling.
This commit is contained in:
parent
4014eaf4bb
commit
31a5d6ce03
@ -9,7 +9,7 @@ import com.google.android.libraries.maps.SupportMapFragment;
|
||||
/**
|
||||
* This shows how to use Cloud-based Map Styling in a simple Activity. For more information on how
|
||||
* to style a map using this method, see:
|
||||
* https://developers.google.com/maps/documentation/android-sdk/cloud-styling-android
|
||||
* https://developers.google.com/maps/documentation/android-sdk/cloud-based-map-styling
|
||||
**/
|
||||
public class CloudBasedMapStylingDemoActivity extends AppCompatActivity implements OnMapReadyCallback {
|
||||
|
||||
|
||||
@ -32,25 +32,21 @@
|
||||
android:id="@+id/patternSolidBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternSolid"
|
||||
android:text="@string/pattern_solid" />
|
||||
<Button
|
||||
android:id="@+id/patternDottedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternDotted"
|
||||
android:text="@string/pattern_dotted" />
|
||||
<Button
|
||||
android:id="@+id/patternDashedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternDashed"
|
||||
android:text="@string/pattern_dashed" />
|
||||
<Button
|
||||
android:id="@+id/patternMixedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternMixed"
|
||||
android:text="@string/pattern_mixed" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
|
||||
@ -32,7 +32,7 @@ import com.google.android.libraries.maps.SupportMapFragment
|
||||
/**
|
||||
* This shows how to use Cloud-based Map Styling in a simple Activity. For more information on how
|
||||
* to style a map using this method, see:
|
||||
* https://developers.google.com/maps/documentation/android-sdk/cloud-styling-android
|
||||
* https://developers.google.com/maps/documentation/android-sdk/cloud-based-map-styling
|
||||
*/
|
||||
class CloudBasedMapStylingDemoActivity : AppCompatActivity(), OnMapReadyCallback {
|
||||
private var map: GoogleMap? = null
|
||||
|
||||
@ -32,25 +32,21 @@
|
||||
android:id="@+id/patternSolidBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternSolid"
|
||||
android:text="@string/pattern_solid" />
|
||||
<Button
|
||||
android:id="@+id/patternDottedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternDotted"
|
||||
android:text="@string/pattern_dotted" />
|
||||
<Button
|
||||
android:id="@+id/patternDashedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternDashed"
|
||||
android:text="@string/pattern_dashed" />
|
||||
<Button
|
||||
android:id="@+id/patternMixedBtn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:onClick="setPatternMixed"
|
||||
android:text="@string/pattern_mixed" />
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user