Use defined CRS for distance calculation

This patch try to use the configured map's CRS "distance" method, if no method is found fallback to default ```LatLng.distanceTo()```.