I have changed this to "Expand" rather than collpase and have attached an alert to the collapsibleset - alert("Button Clicked"); this worked fine. I have then placed the code above into the same box and i cant get it to work...help me please!
Just to add to this aswell....it only seems to do this when the collapsable set is set as uncollapsed by default. For example if by default when searching the bus collapasable set is set as collapsed it works find and displays the marker in the middle of the map.
Excellent,
Thanks Yurii for the response so quickly.
Ian
Excellent Yurii,
I've tried this and it works brilliantly...thank you for all the quick responses and spending time looking into this its massively appreciated.
Thanks again,
Ian
Hi Alena,
That sounds perfect.