I have a placemark feature containing some ExtendedData fields as a KML file. I would also like to include a description for this placemark, and have both the description and the ExtendedData appear in the balloon for the placemark.
The problem is, when I bring any modification to the description, all ExtendedData fields disappear, and are replaced by the newly entered description. However I know they are still there because when I copy the placemark into a text editor I can see that both tags are still there.
Is there any way to have both the description and the placemark appear in the balloon at the same time?
Google Earth displays the extended data fields formatted as HTML-table in the pop-up description box only when the description field of the placemark or feature is missing. If a feature contains a description then that description text is what is displayed when a user clicks on that feature in a pop-up description box.
If you want to have both extended data fields and a custom description then you can either 1) duplicate the data in the description or 2) use a shared BallonStyle with the ExtendedData names as placeholders in a template.
Here is a simple example of using ExtendedData with a BalloonStyle:
http://kml-samples.googlecode.com/svn/trunk/kml/ExtendedData/data-golf.kml
Tutorial including using the BalloonStyle element as a template:
https://developers.google.com/kml/documentation/extendeddata
Related
contentful newbie here:)
while adding a rich text entry I can see the name of the entry is defaulted to untitled and can't see any way to change it. any idea how can we add/update names for rich text entries in contentful?
Steps:
when i click on Add entry -> Generic rich text
below screen displayed but was not able to update the entry name
Thanks in advance
You just need to go into your content model for that Rich text field and create a new field called 'Name' or something like that. It doesn't matter what you call it. Then click 'Create and Configure.' Go to the settings tab. Then check the box to make it the entry title.
See screenshot here:
Then when you go make a new entry of that content type, you just input a name into that 'Name' field, and it will become your Entry Title.
I have a form which is filled with input fields and some custom components.
I use the labels/placeholders of the input fields as field topic, however these seem to work only for input elements. What if I want to have the same for md-slide-toggle for example?
Here is an example enter link description here
Want Blacklist label to be shown as Name label.
I'm new to Orchard CMS and has a question about how to implement displaying nested items in search results.
Let's say I have a content type Box which describes box of books. And I have Book content type. Book content items can be contained in box.
I need to build a page that displays all books grouped by boxes i.e. List of boxes and list of books for them. All in one page.
Not sure what is the best way to implement this.
Thanks
I would recommend looking into the content picker field. You can attach this to your Box type and then each time you create a box you can select all the books you want to add to your box. You will need to have created all the relevant books before creating your box. You can have a setting on the content picker field so that it only displays certain content types, I suppose in your case it would be the Book content type
David Hayden has a nice introduction to the content picker field, available here: http://www.davidhayden.me/blog/content-picker-has-content-type-filtering-in-orchard-cms
I have a Picture Library created with photos. In my Custom List, I want to create a lookup field to a Picture in my Picture Library and a description field. This I figured out by linking to the ID of the image in the Picture Library. How can I display that image as a thumbnail using my custom list? (Is it also possible to display a thumbnail or preview of the picture in my custom list since it know the ID of the picture?).
How about some javascript so that when you mouseover a list item in your custom list a modal window opens up with an image preview?
I have used a customized list view in which i have added 4 TextView basically for
name,address,city,telephone
Actually what i want when i click on the name it should navigate to browser.
same task i have achieved for telephone by using
android:autoLink="all" using layout in main.xml file.
Now here if i use url instead of name then it will become hyperlink
But for the name purpose what can i do so that name become as a hyperlink.
Please help me.
Thanx in advance.
Hi all I got solution by myself, I put text view of name over the text view of URL and set the background color of name text view to white, So if any one click on the name text view it navigate to the given hotel's URL... Thanks all