How to display the routing tool in OSM for J4?

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

How to display the routing tool in OSM for J4?

Post by carin »

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: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

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: 38
Joined: 22 Jan 2009, 02:18

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

Post by carin »

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: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

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: 38
Joined: 22 Jan 2009, 02:18

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

Post by carin »

I see. So how do I display the "from" "to" fields on the OSM?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, in OSM, it is a part of the map, usually the selected service adds "route" icon, where users are able to click on this icon and set "from" to" there.

Jan
If you find Phoca extensions useful, please support the project
carin
Phoca Member
Phoca Member
Posts: 38
Joined: 22 Jan 2009, 02:18

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

Post by carin »

I mean these fields:

Image

I cannot find any setting in Phoca Maps that would allow me to enable them.

Also, I would like to predifine the "to" field with my address. Thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47810
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, the routing is produced be the selected service.

You can set it in Options based on the service data:

Image



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