I
I
Igor Bezlepkin2015-11-22 00:56:07
Android
Igor Bezlepkin, 2015-11-22 00:56:07

How to hide zoom elements and find me in Yandex maps?

Hey!

final MapView MapView = (MapView) findViewById(R.id.map);
    // Получаем MapController
    MapController cMapController = MapView.getMapController();

    // Включаем элементы интерфейса, контролирующие зум
    MapView.showBuiltInScreenButtons(true);

I need to hide these elements after a long press on the map
case MapEvent.MSG_LONG_PRESS:
                textView.setText("MSG_LONG_PRESS");
                mMapController = MapView.getMapController();
                MapView.showBuiltInScreenButtons(false);
                break;

So swears on false
Most likely I do not so. If anyone knows, tell me

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question