Skip to content
Dimitris Krestos edited this page Jan 27, 2014 · 18 revisions

Table of Contents

The "route" event

  • Show directions
  • options: index number of "origins" array
    $('#map_canvas').trigger('route', '0');

The "show" event

  • Show a category of markers
  • options: category number of "location"
    $('#map_canvas').trigger('show', '1');

The "hide all" event

  • Hide all markers of "locations"
  • options: -
    $('#map_canvas').trigger('hide_all');

The "reset" event

  • Center the map
  • options: -
    $('#map_canvas').trigger('reset');
Clone this wiki locally