Ir al contenido principal

Entradas

Latest Post

How to host a flutter project on Firebase?

 Create a Firebase project run firebase login command run flutter build web command Run firebase init on the work directory.  Select the hosting option Set build/web as public directory run the command firebase deploy References: How to deploy and host your Flutter web app on Firebase?(a nice video I found online)
Entradas recientes

Calculate Distance using Coordinates

Calculating distance between coordinates After doing little research(absolutely no research) I claimed to have created something even though all that I truly did was calculate distance using equirectangular projection(someone had already done that many years ago) . I did 3d models and tried to explain as simple as I could what I had in my brain. Then exported it as PDF and uploaded it here so that all of you can access the document. Then I downloaded a Geo JSON file from a website and used its coordinates and the previously mentioned mathematical method to generate a 2d map of the earth in svg format and hosted it on github pages . Full source code for generating the map is available here . If you happen to use dart programming language and would like to use this mathematical method check out my library so that you don't have to go through all the work all over again.