Lately i need to use the google API to create maps with multiple markers. Obviously, the operation need to get the markers latitude and longitude from somewhere and i used database. Basically the process is easy: we create an ajax call and create the markers with a loop and then display them on a map.
Infinite scrolling is a very popular way to replace traditional pagination. Although I believe it is not the best solution for every situation, especially social media made it very popular, just go on Pinterest, Facebook or google plus. so, how can we do it? good you asked. let’s go.
Sometimes we need to display data in a visual way, for aesthetic reasons or readability ( not going into a long and boring data tables). Lately i used Morris Charts to display electricity consumption, and it is a very good library and verstile. In this tutorial i use it with an ajax call and make it all dynamic, let’s start.