Copied to clipboard

Flag this post as spam?

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


  • Gert 81 posts 288 karma points
    Apr 19, 2014 @ 18:38
    Gert
    0

    The parsing of the coordinates should use the InvariantCulture

    Hi,

    In the file GMapsValueConverter.cs, you should parse the coordinates like this:

    decimal.Parse( coordinates[ 0 ], System.Globalization.CultureInfo.InvariantCulture )
    

    Otherwise an exception is thrown when the side is run in e.g. nl-BE.

    Kind Regards, Gert.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 19, 2014 @ 19:00
    Jan Skovgaard
    0

    Hi Gert

    I don't hope Dirk minds me sharing my 2 cents...

    I think your suggestion is really helpful and I think Dirk would appreciate a pull request on the project at https://github.com/netaddicts/umbraco-v7-property-editors-gmaps if you'd like :)

    Cheers, Jan

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Apr 19, 2014 @ 19:11
    Dirk De Grave
    0

    Yes, brilliant idea Jan, I thought I have an outstanding pr... :( 

    Should really look into it and get your pr merged into repo.

     

    /Dirk

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Apr 19, 2014 @ 19:13
    Jan Skovgaard
    0

    Woops, that's should say "I hope dirk don't mind me sharing..."

    @Dirk: Sounds good :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft