Adding network search to map.

Try this branch; if you think it is suitable, then merge in....