Ton Snoei

A Blog About Software Development And Life

Welcome to my blog. Subscribe and get my latest blog post in your inbox.
Photon Geo Code Auto Complete

Je eigen geocoder API met Docker

2 years ago3 min read
Voor een van mijn projecten heb ik een API nodig voor het automatisch aanvullen van geografische gegevens. Dus als iemand bijvoorbeeld "Hudsonlaan Gou" dat het "Hudsonlaan, Zuid Holland Gouda"...
Read more →
Photon Geo Code Auto Complete

Set up your own geocoder API with Docker

2 years ago3 min read
For one of my projects I need an API for autocomplete geographical data. So for example, when someone types "27th street lo" that it returns "27th Street, Long Island, New York" in a formatted way...
Read more →
Openrouteservice

Set up a route direction API with Open Street Map

2 years ago13 min read
Openrouteservice.org provides a free API for calculating directions from one point to another on a map. This service uses OpenStreetMap data to calculate this directions. OpenRouteService provides a...
Read more →
Openrouteservice

Een navigatie-API opzetten met Open Street Map

2 years ago13 min read
Openrouteservice.org biedt een gratis API voor het berekenen van routes van het ene punt naar het andere op een kaart. Deze dienst gebruikt OpenStreetMap gegevens om routes te berekenen....
Read more →
Promise Thumb

How to use a try catch with a promise in javascript?

2 years ago1 min read
You can use a try-catch block with a promise in JavaScript by chaining a .catch() method onto the promise. The catch() method receives the rejection reason as an argument and it allows you to handle...
Read more →
Img (1)

High CPU load in VS Code

3 years ago2 min read
There can be several reasons why VS Code produces a high CPU load. In my case I experience this high CPU load on my MacBook since recent versions of VS Code. My MacBook is a heavy machine, but with 2...
Read more →
Cannot Read Properties From Undefined Configurations

Fix: ERROR Cannot read properties of undefined (reading 'configurations')

3 years ago3 min read
In most cases the error: "ERROR Cannot read properties of undefined (reading 'configurations')" occurs in situations where you use React Native version 0.68.2. In the post you will find a proper...
Read more →
Thumb Viewproptypes

Fix: ViewPropTypes has been removed from React Native

3 years ago4 min read
In most cases the error: "ViewPropTypes has been removed from React Native" occurs in situations where you upgraded your project to React Native version >0.70. In the post you will find a proper...
Read more →
Thumb Flow Error Mac Os Vs Code

Flow probleem oplossing in Visual Studio Code op de Mac

3 years ago2 min read
Heb je ooit de fout gehad: "Wrong version of Flow. The config specifies version ^0.182.0 but this is version 0.158.0" in Visual Studio Code. Ik krijg hem regelmatig bij het ontwikkelen van React...
Read more →
Thumb Flow Error Mac Os Vs Code

Solve Flow error in Visual Studio Code on a Mac OS

3 years ago2 min read
Did you ever get the error: "Wrong version of Flow. The config specifies version ^0.182.0 but this is version 0.158.0" in Visual Studio Code. I got it when building React-Native apps. This error...
Read more →