Closed olivier-rey closed 8 years ago
Hi, I try to access the map container in order to add filters on markers. i configured the map variable: $map->setVariable('my_map'); but when i try to access it : map = my_map_container; i get a ReferenceError: my_map_container is not defined
$map->setVariable('my_map');
map = my_map_container;
Any idea how to solve this ?
Thanks in advance, Olivier
Solved... I had to wrap it in window.onload function to make it work.
Hi, I try to access the map container in order to add filters on markers. i configured the map variable:
$map->setVariable('my_map');
but when i try to access it :map = my_map_container;
i get a ReferenceError: my_map_container is not definedAny idea how to solve this ?
Thanks in advance, Olivier