SOLVED: It's simply a caching problem. When I try to create a distance map EZ Publish only restart my cached page. So I added in my extension in site.ini.append.php just this lines:
[ContentSettings] ViewCaching=disabled
My content now should be reloaded everytime with no cache and my distances now works correctly.