Remove unused code that added an openlayers vector layer