Sometimes we may be in need of extracting numbers from random strings containing alphabets or symbols. This is more useful if some form validation fails and you absolutely need to…
Optimize Google Maps Polygon Using Ramer Douglas Peucker Algorithm | Vue.js | Example
Google Maps polygons work fine in most cases. However, once we start dealing with a huge number of polygons (hundreds of thousands), having hundreds of coordinates each, it becomes hard…
How to make multiple concurrent API requests in Axios | JavaScript | Example
Axios requests are Promise based and are by default awaited. That means, that if we need to make two API requests from the same place, we need to wait for…
How to access a property of a data layer in Google Maps JavaScript API v3 | Example
In a previous article, I've written how we can create a polygon using the Data Layer of the Google Maps JavaScript API. In this tutorial, we'll have a look at…
Toggle Data Layer Polygon visibility – Google Maps JavaScript | Example
In the previous article, we learned how we can render a polygon using the Data Layer in Google Maps JavaScript API v3 in Vue.js. In this example, we'll have a…
Create polygons with Data Layers – Google Maps JavaScript API | Example
Earlier we've seen how we can create editable Polygons and Polygons with labels using the Google Maps JavaScript API v3. Google Maps can not only create shapes that can be…
How to load HTML content in Vue 3 Composition API | Example
We can quickly load some HTML file content and show them unescaped in Vue 3. Let's have a look at an example where we load some HTML content as string.…
How to export data to Excel/CSV in Vue.js | Example
There are plenty of ways to export data to CSV, XLS, TXT, or whichever format we want in Vue.js. One of the most significant advantages of using Vue.js is its…
Quickly create an infinite scroll list in Vue.js | Example
There are plenty of ways to create an infinite scroll list in Vue.js. Some of the popular methods are based on one of the following premises: Calculating the list height,…