HTML in KML <description> element

Started by Bob Denny, March 25, 2014, 05:34:59

0 Members and 1 Guest are viewing this topic.

Bob Denny

What HTML is allowed in KML <description>?  For example <iframe>? HTML canvas? What will display when point info box is opened in Locus?
  •  

Menion

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 :)
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Bob Denny

Ah, this is great news... So basically it is an embedded browser, this is great! I have some ideas.
  •  

Menion

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.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Bob Denny

Oh that is fantastic! I can think of Javascript uses :-) this is amazing, really.
  •  

berkley

#5
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.
Search before posting!!!
XDA Orbit, HTC Touch HD, SGS1, SGS2, Nexus S, S4 Active, OnePlus One, Innos D6000
OnePlus X
  •  

Christian

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!
  •  

Menion

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 ...
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •