For Development Purposes Only / no routing with openstreetmap

Phoca Maps - displaying maps in Joomla! CMS
klarmacker
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2012, 13:37

For Development Purposes Only / no routing with openstreetmap

Post by klarmacker » 20 Apr 2021, 10:56

Hello

I aktivated my Apikey from Google but the map is showing
For Development Purposes Only Google cant load the map

so i switched to Openstreetmap and its working well. but iam not able to Route.

I used 2 Apis mapbox and Thunderforest but when i activate them i see no maps. when i dissable "enable Routing" its working fine.

what is router Profile and Router service url for? where can i find them?

Version
3.0.11

Joomla!-Version 3.9.26


Thanks
Chris

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

Re: For Development Purposes Only / no routing with openstreetmap

Post by Jan » 21 Apr 2021, 13:07

Hi, did you look at the javascript console when the map is not displayed (maybe there will be some useful information)

https://www.phoca.cz/documents/16-jooml ... -conflicts

Router profile and router service url are specific parameters for specific map services - if you are using specific map services which provides the router service url, then you just paste this to the options.

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

klarmacker
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2012, 13:37

Re: For Development Purposes Only / no routing with openstreetmap

Post by klarmacker » 21 Apr 2021, 14:46

okay thanks.. iam out... i will live without the routing... otherwise i use google maps
iam still a noob with joomla & co thanks for your help

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

Re: For Development Purposes Only / no routing with openstreetmap

Post by Jan » 21 Apr 2021, 16:25

With Phoca Maps, you can use three types of maps:

- Google Maps
- Open Street Map
- Google Maps in iframe

In iframe you can have a link to routing on Google Maps maps, so this can be even solution, see:
https://www.phoca.cz/joomla3demo/phoca-maps-demo

the last map is rendered by Google Maps in iframe (with help of Phoca Maps plugin), there you don't need API key and when you need to display route, it is displayed directly on Google Maps server (a link to this site is displayed on map)

Image

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

Post Reply