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