
Last chance! 50% off unlimited learning
Sale ends in
Creates a JS method to retrieve the position of each object.
get_position(latitude = NULL, longitude = NULL, coordinates = NULL)
JavaScript code evaluated on the client-side
latitude property of data object
longitude property of data object
coordinates property of data object
(in this case latitude
and longitude
parameters are ignored)