MapElementSize width = new MapElementSizePixel(20.0);
MapElementSize height = new MapElementSizePixel(20.0);
DelayedEffect effect = new DelayedEffect(new CircleElement(new Point(
18, 18), Color.red, width), false, RectangleElement.class,
10000, map.getId());
BasicEffect t1 = new BasicEffect(new CircleElement(new Point(18, 18),
Color.red, width), false, RectangleElement.class, map.getId());
effect.addEffect(t1);
MapElementFactory.buildMapElement(effect, map);