Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Steve 1 post 21 karma points
    Sep 06, 2010 @ 09:59
    Steve
    0

    Create OpenLayers or Google map features from child page properties

    Hi all,

    I'm fairly new to Umbraco and am experiementing with a range of things I'd like to be able to do.  One scenario I can't figure out and would like some help with is the following:

    I have a Towns page template, which is going to have an OpenLayers or Google map on it.  I want the map to show all Town Document Types in my CMS.  The Town document type has 3 page properties - name, latitude and longitude. 

    How can I iterate through the child pages to add features to my client-side map.  Currently, when working on this kinda of thing outside of Umbraco I would write this in Javascript.  And from my learning about Umbraco so far, I only know how to step throug hthe child pages using XSLT. 

    Can anyone provide me with some rough code, ideas or links about how this would be best set up? 

    Thanks in advance for any feedback,

    Steve

     

Please Sign in or register to post replies

Write your reply to:

Draft