示例#1
0
 private MarkerItem getUserLocationMarker() {
   MarkerItem markerItem = new MarkerItem("ME", "Current Location", getUserLocationPoint());
   MarkerSymbol symbol =
       AndroidGraphics.makeMarker(
           getResources().getDrawable(R.drawable.ic_locate_me), MarkerItem.HotspotPlace.CENTER);
   markerItem.setMarker(symbol);
   return markerItem;
 }
示例#2
0
 public MarkerSymbol getDefaultMarkerSymbol() {
   return AndroidGraphics.makeMarker(
       getResources().getDrawable(R.drawable.ic_pin), MarkerItem.HotspotPlace.BOTTOM_CENTER);
 }
示例#3
0
 public void __constructor__(Context context, AttributeSet attributeSet) {
   AndroidGraphics.init();
   AndroidAssets.init(context);
 }