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.
Map creating
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map creating
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
https://www.phoca.cz/demo/phoca-maps-plugin-demo
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 23 Aug 2022, 20:33
Re: Map creating
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
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
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Map creating
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
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