Added function to get marker in certain space