adding polygon and linestring to map example