Beispiel #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;
 }
Beispiel #2
0
 public MarkerSymbol getDefaultMarkerSymbol() {
   return AndroidGraphics.makeMarker(
       getResources().getDrawable(R.drawable.ic_pin), MarkerItem.HotspotPlace.BOTTOM_CENTER);
 }
Beispiel #3
0
 public void __constructor__(Context context, AttributeSet attributeSet) {
   AndroidGraphics.init();
   AndroidAssets.init(context);
 }