Thanks, I thought that may have been depreciated.
So how may that apply to the below scenario for instance?
Not sure what gave you that idea. The application would simply be:
var point = map.toMap(new ScreenPoint(coordinatesBx,coordinatesBy)); console.log("Lat: " + point.getLatitude() + ", Lon: " + point.getLongitude());
For some reason I am having a hard time in getting the import to resolve; is there a specific order this one should be called?