var p = " new BMap.Point(110.538229, 37.326786), new BMap.Point(110.525581, 37.339109), new BMap.Point(110.481888, 37.358619)";
var polygon = new BMap.Polygon([
new BMap.Point(110.538229, 37.326786), new BMap.Point(110.525581, 37.339109), new BMap.Point(110.481888, 37.358619) //此方式可以
p //换成变量不行
],)