model.js: Added helper functions to convert PointModel to a map point
data