Fixed
Status Update
Comments
pa...@gmail.com <pa...@gmail.com> #2
CORRECTION: this is only pertaining to Scorecards, I'm aware I can do this on a table. My apologies.
ro...@gmail.com <ro...@gmail.com> #3
Hey, thanks for considering this.
Of course, the idea could be applied to other places of the API as well, basically to all setter functions without
return value.
map.set_center(latLng).set_zoom(zoom);
marker.set_icon(foo).set_cursor(bar);
etc.
Of course, the idea could be applied to other places of the API as well, basically to all setter functions without
return value.
map.set_center(latLng).set_zoom(zoom);
marker.set_icon(foo).set_cursor(bar);
etc.
Description
myBounds.extend(myPoint);
myBounds.union(yourBounds);
map.fitBounds(myBounds);
If these functions returned the modified object, we could chain these calls, and write:
map.fitBounds(myBounds.extend(myPoint).union(yourBounds));
Much nicer.