Maps - rendering KML file, Help.

Phoca Maps - displaying maps in Joomla! CMS
robicog
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Dec 2011, 16:11

Maps - rendering KML file, Help.

Post by robicog »

Hi,

In the documentation it mentions setting a parameter for allowing kml files to be uploaded. quote:

Parameters - Component

Go to Menus » e.g. Main Menu » menu link to Phoca Maps » Parameters (Component):

Enable KML File Loading - set if loading a KML file will be allowed or not. If yes, KML file which will be set in Map configuration can be loaded on the site.


I can find no such parameter to set anywhere. Have looked hard. Not in menu options, neither component or plugin parameters.

Has this parameter requirement been removed in latest version 2.04?

I am using joomla 1.7.3

All other functionality in Phocamaps is working great for me. It would be awesome if I can get the kml files to show.

Any help appreciated.

Thanks
Robi
robicog
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 03 Dec 2011, 16:11

SOLVED - Re: Maps - rendering KML file, Help.

Post by robicog »

Okay figured it out. As is often the case, the answer turns out to be right in front of you. I clearly did not digest a part of the documentation fully...
You can use following attributes:

view - map|link
text - text (title) which will be displayed in the content article as a link
id - id of map (map saved in Phoca Maps component)
kmlfile - (0 - disable | 1 - enable) set if loading a KML file will be allowed or not. If yes, KML file which will be set in Map configuration can be loaded on the site.
printroute - (0 - disable | 1 - enable) set if Print Route link will be displayed after rendering route on the site.
Adding "kmlfile=1" did the trick.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Maps - rendering KML file, Help.

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply