I
I
Igor Bezlepkin2015-12-14 22:43:25
Android
Igor Bezlepkin, 2015-12-14 22:43:25

How to add a layer with buttons to a Yandex map?

Hey! I want to add a layer with my buttons to the Yandex map. It follows from the documentation:
// Get the OverlayManager object OverlayManager
mOverlayManager = mMapController.getOverlayManager();
//Add a new layer
mOverlayManager.addOverlay(overlay);
But I don't understand what should be the overlay? This is Activity, Layout, what is it?!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
coden55, 2016-01-12
@coden55

Hello, do not use Yandex. Development for android has long ceased and there are no new versions of the sdk. On android 5+ crashes with an error. Overlay is a layer on which you can throw objects and bind to coordinates on the map

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question