Closed moses19850 closed 9 months ago
Thanks for asking @moses19850, but I'm afraid I might need some more context. Could you explain your problem/request more deeply and/or provide a code snippet example?
thanks for your fast reply. Follwoing delivers a result:
const NodeGeolocation = require('nodejs-geolocation').default; const geo = new NodeGeolocation('MyApp'); // Set geocodingOptions geo.geocodingOptions = { service: 'Here', key: 'someapi' }; const position = { lat: 48.315269, lon: 16.637969 }; // Get reverse geocoding data from coordinates geo.getReverseGeocoding(position) .then((data) => { //console.log(data); console.log(data.address.city); console.log(data.address.state); console.log(data.address.postalCode); console.log(data.address.street); console.log(data.address.houseNumber); }) .catch((err) => { console.log(err); });
The export delivers everything in German, except: State => This vlaue is in english. My question now: Can I force to use german as a language?
Good evening,
is it possible to change the language when displaying the result?
Thanks in advance