/**
 * 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: "IX. ker. Bakáts tér 12. - Általános Iskola",
		maximizedContent: "",
		latitude: 47.483730,
		longitude: 19.067163,
		zoom:  16,
		icon: "kepek/iskola.png"
	},
	{
		simpleContent: "IX. ker. Telepi u. 17.  - Általános Iskola",
		maximizedContent: "",
		latitude: 47.478722,
		longitude: 19.083316,
		zoom: 16,
		icon: "kepek/iskola.png"
	},
	{
		simpleContent: "IX. ker. Lobogó u. 1.  - Weöres Sándor Általános Iskola",
		maximizedContent: "",
		latitude: 47.461327,
		longitude: 19.113768,
		zoom: 16,
		icon: "kepek/iskola.png"
	}	
]};

$(document).ready(function(){
	$("#gmaps_container").gmaps({
		data: locations_data,
		infopanel: $("#gmaps_info").get(0),
		relativepath: "http://www.katved.hu/"
	});
});