aloisdeniel / dart-opencage-geocoder Goto Github PK
View Code? Open in Web Editor NEWDart client for the OpenCage forward/reverse geocoding API
License: MIT License
Dart client for the OpenCage forward/reverse geocoding API
License: MIT License
Hi all,
I noticed the 'postcode' was missing from the components. I'm getting this kind or result from the api but I can't seem to find the postcode in it.
"results": [
{
"bounds": {
"northeast": {
"lat": 52.5164327,
"lng": 13.377825
},
"southwest": {
"lat": 52.5161167,
"lng": 13.37758
}
},
"components": {
"ISO_3166-1_alpha-2": "DE",
"_type": "attraction",
"attraction": "Brandenburg Gate",
"city": "Berlin",
"city_district": "Mitte",
"country": "Germany",
"country_code": "de",
"house_number": "1",
"political_union": "European Union",
"postcode": "10117",
"road": "Pariser Platz",
"state": "Berlin",
"suburb": "Mitte"
},
"confidence": 9,
"formatted": "Brandenburg Gate, Pariser Platz 1, 10117 Berlin, Germany",
"geometry": {
"lat": 52.5162767,
"lng": 13.3777025
}
}
],
regards,
Alex
Hi, an error happens when compile in dart sdk 2.1.0:
The current Dart SDK version is 2.1.0-dev.1.0.flutter-ccb16f7282.
Because opencage_geocoder 0.0.5 requires SDK version >=1.24.3 <2.0.0 and no versions of opencage_geocoder match >0.0.5 <0.1.0, opencage_geocoder ^0.0.5 is forbidden.
So, because my_iantd_app depends on opencage_geocoder ^0.0.5, version solving failed.
pub get failed (1)
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.