Function to draw static object on map