Comments (12)
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.
publish a new version with this correction, could you tell me if your problem is solved.
from gmap.net.
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.
Thank you very much for the warning, the correction was made, update to version 1.8.8
from gmap.net.
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.
These are the libraries and the versions that you should have installed, please check and confirm.
from gmap.net.
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.
I created a new project and I had no problem. could you create a new project and try
from gmap.net.
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.
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.
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.
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)
- GMapRoute can not change color in wpf
- Gmap load large markers cause no responding.
- ARM Support
- using other map providers HOT 1
- DrawMap throws InvalidCastException when switching between WinForms and WPF Control
- Problem with OpenStreetMap HOT 1
- Please use preferred tile.openstreetmap.org URL
- gmap.net winform show exception timeout HOT 5
- problem OSM
- Deprecated SHA1CryptoServiceProvider constructor causes visual studio 2022 designer problems
- G00gleMapProvider CacheType Error
- How to use Xamarin or Maui ?
- getDirections with optimizeWaypointOrder option
- Centering the Marker
- Usage of old version of SQLite.Interops.dll causes colision and exception with packages using the latest version of System.Data.SQLite
- Is FromCartesianTGeodetic work correctly?
- Dark Mode
- NullReference Exception
- Avalonia last version HOT 2
- google maps house number
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmap.net.