I am trying to store the lat, lng in my model. I have defined my model as
attributes: {
point: {type: 'json'}
}
And i am passing the coordinates simply as [x ,y]. But it is storing the point as NULL. So please, if anyone knows how to deal with it, please help me. I have no idea how to do this.