markers now working, and fixed polygons to keep up with ol3.