[OpenLayers-Trac] [OpenLayers] #746: add() function should be tolerant to omitted y value
OpenLayers
trac at openlayers.org
Fri Jun 8 14:55:59 EDT 2007
#746: add() function should be tolerant to omitted y value
---------------------+------------------------------------------------------
Reporter: euzuro | Owner:
Type: feature | Status: new
Priority: minor | Milestone: 2.5 Release
Component: general | Version: 2.4
Keywords: |
---------------------+------------------------------------------------------
in the add(x,y) functions on Pixel, LonLat, and Bounds,
if user does not pass a y value, it causes errors.
Obviously, good form would dictate passing both, but
out of kindness we ought to be nice and assume "0" if
nothing is passed.
--
Ticket URL: <http://trac.openlayers.org/ticket/746>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list