/*
$mappoints[] = array( 'id'			=> (int)$val->id
					, 'name'		=> $val->name
					, 'shape'		=> 1 // 1 = point
					, 'type'		=> (int)$val->type
					, 'icon'		=> (int)$val->type // FIXME
					, 'short_desc'	=> $val->description
					, 'photo'		=> $val->photo
					, 'lat'			=> (float)$val->lat								
					, 'long'		=> (float)$val->lng
					, 'published'	=> (bool)($val->published==1)
					, 'media'       => $medialist
					, 'mapid'		=> (int)$val->map // FIXME: only when not asking for points for a specific map... p.s. map is a reserver Javascript property
					);
*/

function spcMapItem(id)
{
	this.id		= id;
	this.name 	= '';
	this.shape	= 1;
	this.type	= 14;
	this.icon	= 14;
	this.short_desc = '';
	this.photo	= '';
	this.lat	= 52.25065;
	this.long	= 6.80592;  
	this.published = 1;
	this.media	= [];
	this.mapid	= 1;

}
