vizicities icon indicating copy to clipboard operation
vizicities copied to clipboard

Calling VIZI.CRS.pixelsPerMeter with VIZI.LatLon as number strings returns incorrect values

Open robhawkes opened this issue 10 years ago • 0 comments

When calling VIZI.CRS.pixelsPerMeter with VIZI.LatLon as number strings (eg. "-0.123") returns different (incorrect) values to what is returned when you use proper numbers (eg. -0.123). This is turn breaks any output that relies on the pixel to meter value.

A likely fix is to ensure numbers represented in VIZI.LatLon are converted to true numbers or invalidated on creation.

robhawkes avatar Jan 09 '15 08:01 robhawkes