Page 1 of 1

Map creating

Posted: 23 Aug 2022, 20:45
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.

Re: Map creating

Posted: 28 Aug 2022, 00:57
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

Re: Map creating

Posted: 08 Sep 2022, 13:41
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

Re: Map creating

Posted: 09 Sep 2022, 00:04
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