findOrganization

Static function.

Find organization by given ID. Result is provided in @GeoObject object.

Returns Promise object.

{ vow.Promise } findOrganization(organizationId)

Parameters:

Parameter Default value Description
organizationId *

Type: String

ID of the organization.

* Mandatory parameter/option.

Example:

// Performs a search for an organization with the ID "1124715036".
// The result is added to the map and its balloon is opened.
ymaps.findOrganization('1124715036').then(
    function (orgGeoObject) {
        map.geoObjects.add(orgGeoObject);
        orgGeoObject.balloon.open();
    },
    function (err) {
        // error handling
    }
);