Copied to clipboard

Flag this post as spam?

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


  • Gert 80 posts 286 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 11258 posts 23500 karma points MVP 7x 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 4537 posts 6006 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 11258 posts 23500 karma points MVP 7x 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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies