/**
 * Data of the hotspots locations for each place are declared as JS object
 * each hotspot is defined by the next properties:
 * - simpleContent: String with the HTML content in the info window.
 * - maximizedContent : URL of the HTML page (AJAX loaded) of the maximized info window.
 * - latitude: latitude of the geographic poing (you can use infopanel for obtain that)
 * - longitude: longitude of the geographic poing (you can use infopanel for obtain that)
 * - zoom: zoom level for hotspot links
 * - icon: url of the custom icon for this place
 */
var locations_data = { locations: [
	{
		simpleContent: "Point 1",
		maximizedContent: "",
		latitude: 37.985096,
		longitude: -1.128459,
		zoom:  16,
		icon: "imgs/10888.gif"
	},
	{
		simpleContent: "Point 2",
		maximizedContent: "advanced_info/sample.html",
		latitude: 37.980758,
		longitude: -1.130877,
		zoom: 16,
		icon: "imgs/10937.gif"
	}
]};

$(document).ready(function(){
	$("#gmaps_container").gmaps({
		data: locations_data,
		infopanel: $("#gmaps_info").get(0),
		relativepath: "http://projects.sevir.org/storage/jqmaps/"
	});
});