Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Create an object for the layer
- final OverlayItem labkorp = new OverlayItem(new GeoPoint(46.978177, 41.4964607), res.getDrawable(R.drawable.shop));
- // Create the balloon model for the object
- BalloonItem balloonLabkorp = new BalloonItem(getActivity(),labkorp.getGeoPoint());
- balloonLabkorp.setText(getString(R.string.labkorp));
- // Add the balloon model to the object
- labkorp.setBalloonItem(balloonLabkorp);
- // Add the object to the layer
- overlay.addOverlayItem(labkorp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement