Map Markers are used to tell the game what location you're at, and where you can fast travel to in the external world.
The yellow line defines the boundaries a player must cross in order to 'discover' the location.
Map Markers are invisible in-game and have no collision.