Page 1 of 1

For Development Purposes Only / no routing with openstreetmap

Posted: 20 Apr 2021, 10:56
by klarmacker
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

Re: For Development Purposes Only / no routing with openstreetmap

Posted: 21 Apr 2021, 13:07
by Jan
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

Re: For Development Purposes Only / no routing with openstreetmap

Posted: 21 Apr 2021, 14:46
by klarmacker
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

Re: For Development Purposes Only / no routing with openstreetmap

Posted: 21 Apr 2021, 16:25
by Jan
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