Code Monkey home page Code Monkey logo

Comments (12)

AltoControl avatar AltoControl commented on June 24, 2024

Im using the nuget package, an api key and the google providers, actually the SetPositionByKeywords and GetPoint methods works fine. The problem is with the GetDirections that throws me an exceptionincode {8}, the debuggers tells me its a JsonReaderException, GetRoute doesnt work neither. I leave an example of the code:

Dim Start as New PointLatLng(Latitud, Longitud)
Dim End as New PointLatLng(Latitud2, Longitud2)

Dim Direction as GDirections
Dim Status As DirectionsStatusCode = DirectionsStatusCode.NOT_FOUND
Status = GMap.NET.MapProviders.GoogleMapProvider.Instance.GetDirections(Direction , Start , End , False, False, False, False, True) ---Boom

Same problem if i use String instead of PointLatLng

GetRoute doesnt throw me an exception but the list of points it returns is empty

from gmap.net.

judero01col avatar judero01col commented on June 24, 2024

publish a new version with this correction, could you tell me if your problem is solved.

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

GetDirections(GDirections, PointLatLng, PointLatLng, Boolean, Boolean, Boolean, Boolean) is working fine now (Thank you very much!!!)

GetDirections(GDirections, String, String, Boolean, Boolean, Boolean, Boolean, Boolean) is still throwing an exceptionincode {8}

from gmap.net.

judero01col avatar judero01col commented on June 24, 2024

Thank you very much for the warning, the correction was made, update to version 1.8.8

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

Update it, but im getting a Unable to load DLL 'SQLite.Interop.DLL', i tried to uninstall it and install it again with all the dependencies, but no luck.

P.S: i downgrade it to 1.8.5 (the highest version i was able) and the error is gone

from gmap.net.

judero01col avatar judero01col commented on June 24, 2024

These are the libraries and the versions that you should have installed, please check and confirm.

image

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

checked and confirmed, i could downgrade to 1.8.7 and it was the same problem, i could compile with 1.8.6

from gmap.net.

judero01col avatar judero01col commented on June 24, 2024

I created a new project and I had no problem. could you create a new project and try

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

This is what i did and the results:

*Started a new proyect, download and installed the nuget package -- No problem there.
*New WPF window with a WPF gmap control -- Unable to load DLL 'SQLite.Interop.DLL'
*New Forms window with a Forms gmap control - No problem there.
*New WPF window with a Forms gmap control -- Unable to load DLL 'SQLite.Interop.DLL'

Edit:
*New WPF window with a Forms gmap control - No problem there
This is what i use in my project, so im doing something wrong, i will fix it and try GetDirections as soon as i can

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

Found out the problem, our project use Net Framework 4.0 which is the max in windows xp and sqlite 1.0.109.2 needs 4.5 (Not that sure, actually), so we will probably stay in 1.8.6.
Thanks for you patience and hard work, cheers

from gmap.net.

judero01col avatar judero01col commented on June 24, 2024

Greetings, thanks for your report, I made some changes in the project to be compatible with the framework 4.0, please try and tell me.

from gmap.net.

AltoControl avatar AltoControl commented on June 24, 2024

1.9 work great in both GetDirection, so i will close this issue.
Again, thanks for your hard work

from gmap.net.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.