Can't determine this syntax
I'm just getting started with jQuery and I have some code working but cant understand why...
- //maps
$("#map").goMap({
scaleControl: true,
maptype: 'ROADMAP',
latitude: 40.6802778,
longitude: -73.4555556,
zoom: 12
});
$.goMap.createMarker({
latitude: 40.6802770,
longitude: -73.4555551,
title: 'Ciao Baby',
html:'Ciao Baby'
});
In this example what does the $.goMap.createMarker syntax mean? How does it know I want to apply this to the #map map and not #map2?
Thanks!
Frank