How to display the routing tool in OSM for J4?

Phoca Maps - displaying maps in Joomla! CMS
carin
Phoca Member
Phoca Member
Posts: 20
Joined: 22 Jan 2009, 02:18

How to display the routing tool in OSM for J4?

Post by carin » 14 May 2022, 10:14

I set the the option Enable Routing to yes but no routing tool in the map window.

I cannot paste a screenshot since imgur.com does not work when you block all their malicious scripts.

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

Re: How to display the routing tool in OSM for J4?

Post by Jan » 14 May 2022, 22:50

Hi, imgur does not have any scripts, it only has the link to the image:
Image

Routing - it depends on used OSM service, all parameters needs to be set. Mostly, for routing, you need API key for some specific service:

Image

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

carin
Phoca Member
Phoca Member
Posts: 20
Joined: 22 Jan 2009, 02:18

Re: How to display the routing tool in OSM for J4?

Post by carin » 16 May 2022, 21:43

FYI Imgur runs 12 malicious scripts from dodgy sources on their site, for example adlightning.com, alexametrics.com, facebook.net, scorecardresearch.com, yieldlove.com and of course the most evil of them all - Google.

Since I cannot place a screenshot I describe what I mean. What I mean is the "from" "to" fields that you have on all the map providers. The standard OSM has it as well. Why do I need an API key to display those 2 fields? Thanks

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

Re: How to display the routing tool in OSM for J4?

Post by Jan » 17 May 2022, 23:00

Hi, it is not about displaying from and to form fields but about the feature - to display the route - such feature can be run only by some services.

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

carin
Phoca Member
Phoca Member
Posts: 20
Joined: 22 Jan 2009, 02:18

Re: How to display the routing tool in OSM for J4?

Post by carin » 18 May 2022, 19:02

I see. So how do I display the "from" "to" fields on the OSM?

Post Reply