L.Yandex: factory function `L.yandex`; `type` can be omitted if included in `options`
L.Yandex: factory function `L.yandex`; `type` can be omitted if included in `options`

---
@factory L.yandex(<String> type?, <Object> options)
Instantiates a Yandex layer object given `type` and `options` arguments (both optional).
Can be used with single `options` argument, if it contains `type` property.

@option type: String = 'yandex#map'
The same as `type` argument.

shramov/leaflet-plugins,shramov/leaflet-plugins