Closed GoogleCodeExporter closed 9 years ago
Whenever you set the options, eg $('#map_canvas').gmap('option', 'center',
marker.getPosition()); it will refresh all options and thus loosing it's state
(because currently its just the map holding the state).
You can fix temporarily, until a patch is up with e.g.
$('#map_canvas').gmap('getMap').setCenter(marker.getPosition());
Original comment by johansalllarsson
on 21 Jun 2011 at 8:13
Fixed in trunk
Original comment by johansalllarsson
on 21 Jun 2011 at 9:31
Original issue reported on code.google.com by
libby.ba...@gmail.com
on 21 Jun 2011 at 4:40Attachments: