var infobox = {
offset:[-225,-100],
width:"215px",
height:"166px",
background:"images/infobox_bg.png",
closeBoxMargin:"5px 25px 0 0",
closeBoxURL:"images/infobox_close_bg.png"
};
jQuery('#map').shakemap({
data:'simple.json',
action:'infobox',
infoboxSettings:infobox
});
//geoJSON example
{
"type":"FeatureCollection",
"features":
[
{
"type":"Feature",
"geometry":{
"type":"Point",
"coordinates":[13.532209,45.804991]
},
"properties":{
"name":"Monfalcone",
"description":"Simple marker"
}
}
]
}