I am trying your Phoca Maps. It seems very interesting and helpful. I want it after all for openstreetMaps. (For to have an alternative to google!) But I need more informations about the settings for openstreetMaps and Mapbox etc. This part seems tobe very new.
What are the possibilities to set?
e.g.
Router Profile
Router Service URL
[In addition: Can I help to make better the german documentation. It seems to be google translation and is often really misunderstanding!]
Documentation for Settings for Openstreetmaps
-
- Phoca Member
- Posts: 18
- Joined: 09 Sep 2011, 18:31
- Benno
- Phoca Hero
- Posts: 9451
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Documentation for Settings for Openstreetmaps
Hi,
sprichst Du von dieser Dokumentation? Falls ja, das ist keine Google Übersetzung. Falls Du dort Mißverständlichkeiten gefunden hast, infomiere mich bitte per PM. Ändere ich dann umgehend.
Freundliche Grüße,
Benno
sprichst Du von dieser Dokumentation? Falls ja, das ist keine Google Übersetzung. Falls Du dort Mißverständlichkeiten gefunden hast, infomiere mich bitte per PM. Ändere ich dann umgehend.
Freundliche Grüße,
Benno
-
- Phoca Member
- Posts: 18
- Joined: 09 Sep 2011, 18:31
Re: Documentation for Settings for Openstreetmaps
Wo ich schwimme sind die Routing Einstellungen
Routerprofil Was für Möglichkeiten habe ich hier? Ich kann einsetzen, was ich will, es zeigt mir keine Karte. Leergelassen erscheint eine Karte mit Routing.
Router Service URL Was setze ich hier ein? Bis jetzt habe ich nur herausgefunden, bei Einsetzen von "streets", wird mir eine Karte mit Routing angezeigt.
Wo finde ich dafür Antworten?
Routerprofil Was für Möglichkeiten habe ich hier? Ich kann einsetzen, was ich will, es zeigt mir keine Karte. Leergelassen erscheint eine Karte mit Routing.
Router Service URL Was setze ich hier ein? Bis jetzt habe ich nur herausgefunden, bei Einsetzen von "streets", wird mir eine Karte mit Routing angezeigt.
Wo finde ich dafür Antworten?
-
- Phoca Member
- Posts: 18
- Joined: 09 Sep 2011, 18:31
Re: Documentation for Settings for Openstreetmaps
How can I change the language of the Routing (mapbox). It seems, there are german expressions too in the "leaflet-routing-machine". But how can I change from english to an other language?
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Documentation for Settings for Openstreetmaps
Hi, not sure (didn't test the mapbox routing) but the language should be set by user browser settings
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 09 Sep 2011, 18:31
Re: Documentation for Settings for Openstreetmaps
Hi, this seens so for google, but nit for osm mapbox.
Thanks for all your extensions. I like some of them! If I can help something, you can ask. I don't have money
Thanks for all your extensions. I like some of them! If I can help something, you can ask. I don't have money
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Documentation for Settings for Openstreetmaps
Hi, try to open this file:
components\com_phocamaps\views\map\tmpl\default_osm.php
on line cca 177 edit
FROM:
TO:
or any other language to test ('en', 'en-GB', 'de-DE') and let me know if this work. If yes, I will add new parameter for this in the next version.
Jan
components\com_phocamaps\views\map\tmpl\default_osm.php
on line cca 177 edit
FROM:
Code: Select all
$map->renderRouting(0,0,$lat,$lng, $mId, $markerIconOptions);
Code: Select all
$map->renderRouting(0,0,$lat,$lng, $mId, $markerIconOptions, 'de');
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 18
- Joined: 09 Sep 2011, 18:31
Re: Documentation for Settings for Openstreetmaps
Hi Jan (Hero )
Excellent: I tried with german, french and italian: works in these languages. english seems to be the default.
My other question is: what are the options in Router Profile: I tried driving, mapbox/driving, 'mapbox/driving', when something of this is written, I have no map.
And what are the options in Router URL: I only see a map, when there is inside: streets when it's empty I don't see a map.
How can I switch e.g. to cycling or walking?
greetings!
Jojo
Excellent: I tried with german, french and italian: works in these languages. english seems to be the default.
My other question is: what are the options in Router Profile: I tried driving, mapbox/driving, 'mapbox/driving', when something of this is written, I have no map.
And what are the options in Router URL: I only see a map, when there is inside: streets when it's empty I don't see a map.
How can I switch e.g. to cycling or walking?
greetings!
Jojo
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Documentation for Settings for Openstreetmaps
Hi, see:
https://wiki.openstreetmap.org/wiki/Routing_profiles
but for Mapbox there will be specific profiles. I don't have any API Key for Mapbox so hard to give any clude advice but you should try to open javascript console ( https://www.phoca.cz/documents/16-jooml ... -conflicts ) to see if there is no error message from Mapbox when rendering the route
Jan
https://wiki.openstreetmap.org/wiki/Routing_profiles
but for Mapbox there will be specific profiles. I don't have any API Key for Mapbox so hard to give any clude advice but you should try to open javascript console ( https://www.phoca.cz/documents/16-jooml ... -conflicts ) to see if there is no error message from Mapbox when rendering the route
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Documentation for Settings for Openstreetmaps
Hi, the language should work in version 3.0.6 (it can be set in maps edit)
https://www.phoca.cz/news/1019-phoca-ma ... 6-released
Jan
https://www.phoca.cz/news/1019-phoca-ma ... 6-released
Jan
If you find Phoca extensions useful, please support the project