One thing I love about these videos is just watching your workflow and seeing how you use and read documentation. It's like there's a mentor by my side showing me how to navigate this confusing world of self taught programming. Thanks
incredible, how do you make this look so easy? like seriously, i would spend hours just to make half of what you did here. you are truly an inspiration
Love this series. Been teaching me so much! Very excited for the last one! And definitely please show how to center the space station while the map moves around it so the ISS is stationary. Can you definitely also show how the page can update with the new lat and lon without refreshing? Love your videos!!
Thanks for the clarification on merkator's map . It's really important that! I'm from Argentine, It is as long as Europe! Buenos Aires as long as Spain
Thank you Im glad I found your channel. If anyone is having issus with marker.SetView not working, try using the following method marker.setLatLng( [lat,long ] )
Although I have no need to watch this series because this kind of stuff is my bread and butter, I still do because I love watching your videos, and you never know what you will learn. There is always room for improvement. With that said, I think an addition to this "Working with Data" series you could show how to cache data that doesn't need to be repeatedly fetched from the source. Just an idea but picking up from this video, you could grab all the countries latlong via restcountries.eu, which also uses no authentication, and then create a marker that displays their population or something, or using Charts.js create a bubble map that involves area, population, exc.
Thank you very much. I love your presentation style. Apart from the topic of the video, which is always undoubtedly great, I learn a new way of doing things.
Thank you so much. You are a great teacher. I know it’s not necessary, but I actually feel comfortable learning with you. I’ll definitely subscribe and check out the rest of your vids! ❤
0:14-0:16 In case anyone hasn't noticed, that was Dan from waaay in the future. That's why his voice was a little bit different. Because, I've actually watched how he recorded this, and he just said "dom" incorrectly. For some reason, that bothered him!
Hey! Your videos are absolutely great, and coding along with them each in order has taught me so much! There's one thing in this video that has me absolutely stumped right now and I'm surprised I don't see anyone else mentioning it in the comments- when I paste in the attribution URL, the URL itself has quotes in it, which JS then treats as the end of the string! How and why is it not doing that for you?
Dude! I love your teaching style. You’re killing it! I love the setup too. Green screen? How do you know where to point? Do you have a monitor like the weather man? It looks fantastic. I teach for a living and this is one of the best coding style lessons I’ve seen.
i really like how you teaching and explaining. i just start learning javascript and i wanna know do you have javasript tutorial videos like about everything. thank you so much
Dan, VSCode has Emmet built in so you can all kinds of HTML stuff really quickly, like making divs or setting up a boilerplate page. Is this something you normally don’t use or is it jus out of scope and confusing for people browsing your videos to see you do something like .name and a line of code magically appears?
Thanks! Might you make a project with the following option: If I type "Colombia, Bogota" on a input, the library you used can change that text to lat and long? That would be awesome!
I recently set up a site that works with Leaflet and Algolia Places that does that. Algolia Places gives you real time update as you type addresses with latitude longitude, leaflet can then update the maps with new data how ever fast you allow it to.
IF your *MAP outline DOESN'T SHOW* one problem could be that where you put it ( ) is below the line where you defined it (const mymap = L.map('mapid').setView([51.505, -0.09], 13); ). I always thought you'd want to define it first and the place it but that's not the case here.
hey there good people, just an add on this, if you are using vue3 the icon/ marker might not appear hence , according to the documentation at this point in time, you will have to add : import { Icon } from 'leaflet'; delete Icon.Default.prototype._getIconUrl; Icon.Default.mergeOptions({ iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'), iconUrl: require('leaflet/dist/images/marker-icon.png'), shadowUrl: require('leaflet/dist/images/marker-shadow.png'), }); to your main.js file and voila your marker appears! happy "mapping"
Daniel could you make a video on how to optimize route on a map like the Mapping companies do ! Also, it would be great if you could make an application that uses drag and drop workflows like Salesforce does inorder to automate its applications.
Love the videos! I am wondering though... Some data seems to be changing but you still used const, instead of let. Why is that and how is the code still able to work?
This is a wonderful tutorial. Can you PLEASE help me come up with a simple example of how to develop a Data-Driven Leaflet Interactive Choropleth Map?
I wish to fetch my data from MySQL table. Instead of reading from the *.js file in the application folder, can we generate a GeoJSON string from the MySQL table? Please reply. I have been struggling with this,
I'm working on this full series incrementally and releasing them when I'm sure the video is final. But happy for people to find the draft videos in the playlist in advance and comment!
Hi, I'm able to use p5.js + mappa. But, couldn't achieve using Leaflet + p5.js. As a basic, I need to draw a basic eclipse on the current location on the Leaflet map. I don't want to use mappa.
HI, can we give the coordinates from the navigation instead of the ISS ? I tried do this, but console log bugs "map container is already initialized" :/
Hey man nice video! I would like to suggest you using npm instead of good old vanilla import into html because that's rarely used in the real world for real applications. Everyone uses things like npm and webpack which is a really essential tool. I think it would be a good idea to always use that even if it's just for good practice and not really necesary :)
I personally don't mind, I'm too lazy to create even more projects on my hard-drive so I prefer using online services like codepen.io and repl.it to host simple CSS/JS code, and I already had to change my code a little bit because there's no async and await on browser JS so using NPM and other Node libraries would make it harder for me to keep using it on browser. Btw when I do use Node/NPM I prefer Gulp not Webpack, it's JavaScript style and not JSON style, 100% recommend it.
NPM is good for Node projects, but when making a fully client-based application, there's not much need for it. To be honest, the reason things like Webpack/Babel/etc. seem to still be used for client-side applications is just for compatibility reasons, but if your application doesn't need to support old browsers (*cough* IE *cough*) then most modern browsers will be just fine with vanilla ES6 features.
I just find that me and my colleagues always have been using npm for the frontend of our projects, just to keep things clean. But yeah it was just a suggestion :)
I love your videos, I'd like to know if there is a way to chance the icons from the features to images (png), I use the qgis2web plugin to generate the html file, but the icons I set on Qgis aren't working on the html. Can you help me?
One thing I love about these videos is just watching your workflow and seeing how you use and read documentation. It's like there's a mentor by my side showing me how to navigate this confusing world of self taught programming. Thanks
If you watch it at 1.5x he is even more excited to teach programming. Thanks!
incredible, how do you make this look so easy? like seriously, i would spend hours just to make half of what you did here. you are truly an inspiration
You are awesome!! this has helped with a project I have been struggling with for days now. Thanks
@Juliet Osunde on which project you are working.
It helps me too . 🙂 But we can't share anything about our project as it's against our company policies 🥴
Loving this series so much. Thank you so much for making JS fun.
After so many series and lectures. i just love the energy & clarity of your every explanation
Love this series. Been teaching me so much! Very excited for the last one! And definitely please show how to center the space station while the map moves around it so the ISS is stationary. Can you definitely also show how the page can update with the new lat and lon without refreshing?
Love your videos!!
It's all coming in the subsequent videos and you can find the exercise solutions here: github.com/CodingTrain/Intro-to-Data-APIs-JS/
Man I have no words. Daniel Shiffman, you are simply the best!
your TEACHING style is one of a kind !!!!!
I am in love with ur enthusiasm bruh. You are really awesome!
Thanks for the clarification on merkator's map . It's really important that! I'm from Argentine, It is as long as Europe! Buenos Aires as long as Spain
This is one of the coolest tutorials ever. This guy has some serious teaching chops. SUBSCRIBED!!!
This is a really good series. Thanks a lot. If you want more rainbows in your VS Code, I'd recommend the imo useful extension indent-rainbow.
Oh, I will check it out!
Hello from IRAN, you helped me so much, thank you !
I totally love this guys energy and teaching skills, good work bro !
Thank you Im glad I found your channel.
If anyone is having issus with marker.SetView not working, try using the following method marker.setLatLng( [lat,long ] )
Magical! Thanks for transporting us to another world.
One of my favourite JS libraries, it's really awesome and clean :D ♥
Yours videos are just awesome! I hope more people can appreciate your work. Greetings from Brazil!
Although I have no need to watch this series because this kind of stuff is my bread and butter, I still do because I love watching your videos, and you never know what you will learn. There is always room for improvement. With that said, I think an addition to this "Working with Data" series you could show how to cache data that doesn't need to be repeatedly fetched from the source. Just an idea but picking up from this video, you could grab all the countries latlong via restcountries.eu, which also uses no authentication, and then create a marker that displays their population or something, or using Charts.js create a bubble map that involves area, population, exc.
Ah, thank you for this feedback! A great tip! Feel free to keep commenting with more feedback as I release future videos.
Thank you very much. I love your presentation style. Apart from the topic of the video, which is always undoubtedly great, I learn a new way of doing things.
Love your videos! You are very enthusiastic!
wow!! you are a real teacher. you are my inspiration for coding
Lovely presentation and explanantions
Just waiting for this session from you! 🤗
Thank you so much. You are a great teacher. I know it’s not necessary, but I actually feel comfortable learning with you. I’ll definitely subscribe and check out the rest of your vids! ❤
Revisiting this video. Hey, coding is FUN!!
thank you man, i made more progress in 1 day than in a week with fetch()
Great series! It helped me tremendously on my project. Thank you o much, wish I could like this x1000 times.
Very useful video.
Thanks for all you share with us.
Beautifull lecture. Thanks a lot, Daniel!
Great presentation! All the best!
You're a genius !
0:14-0:16 In case anyone hasn't noticed, that was Dan from waaay in the future. That's why his voice was a little bit different.
Because, I've actually watched how he recorded this, and he just said "dom" incorrectly. For some reason, that bothered him!
Wow, amazing that you noticed!
Fantastic. Enthusiastic, great legible code, a sense of direction,
Great stuff! Just a small correction: {s} = subdomain @ 7:35
Ah, thank you!
I'm loving this already
Thank you very much for upload this video, it is very useful!
Thank you very much. These tutorials are god-sent!
Hey! Your videos are absolutely great, and coding along with them each in order has taught me so much!
There's one thing in this video that has me absolutely stumped right now and I'm surprised I don't see anyone else mentioning it in the comments- when I paste in the attribution URL, the URL itself has quotes in it, which JS then treats as the end of the string! How and why is it not doing that for you?
Love your energy! Thank you for the super clear explanation!
Awesome dan🤩
The marker doesn't pin to the map accurately when you insert your own icon, like it normally does when using its default icon.
Great video,keep it up!⏺⏹⏺
Dude! I love your teaching style. You’re killing it! I love the setup too. Green screen? How do you know where to point? Do you have a monitor like the weather man? It looks fantastic. I teach for a living and this is one of the best coding style lessons I’ve seen.
Yes green screen and monitor! More here: czcams.com/video/sqkwHUyV-YY/video.html
A great tutorial sir it was a pleasure to watch!
You're a life savior!
Where did the tileUrl come from? I know you explained it a bit, but can that url be found in documentation anywhere?
Nice. Maybe giving it a try with Openlayers ? Doesn't it offers you more possibilities ?
Great job!
Amazing tutorial, just what I was looking for!
Great video. How would you click on the target to open another window or perform a function related to that marker?
i really like how you teaching and explaining. i just start learning javascript and i wanna know do you have javasript tutorial videos like about everything. thank you so much
Dan, VSCode has Emmet built in so you can all kinds of HTML stuff really quickly, like making divs or setting up a boilerplate page.
Is this something you normally don’t use or is it jus out of scope and confusing for people browsing your videos to see you do something like .name and a line of code magically appears?
Oh, I should look into this more, thank you!!
how did you figure out the appropriate values for iconAnchor?
great video as always!!
Great video! Thanks!
I would love to learn Nodejs or Reactjs from you!
can you make a video showing this same project using processing.
thanks bro
Hey nice video and great presentation, period.
But how can you preview your work on VSC ? I was wondering about this for weeks.
Thanks in advance.
I wish that flat earthers were smart enough to love coding and watch this video.
Thanks! Might you make a project with the following option:
If I type "Colombia, Bogota" on a input, the library you used can change that text to lat and long? That would be awesome!
I recently set up a site that works with Leaflet and Algolia Places that does that. Algolia Places gives you real time update as you type addresses with latitude longitude, leaflet can then update the maps with new data how ever fast you allow it to.
@@EricWilliamsCG Great! Can you pass me any example you have? Thanks!
Great Tutorial. Please suggest to restrict the tile to only 1 rather than many more when u r zoom out, please reply
using leaflet how do I get the set of coordinates of a place sought through the search box and highlight its borders
IF your *MAP outline DOESN'T SHOW* one problem could be that where you put it ( ) is below the line where you defined it (const mymap = L.map('mapid').setView([51.505, -0.09], 13); ). I always thought you'd want to define it first and the place it but that's not the case here.
hey there good people, just an add on this, if you are using vue3 the icon/ marker might not appear hence , according to the documentation at this point in time, you will have to add :
import { Icon } from 'leaflet';
delete Icon.Default.prototype._getIconUrl;
Icon.Default.mergeOptions({
iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),
iconUrl: require('leaflet/dist/images/marker-icon.png'),
shadowUrl: require('leaflet/dist/images/marker-shadow.png'),
});
to your main.js file and voila your marker appears!
happy "mapping"
You`re a legend!
Thanks for the video! Do you know how I can make an ordered Leaflet slider showing features by year?
that was helpful thank you.
can you make a video about searching marker leaflets that i added on my map ?
Awesome🤗
Daniel could you make a video on how to optimize route on a map like the Mapping companies do !
Also, it would be great if you could make an application that uses drag and drop workflows like Salesforce does inorder to automate its applications.
Thank You.
Love the videos! I am wondering though... Some data seems to be changing but you still used const, instead of let. Why is that and how is the code still able to work?
Thanks for the video! How can I make China's map show up in English characters?
Sir, you are nothn less than a fuckn legend🤩
Thank you
It's showing 404 error
Hello,
Can you please suggest a library for angular by which we can show different colour on each lat-long point.
Thanks
This is a wonderful tutorial. Can you PLEASE help me come up with a simple example of how to develop a Data-Driven Leaflet Interactive Choropleth Map?
I wish to fetch my data from MySQL table. Instead of reading from the *.js file in the application folder, can we generate a GeoJSON string from the MySQL table? Please reply. I have been struggling with this,
How to use them in react js
Can i make a button,i want to click on a maker for example and it should go to another link,like a building description or something?
Please make videos on JavaScript beginners.
That's this one! czcams.com/play/PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA.html
How do you convert address to latitude and longitude in javascript? when using the leaflet maps?
awesome stuff. please make python vids
Im not sure this is meant to actually be available yet.... doesnt show on the channel and its unlisted!
I'm working on this full series incrementally and releasing them when I'm sure the video is final. But happy for people to find the draft videos in the playlist in advance and comment!
@@TheCodingTrain as long as you know buddy :)
Hi, I'm able to use p5.js + mappa. But, couldn't achieve using Leaflet + p5.js. As a basic, I need to draw a basic eclipse on the current location on the Leaflet map. I don't want to use mappa.
awesome
could make a video how to put Polyline with the coordinates
How to create track for the ISS locator on the map?
how could I do if I wanted to track a group of satellites (for example) doing the same update job with setInterval?
Hey great video. Is it possible that when I click on the map, the coordinates are displayed or copied from there?
How did you know the syntax for titleUrl? I couldn't find it documented anywhere.
likewise. Any luck ?
leafletjs.com/reference-1.6.0.html#tilelayer
unless you didn't find, it's here in Raster Layers/TileLayer
How to work with OAuth 2 in js for GitHub , Spotify,etc logins???
Put them inside a config file and add that file to the gitignore.
How to add right click to the marker or cluster data?
HI, can we give the coordinates from the navigation instead of the ISS ? I tried do this, but console log bugs "map container is already initialized" :/
Hey man nice video! I would like to suggest you using npm instead of good old vanilla import into html because that's rarely used in the real world for real applications. Everyone uses things like npm and webpack which is a really essential tool. I think it would be a good idea to always use that even if it's just for good practice and not really necesary :)
I personally don't mind, I'm too lazy to create even more projects on my hard-drive so I prefer using online services like codepen.io and repl.it to host simple CSS/JS code, and I already had to change my code a little bit because there's no async and await on browser JS so using NPM and other Node libraries would make it harder for me to keep using it on browser.
Btw when I do use Node/NPM I prefer Gulp not Webpack, it's JavaScript style and not JSON style, 100% recommend it.
Ah, good point, I should add to this series to cover this.
NPM is good for Node projects, but when making a fully client-based application, there's not much need for it. To be honest, the reason things like Webpack/Babel/etc. seem to still be used for client-side applications is just for compatibility reasons, but if your application doesn't need to support old browsers (*cough* IE *cough*) then most modern browsers will be just fine with vanilla ES6 features.
Have to agree with DarkCeptor and IceMetalPunk. I use vanilla often in real world apps. NPM is just another link in the chain to keep working.
I just find that me and my colleagues always have been using npm for the frontend of our projects, just to keep things clean. But yeah it was just a suggestion :)
I love your videos, I'd like to know if there is a way to chance the icons from the features to images (png), I use the qgis2web plugin to generate the html file, but the icons I set on Qgis aren't working on the html. Can you help me?
hey.!
I want to display current location of me, then what should I do to implement. Can you give me suugestion ?
Ayeeee notif squadd bois
Harikasiiiin !