public class Marker extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Marker.Anchor |
Modifier and Type | Field and Description |
---|---|
Marker.Anchor |
anchor |
android.graphics.Bitmap |
bitmap
Bitmap of marker.
|
int |
icon
Resource id of marker.
|
double |
latitude |
double |
longitude |
String |
snippet
Snippet displayed below the title.
|
String |
title
The title of the marker.
|
Constructor and Description |
---|
Marker(double aLatitude,
double aLongitude) |
Modifier and Type | Method and Description |
---|---|
Marker |
anchor(Marker.Anchor aAnchor)
Anchor of marker.
|
Marker |
bitmap(android.graphics.Bitmap aBitmap)
Bitmap of marker.
|
Marker |
icon(int aIcon)
Resource id of marker.
|
Marker |
snippet(String aSnippet)
Snippet displayed below the title.
|
Marker |
title(String aTitle)
The title of the marker.
|
public final double latitude
public final double longitude
public String title
public String snippet
public int icon
public android.graphics.Bitmap bitmap
icon
.public Marker.Anchor anchor
public Marker title(String aTitle)
public Marker snippet(String aSnippet)
public Marker icon(int aIcon)
public Marker bitmap(android.graphics.Bitmap aBitmap)
icon
.
This method returns the marker for convenient method chaining.public Marker anchor(Marker.Anchor aAnchor)
Marker.Anchor.BOTTOM_CENTER
.
This method returns the marker for convenient method chaining.Copyright © 2015. All Rights Reserved.