4 Replies Latest reply on Mar 5, 2017 1:53 PM by user19752

    Google Maps Direction xml

    argasoft

      HI!

       

      I'd like to save in FMAP 15 (Win7 Pro) the routing from my warehouse to a destination.

       

      I have a script with:

      - "https://maps.googleapis.com/maps/api/directions/xml?origin=" & $$departure & "&destination=" & $$idestination & "&sensor=false" opening a non-visible web viewer

      - Set Variable [$source; Value: GetLayoutObjectAttribute ( Get ( ActiveLayoutObjectName ) ; "content" )]

      - filter XML to have partial and total times and distances

       

      Strange enough:

      - the file I get via web viewer is not equal to the one obtained with (FF)

      - the web viewer file has wrong routing

      - the FF file is correct

       

      Any idea?

      Thanks in advance.

      Arnaldo