Advertisement
Guest User

Untitled

a guest
Jul 26th, 2015
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.53 KB | None | 0 0
  1.    // Create an object for the layer
  2.         final OverlayItem labkorp = new OverlayItem(new GeoPoint(46.978177, 41.4964607), res.getDrawable(R.drawable.shop));
  3.         // Create the balloon model for the object
  4.         BalloonItem balloonLabkorp = new BalloonItem(getActivity(),labkorp.getGeoPoint());
  5.         balloonLabkorp.setText(getString(R.string.labkorp));
  6.         // Add the balloon model to the object
  7.         labkorp.setBalloonItem(balloonLabkorp);
  8.         // Add the object to the layer
  9.         overlay.addOverlayItem(labkorp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement