Google API

clembo
Member Posts: 122
I need to include some information in Nav.
Usee want to get distance from two points. In a form I've two address and want to return distance value in textbox.
Using google API this is possible but I don't know how to do it in Nav.
This is link
http://code.google.com/intl/it-IT/apis/ ... irections/
Usee want to get distance from two points. In a form I've two address and want to return distance value in textbox.
Using google API this is possible but I don't know how to do it in Nav.
This is link
http://code.google.com/intl/it-IT/apis/ ... irections/
0
Comments
-
You could have a look at this download to get you started: Google Maps For Dynamics Nav FormsNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
But my request is different.
I need only get distance from two point (address, town, country)..
There is a way to read xml or JSON from nav .. I think..
Someone can help me?0 -
Yes there is a way, a webservice could be helpfull because it can have an xml as response.
But I think your use of the google api is not wanted by google:Google wrote:Note: the Directions API may only be used in conjunction with displaying results on a Google map; using Directions data without displaying a map for which directions data was requested is prohibited. Additionally, calculation of directions generates copyrights and warnings which must be displayed to the user in some fashion. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.0 -
Why you think so.
If you read my link in previuous post you can read that google return JSON webservice or xml file.
Limit si number request only..
But how I can get xml returned from google?
How I can consume JSON webservice?0 -
I am also curious how to consume Json in NAV.
I think you must use Json Serializer, please let me know if this works
http://msdn.microsoft.com/en-us/library/system.runtime.serialization.json.datacontractjsonserializer.aspx0 -
Did you find a solution for this ? How can we read the xml file that the google api returns in NAV ?
0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions