Routing Settings

Phoca Maps - displaying maps in Joomla! CMS
Reddar
Phoca Member
Phoca Member
Posts: 29
Joined: 29 Mar 2019, 23:33

Routing Settings

Post by Reddar » 21 Jan 2020, 12:38

Hello,

I would like to change the router and switch to Mapbox.

I've tested a lot of parameters but i did'nt succeed.

Last try :
I always get the following message in the console :

leaflet-routing-machine.min.js:13
You are using OSRM's demo server. Please note that it is **NOT SUITABLE FOR PRODUCTION USE**.
Refer to the demo server's usage policy: https://github.com/Project-OSRM/osrm-ba ... age-policy

To change, set the serviceUrl option.

Please do not report issues with this server to neither Leaflet Routing Machine or OSRM - it's for
demo only, and will sometimes not be available, or work in unexpected ways.

Please set up your own OSRM server, or use a paid service provider for production.



Thank's for your help.

User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 42557
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Routing Settings

Post by Jan » 26 Jan 2020, 21:05

Hi, can I see the site where this occurs? To see which link is used to connect to Mapbox.

Should be:
... api.tiles.mapbox.com/v4/{id}/{z}/{x}/{y}.png?access_token= ...

Jan
If you find Phoca extensions useful, please support the project

Post Reply