Publishing maps in articles with POIs in KML

Phoca Maps - displaying maps in Joomla! CMS
EmmWeh
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 30 Jul 2015, 22:24

Publishing maps in articles with POIs in KML

Post by EmmWeh » 08 Jun 2019, 16:20

Hi,

I'm looking for a google maps plugin that is able to publish maps in articles via placeholder. Used Mike Reumers plugin before, but it's deprecated and has some security issues. The placeholder looks like that:

{mosmap controltype='user'|kml='https://mysite.com/generatekml.php?p=xyz'|tooltip='POI Placemarker'|width=100%|height=320|zoom=11|svcontrol=0|showmaptype=1|showScale='1'|overview='1'|align=left}

The generatekml.php generates a KML file that works great on Google Earth and Google Maps.
Is there a chance to do the same with Phoca Maps? Please keep up your great work! Thanks!

Regards,
EmmWeh

Tags:

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

Re: Publishing maps in articles with POIs in KML

Post by Jan » 09 Jun 2019, 11:08

Hi, in Phoca Maps you can use plugins to display maps in article, but there is no KML parameter. You can add the map directly or as embed:
https://www.phoca.cz/blog/1041-displayi ... on-website

So try to use the Phoca Maps plugin with embed function for the KML file:
https://www.phoca.cz/documents/54-phoca ... aps-plugin

{phocamaps view=iframe|iframesrc=Link to Map}
If you find Phoca extensions useful, please support the project

EmmWeh
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 30 Jul 2015, 22:24

Re: Publishing maps in articles with POIs in KML

Post by EmmWeh » 20 Jul 2019, 16:36

Hi Jan,
thanks, I tried. Unfortunately that does not help me.

The articles contain generated content. Content-related POIs are displayed on the map. So I have to pass an ID to generatekml.php to select the POIs to display.

In Phoca Maps I would have to create a separate map for each ID manually. That's not a good option, it's about several thousand articles.

Do you see a chance to implement such a thing?

Thanks,
EmmWeh

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

Re: Publishing maps in articles with POIs in KML

Post by Jan » 21 Jul 2019, 21:26

Hi, I can add it to feature request list, but really no idea if I will find time to take a look at it :-(

Jan
If you find Phoca extensions useful, please support the project

EmmWeh
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 30 Jul 2015, 22:24

Re: Publishing maps in articles with POIs in KML

Post by EmmWeh » 21 Jul 2019, 22:11

Well, that's fate if so many Phoca products are successful. I keep my fingers crossed! :-)

Post Reply