Creates a JS method to retrieve the position of each object.
get_position(latitude = NULL, longitude = NULL, coordinates = NULL)
latitude property of data object
longitude property of data object
coordinates property of data object
(in this case latitude
and longitude
parameters are ignored)
JavaScript code evaluated on the client-side