With all other informations like lat and lng I want to pass some Object Data and to do that i'm using the setData(Object data) method. My problem is that I don't know how to retrieve this information via jQuery.
Am I doing it right? If this is the right way how can i retrieve this information?
Code: Select all
Marker marker = new Marker(myLatLng, myTitle, myObjectData, myIcon, myShadow);
Code: Select all
var map = PF('map').getMap();
//here is my problem
map.markers[0].???? = myData;