AnsweredAssumed Answered

Google Maps Direction xml

Question asked by argasoft on Mar 4, 2017
Latest reply on Mar 5, 2017 by user19752

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

Outcomes