Hi,
I need to be able to call map.getBounds() to build up and pass the maps polygon to my search routine.
the problem is that i dont want to show the map at this point. a results list should show first.
as a work around, i can call $.mobile.changePage("#pgResultsMapped")
then listen for bounds_changed, call my search from within there, then change the page again to the results list.
this works and the bounds are correct
if i dont change the page to the map first - the bounds come back as basically a point
i dont want to have to needlessly change to the map page then to another page.
any suggestions?