Update function.osm.php

Fixing bug for single marker not set