Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/smgladkovskiy/kohana-yamaps

Kohana v3 module to work with Yandex maps / Модуль для Kohana v3 для работы с Яндекс картами
https://github.com/smgladkovskiy/kohana-yamaps

Last synced: about 2 months ago
JSON representation

Kohana v3 module to work with Yandex maps / Модуль для Kohana v3 для работы с Яндекс картами

Awesome Lists containing this project

README

        

Yamaps - is a module for Kohana v3 framework to wor with Yandex maps API.

Some demo in Controller_Yamaps

$map = Yamaps::instance()
->zoom(10)
->center(37.64, 55.76)
->controlls(array('Zoom', 'TypeControl'))
->options(array('ScrollZoom'))
;

$map->geo_marker(array(
'address' => 'Москва',
'name' => 'Moscow city',
'description' => 'Russian Federation capital',
));

$map->marker(array(
'geo' => array(37.60, 55.70),
'name' => 'Some place to visit',
'description' => 'Damn! I forgot what it is!',
));

$this->request->response = $map->render();