| How to create special plug-in with YOS amMap (Only commercial version) |
|
|
|
| Written by sonlv |
| Friday, 30 January 2009 22:08 |
|
There are no translations available. With special plug-in which allows to display dynamic data on your map (For Ex: Visitors Counter on this site) You just can create a normal plug-in with 'yos_ammap' group and 'onPrepareMapData' event. XML Syntax: ![]()
PHP Syntax: $mainframe->registerEvent( 'onPrepareMapData', 'plg_Yourname' ); /** */
function plg_Yourname(&$data, $id){ ..... Your body function..... } Or class plgYos_ammapYourplgname extends JPlugin */ }
YOS - Team |
| Last Updated on Friday, 30 January 2009 23:10 |
