Wijmo UI for the Web
viewToLogic Method
wijmo.maps Namespace > ICoordConverter Interface : viewToLogic Method
The point to convert, in screen unit.
Convert the point coordinates from screen unit (pixel) to logic unit (percentage).
Syntax
var instance; // Type: wijmo.maps.ICoordConverter;
var value; // Type: IPoint

// Parameters
var position; // Type:  IPoint

value = instance.viewToLogic(position);
function viewToLogic( 
   position : IPoint
) : IPoint;

Parameters

position
The point to convert, in screen unit.

Return Value

The new point after converted, in logic unit.
See Also

Reference

ICoordConverter Interface