Copied to clipboard

Flag this post as spam?

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


  • Warren Buckley 2106 posts 4836 karma points MVP 7x admin c-trib
    Sep 08, 2010 @ 16:41
    Warren Buckley
    3

    Store values as XML & maptype value

    Hiya Darren
    I only figured out from your datatype value that it stores the long,lat, and the third value was a bit of a mystery until Sebastiaan mentioned it was the zoom level.

    The XSLT lover that I am maybe you could store the values as XML and additionally store the maptype that was selected.

    <map>
    <long>xxxx</long>
    <lat>xxxxx</lat>
    <zoom>15</zoom>
    <maptype>roadmap</maptype>
    </map>
  • Mark Johnston 59 posts 111 karma points
    Apr 17, 2011 @ 19:09
    Mark Johnston
    0

    This would definitely be a better data structure. I did find using Razor it's pretty easy to split them up though using a Split on the ','

  • Jeroen Breuer 4908 posts 12265 karma points MVP 5x admin c-trib
    Apr 17, 2011 @ 19:57
    Jeroen Breuer
    0

    Since this package uses the UserControl wrapper with the 4.6 and 4.7 features it should'n't be very hard to store it as xml. Have a look at this blog post: http://www.nibble.be/?p=100

    Jeroen

  • Lee Kelleher 4026 posts 15836 karma points MVP 13x admin c-trib
    Apr 17, 2011 @ 20:40
    Lee Kelleher
    0

    We will be adding an option to the data-type settings to let you save the data as either CSV or XML.  The default option will be set to CSV (for legacy compatability reasons).

    This is pencilled in for v2.1 ... I haven't started development on it yet ... so no release dates, etc.  Unless someone wants to take a stab at it, latest source-code is up on BitBucket: https://bitbucket.org/vertino/google-maps-for-umbraco

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft