jQuery('#map').shakemap({
data:'simple.json',
action:'direct',
markerClick:function(marker){
alert("You have clicked on the marker!");
}
});
//geoJSON example
{
"type":"FeatureCollection",
"features":
[
{
"type":"Feature",
"geometry":{
"type":"Point",
"coordinates":[13.532209,45.804991]
},
"properties":{
"name":"Monfalcone",
"description":"Simple marker"
}
}
]
}