name) ?>

name) ?>
true, // automatically encompass markers. 'clustering' => $clustering, ]; // provide the element with all the info it needs to set up the map. $element_options = [ 'map_options' => $map_options, 'map_colors' => 'avmaps/js/sg2_map_colors.js', 'the_map' => $this->GoogleMap, // we want to include the category ID when making ajax calls. 'ajax_options' => '{ category: "' . $category->id . '"}', 'default_options' => '{ iconColor: "' . $this->MapDisplay->defaultIconColor() . '", json_provider: "/categories.json", }', ]; echo $this->element('Avmaps.google_map', $element_options); // end of dynamic map preparation. ?>
Form->create($category) ?> Form->control ( 'view_options._ids', [ 'type' => 'select', 'multiple' => true, 'val' => $selectedList, 'options' => [ 'clustering' => 'clustering' ] ] ); ?> Form->button(__('Modify View')) ?> Form->end() ?>