Locus Map - forum

Support => Troubles & Questions => Topic started by: Bob Denny on March 25, 2014, 05:34:59

Title: HTML in KML <description> element
Post by: Bob Denny on March 25, 2014, 05:34:59
What HTML is allowed in KML <description>?  For example <iframe>? HTML canvas? What will display when point info box is opened in Locus?
Title: Re: HTML in KML <description> element
Post by: Menion on March 25, 2014, 10:50:55
Hmm as I know, there are no known limits. You may try even an iFrame.

Matthias here from forum should tell you lot about it. As I know, he use some editable Google Docs tables as description in points :)
Title: Re: HTML in KML &lt;description&gt; element
Post by: Bob Denny on March 25, 2014, 13:12:05
Ah, this is great news... So basically it is an embedded browser, this is great! I have some ideas.
Title: Re: HTML in KML <description> element
Post by: Menion on March 25, 2014, 14:11:59
Yes it is. Whole "Description" is placed into Gecko web browser. I was only thinking if enable support for JavaScript, but in the end, it's enabled also.
Title: Re: HTML in KML &lt;description&gt; element
Post by: Bob Denny on March 25, 2014, 16:06:49
Oh that is fantastic! I can think of Javascript uses :-) this is amazing, really.
Title: Re: HTML in KML <description> element
Post by: berkley on March 27, 2014, 07:55:51
The last week I had a play around with bootstrap...
http://getbootstrap.com

Working very nice!  8)

Limitations and possibilities are here:
https://developers.google.com/kml/documentation/kmlreference#description

So the real limit is your imagination!  ;D

Edit:
If someone finds some time, please try to run some php based CMS like WordPress or Joomla.
Title: Re: HTML in KML &lt;description&gt; element
Post by: Christian on April 04, 2014, 13:44:55
Guys, stay calm. Otherwise history will repeat. So please keep away all the unsafe webstuff like js, php (!!!), and so on ...
Nobody wants to have an dangerous animated webbased picture book inside of <desc>.
Keep Locus clean!
Title: Re: HTML in KML <description> element
Post by: Menion on April 04, 2014, 20:59:21
Don't worry Christian. Nothing like this will be directly in Locus. We just talk about, what is possible to display in description of points. And if anyone want's to display some iframe with by php generated pages, why not. His choice ...