﻿/////////////////////////////////////////////////////////////////////////
function _FeatureSymbol(path, width, height)
{
    this.Path = path;
    this.Height = height;
    this.Width = width;
}
function _Feature(x, y, symbol, drawFunction)
{
	this.X=x;
	this.Y=y;
	this.Symbol = symbol;
	this.Draw = drawFunction;
}
/////////////////////////////////////////////////////////////////////////

function drawPointFeature(pixelX, pixelY)
{
    jg_features.setColor("red");
    jg_features.fillEllipse(parseInt(pixelX - 4), parseInt(pixelY - 4), 8, 8)

}
function drawPOIFeature(pixelX, pixelY)
{
    jg_features.setColor("white");    
    jg_features.fillEllipse(parseInt(pixelX - 8), parseInt(pixelY - 8), 16, 16);
    jg_features.setColor("red");
    jg_features.fillEllipse(parseInt(pixelX - 5), parseInt(pixelY - 5), 10, 10);

}
