XF 2.2 Changing location map URL?

By default, clicking on a member's Location opens Google Maps.

I want to change that to use OpenStreetMap: https://www.openstreetmap.org

I have changed the URL at line 236 in src/XF/Pub/Controller/Misc.php without success. It continues to use Google Maps every time.

Am I changing the wrong line, is it set somewhere else? Or has it been cached somewhere and needs to be rebuilt?

Thanks for any help.

cheers,

Martin.
 
Back
Top Bottom