Pokemon Go Style Map/Movement in mobile game

Hello. I’m trying to make mobile game, which allows character to move from place to place in the same way as on Pokemon Go (get’s location data and character moves when player actually moves). The game doesn’t necessarily need to have a real life map (showing roads and stuff), but that too would be a good thing to have. How to do that?