More in this section

Forums / Developing with Sitefinity / Create kml file from Events List

Create kml file from Events List

4 posts, 0 answered
  1. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    19 Mar 2008
    Link to this post
    Hi,

    How to create one kml file from Events List. Could someone help to generate one maps with all events or similar. Exending Events are need?
    Thanks.
  2. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    21 Mar 2008
    Link to this post
    Hi Romi,

    You can create KML files very easily, here is the official tutorial. The easiest possible way will probably be this tip, taken directly from the tutorial:
    • To see the KML "code" for a feature in Google Earth, you can simply right-click the feature in the 3D Viewer of Google Earth and select Copy. Then Paste the contents of the clipboard into any text editor. The visual feature displayed in Google Earth is converted into its KML text equivalent. Be sure to experiment with this feature.
    The second approach to create a KML is to use a tool like this. You will have to know only the exact latitude and longitude of the event's location.

    After you create a KML, you can distribute it to your visitors as any other file.

    Regards,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Pierre
    Pierre avatar
    433 posts
    Registered:
    16 Feb 2006
    21 Mar 2008
    Link to this post
    Hi,

    yes, this is solution from G.Earth, I know, but how to generate this file directly from Events from code c#  without external tool like gererate xlm file for output.
    Regards 
  4. Georgi
    Georgi avatar
    3583 posts
    Registered:
    28 Oct 2016
    24 Mar 2008
    Link to this post
    Hi Pierre,

    For the time being you cannot generate a KML file from the events module directly. We will consider such option "out-of-the-box", and just wait a bit more to see if it would be really helpful for anyone. Perhaps developing such functionality is not very hard, since basically you need just lang/Lat. coordinates.

    I still think that the best way to generate such files is from the Google Earth application. Why? Because it also generates other useful things as links, like Panoramio pictures and so on.

    Best wishes,
    Georgi
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Register for webinar
4 posts, 0 answered