Map creating

Phoca Maps - displaying maps in Joomla! CMS
Anthony
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Aug 2022, 20:33

Map creating

Post by Anthony »

Hi Jan,

I’m using Phocamaps for the first time and I am very enthousiast.
I have a question also; Is is possible to choose te maptype, by example OSM, at creating the map in stead in the configuration?
So You can create muliple menu’s with the same markers but with different maps.
For now keep going the good work.

Regards,
Anthony.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Map creating

Post by Jan »

Hi, in component, it is only possible to set it in Options, but you can set it in plugin, so each map can have another type, see:
https://www.phoca.cz/demo/phoca-maps-plugin-demo

Jan
If you find Phoca extensions useful, please support the project
Anthony
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 23 Aug 2022, 20:33

Re: Map creating

Post by Anthony »

Hi Jan,
I have seen Your demo page and I tryed it out but it is not clear to me how to set it to a different map.
Can You please more explain?

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

Re: Map creating

Post by Jan »

Hi,
the parameter is called osmmaptype:

{phocamaps view=map|id=1|maptype=2|osmmaptype=osm}
{phocamaps view=map|id=1|maptype=2|osmmaptype=osm_hot}
{phocamaps view=map|id=1|maptype=2|osmmaptype=opentopomap}
{phocamaps view=map|id=1|maptype=2|osmmaptype=osm_de}
{phocamaps view=map|id=1|maptype=2|osmmaptype=osm_fr}
{phocamaps view=map|id=1|maptype=2|osmmaptype=osm_bw}

https://www.phoca.cz/documents/54-phoca ... aps-plugin
If you find Phoca extensions useful, please support the project
Post Reply