search for: adddata

Displaying 1 result from an estimated 1 matches for "adddata".

Did you mean: add_data
2010 Apr 30
6
addListener
...var marker; map = new mxn.Mapstraction(''myMap'',''google''); map.setCenterAndZoom(new mxn.LatLonPoint(45.559242,-122.636467), 15); marker = new mxn.Marker(new mxn.LatLonPoint(45.559242, -122.636467)); marker.addData({icon: "http://mapscripting.com/examples/mashups/richter-high.png"}); map.addMarker(marker); marker.addListener(''click'', test()); However I keep getting the error: addListener is not defined. Any help appreciated. Regards, Paul Owens Hotel...