Leaflet crash course | All you need to know about leaflet | Leaflet | Tekson

  Рет қаралды 167,698

GeoDev

GeoDev

Күн бұрын

Пікірлер: 253
@geodev
@geodev 3 жыл бұрын
0:00 Video topics and introduction 1:35 Leafletjs basic setup 8:45 Leaflet Tile layer 15:33 Leaflet marker 25:06 Leaflet layer control 33:47 GeoJSON data in leaflet 49:57 How to load other data type (SHP, Tiff, WMS) 57:13 Leafletjs events (mouseover, mousemove etc) 1:05:04 Styling leaflet components
@no_justno
@no_justno 5 ай бұрын
You're video is a epitome of superior education. You are a wonderful teacher.
@geodev
@geodev 5 ай бұрын
Wow, thank you very much! Glad you liked the video!
@compateur
@compateur 2 жыл бұрын
Thank you for your explanation. You have given me a clear overview of Leaflet.
@geodev
@geodev 2 жыл бұрын
Glad it was helpful!
@thanuumusic
@thanuumusic 6 ай бұрын
I was so stuck for not being able to register for google cloud to get the map service and without it whole my project was down.But you came in the way and saved my project brother. Thank you so much you are a real life saviour.Much love frlm Sri Lanka.Wish you all the best for your future❤❤
@geodev
@geodev 6 ай бұрын
Glad I could help! Happy coding!
@thanuumusic
@thanuumusic 6 ай бұрын
@@geodev 💌
@kushalnayak9363
@kushalnayak9363 4 ай бұрын
This is really very informative. Spacial for those who start GIS Web developing with leaflet & Javascript. Thanks for making this video
@geodev
@geodev 4 ай бұрын
Glad you liked it.
@onyxelite312
@onyxelite312 2 жыл бұрын
Thank you for taking the time to make this.
@geodev
@geodev 2 жыл бұрын
Glad it was helpful!
@topanime7563
@topanime7563 3 жыл бұрын
This really helps me with my capstone project, thank you !
@geodev
@geodev 3 жыл бұрын
Great to hear!
@deryabakiler1184
@deryabakiler1184 2 жыл бұрын
Very instructive video, it was perfect for a total beginner like me! Thank you! :)
@geodev
@geodev 2 жыл бұрын
You're very welcome!
@SasankaMadawalagama
@SasankaMadawalagama 3 жыл бұрын
Awsome tutorial tek ... You clearly explain all the stuff needed to up and running with leaflet.
@geodev
@geodev 3 жыл бұрын
Glad you liked it Sasanka!
@lionelgibaudan3592
@lionelgibaudan3592 3 жыл бұрын
Good introduction .. it gives me envy to follow all the others video about leaflet... thanks
@geodev
@geodev 3 жыл бұрын
Glad you liked it! I hope all videos are useful for designing the better webGIS portals.
@emreaktas8169
@emreaktas8169 2 жыл бұрын
Leaflet.FileLayer loads files (GeoJSON, GPX, KML) into the map using the HTML5 FileReader API (i.e. locally without a server). Leaflet.FileLayer can you make a video about this process?
@pedinokilkis
@pedinokilkis 3 күн бұрын
Hi, how can i add the IntelliSense in VS Code for leaflet? i found some extension called leaflet but dort think it's the correct one. My env seems to get some of the methods etc but don't think it's working as well as yours. Thank you
@sabrinapyles563
@sabrinapyles563 2 жыл бұрын
So helpful! Absolute banger of a tutorial. Thank you!!!
@geodev
@geodev 2 жыл бұрын
Glad you liked it!
@monsefm1268
@monsefm1268 3 жыл бұрын
Amazing tutorial, but I have a question. Is there possible export or download the map with its tileLayers as image?. Thank you for you answer :)
@geodev
@geodev 3 жыл бұрын
Yes, it is. I have created the tutorial on it. Check the tutorial here: kzbin.info/www/bejne/sGi1hIWXf7mqq9E
@monsefm1268
@monsefm1268 3 жыл бұрын
@@geodev oh, thank you so much! Im gonna check it
@azlacullen638
@azlacullen638 Жыл бұрын
I just found your channel and I'm excited to explore more of your videos regarding leaflet. Your instructions were pretty clear and easy to understand. I'm making an interactive map using my own layers with data in it. But I'm stuck with how I'm gonna create a feature where the user can input any numbers on the website and that number will determine the amount of area divided by color. For example, when the user inputs number 5, then there will be 5 different colors dividing the area based on existing data in each region (the data : 0-5, 6-10, 11-15, 16-20, 21-25). Please, could you give me some pointers or tutorial ?
@sarojpaudel7479
@sarojpaudel7479 6 ай бұрын
Hi brother, any plugins available for drawing the lines, areas wth different polygon shapes and perform crud features.
@geodev
@geodev 6 ай бұрын
Yes, I have created the video on that topic. Please watch here: kzbin.info/www/bejne/rHzCXoJ_aNWdjs0si=yZpd26dZ_2bGDGWU
@sametcoban1604
@sametcoban1604 2 жыл бұрын
Very useful tutorial mate, better than Leaflet js crash courses in Udemy, thank you very much...
@geodev
@geodev 2 жыл бұрын
Glad you liked it!
@rkboy7628
@rkboy7628 14 күн бұрын
map is not showing properly when i am using in react without cdn. do you have any solution?
@good114
@good114 5 ай бұрын
♥♥
@EthanjMarchand
@EthanjMarchand 3 ай бұрын
Lets say someone wanted to place a pin on a map, but instead of a pin, wanted to use a dynamic price of each pin. How would you do that? TIA!!
@geodev
@geodev 3 ай бұрын
You can add the custom marker and the tooltip to show the price. Here is the demo: leafletjs.com/examples/custom-icons/
@sarojpaudel7479
@sarojpaudel7479 6 ай бұрын
Is this self contained web map? I dont think so..because its opening in the HTML page rather than in a separate window.
@geodev
@geodev 6 ай бұрын
Yes it is a web-app.
@jonykatz
@jonykatz 2 жыл бұрын
Thank you very much! :) But how can I embed it into a post on my WordPress website?
@geodev
@geodev 2 жыл бұрын
It will be only possible if you can add the custom js code in the wordpress. I am not sure about it, whether it is possible or not.
@ozodbekboriboyev1010
@ozodbekboriboyev1010 2 жыл бұрын
I'm very thankful to you, thank you!
@geodev
@geodev 2 жыл бұрын
You're very welcome!
@ozodbekboriboyev1010
@ozodbekboriboyev1010 2 жыл бұрын
@@geodev i'm sorry, could you answer my question? How can i add location to this map, and is it possible to add addressing too?
@TGRockS13
@TGRockS13 2 жыл бұрын
Awesome tutorial ! Thank you ! Is there a way to add a button on the map, that moves with the map , like the polygon does ? Once clicked on the button , send user to another page .
@geodev
@geodev 2 жыл бұрын
I think for that you need to add the marker on your required lat. long. After that you can change the marker custom icon which is looks like a button.
@evelynliviabrito5647
@evelynliviabrito5647 7 ай бұрын
Hi, do you know if there is any way of putting netcdf data into a map in leaflet? thx for the video, keep the good work!
@omkar2589
@omkar2589 9 ай бұрын
Hi, thank you for the tutorial. I would like to know if there is any way to change the language for all the names in the map?
@filibertocarnal
@filibertocarnal 2 жыл бұрын
Very good beginner tutorial, I appreciate it!
@geodev
@geodev 2 жыл бұрын
You're very welcome!
@oscarsoto9545
@oscarsoto9545 2 жыл бұрын
Very good! Question, how can to change colors in layer Geojson that contain so much objects (objects: 100 to more)
@geodev
@geodev 2 жыл бұрын
You have to add the style parameter on the geojson object something like this; L.Geojson(data, { style: {color: "red", fillOpacity: 0.5} }).addTo(map);
@andipermadi5027
@andipermadi5027 9 ай бұрын
​@@geodev how to change color for geoJson properties, example : I have geoJson properties NAMEOBJ I will change the color red for NAMEOBJ.India The color blue for NAMEOBJ.indonesia Maybe using array and object ?? Please how to code this case
@drazraut
@drazraut 3 жыл бұрын
You are good at explaining stuffs dai. Thank you much for the tutorial.
@geodev
@geodev 3 жыл бұрын
Always welcome! I am glad you liked
@shrishti9431
@shrishti9431 2 жыл бұрын
thank you so much. this tutorial really saved me.
@geodev
@geodev 2 жыл бұрын
You're welcome!
@snehabamane5794
@snehabamane5794 7 ай бұрын
Sir i don't have knowledge of Django. can i enroll in your Udemy course "Web Mapping and Web-GIS from Dev to Deployment: GeoDjango"??
@geodev
@geodev 7 ай бұрын
Yes, you can. I tried to explain the things used in Django. But if you stuck somewhere, please watch some free tutorials in Django in KZbin.
@margarethsimoes4652
@margarethsimoes4652 5 ай бұрын
Dear Sir. How can I access the class: " leaflet from zero to heroe" ? Can you open the access again ? I can not acces ! Many thanks
@geodev
@geodev 5 ай бұрын
Here it is: kzbin.info/aero/PLyWyQBSWLw1NH1wsA0wkSMTlQ45P0AqCj
@roofroofconstruction
@roofroofconstruction Жыл бұрын
I haven't yet gone through all of them, but I'd like to learn how to put a home address and have leaflet tell me the roof square footage.
@geodev
@geodev Жыл бұрын
Looks like you are searching for leaflet measure plugin. Just search for "leaflet measure geodev" in youtube
@babiloon659
@babiloon659 2 жыл бұрын
Really awesome tutorial. You are amazing! Thanks for sharing your knowledge.
@geodev
@geodev 2 жыл бұрын
Glad it was helpful!
@GyanMedia
@GyanMedia 2 жыл бұрын
Hello bro I just wanna ask if you have to make this with pointing the organization or place features how much do you charge
@geodev
@geodev 2 жыл бұрын
Nice to meet you. We can discuss further on it
@steffenlindner299
@steffenlindner299 3 жыл бұрын
Thank you a lot! Great start.
@geodev
@geodev 3 жыл бұрын
You are welcome!
@margarethsimoes4023
@margarethsimoes4023 5 ай бұрын
Dear Dr thanks for your course, i would like to access leaflet: from zero to heroe. but it is not available
@geodev
@geodev 5 ай бұрын
You can follow this playlist for basic to advance guide: kzbin.info/aero/PLyWyQBSWLw1NH1wsA0wkSMTlQ45P0AqCj&si=_-GFPfv98j0DEEVK
@TokyFandresena
@TokyFandresena 3 жыл бұрын
Thank you Guys ! Awesome Tutorial,
@geodev
@geodev 3 жыл бұрын
Glad you liked it!
@mohammadazhar2223
@mohammadazhar2223 Жыл бұрын
Hi have mvc application with this All works fine im getting all markers but in ky staging only one is showing
@FitChaser
@FitChaser 2 жыл бұрын
Thank you!
@geodev
@geodev 2 жыл бұрын
You're welcome!
@mynameisdinesh
@mynameisdinesh Жыл бұрын
Too good. Thanks for the tutorial (y) keep up the great work
@geodev
@geodev Жыл бұрын
😁❤️
@fourshoesyeah71
@fourshoesyeah71 2 жыл бұрын
Thank you for the course
@geodev
@geodev 2 жыл бұрын
You are welcome
@mahdimirzaei1635
@mahdimirzaei1635 2 жыл бұрын
Thank you very much. This video was super helpful.
@geodev
@geodev 2 жыл бұрын
Glad you liked it.
@PawsomeEnglish-0124
@PawsomeEnglish-0124 4 ай бұрын
Thank you! it is quite helpful
@geodev
@geodev 4 ай бұрын
Glad it was helpful!
@fredtanada3388
@fredtanada3388 3 жыл бұрын
Dude. You're a god. God bless you man. You rock.
@geodev
@geodev 3 жыл бұрын
Great! Glad you liked it!
@Webspreed
@Webspreed 2 жыл бұрын
Hello sir, Can you inform me how I will read data from the multilayer when someone clicks on it, I have 2 GEOJSON files and it's like the overlayer base map is an open street map. Already projected just I need some different information layer bases.
@geodev
@geodev 2 жыл бұрын
For that, you can use the click event on both geojson.
@Webspreed
@Webspreed 2 жыл бұрын
@@geodev user click one time I will get 3 layer date? it's over layer 3 . is there any link or example? another thing is how to handle large geo JSON like 200-300MB
@geodev
@geodev 2 жыл бұрын
@@Webspreed for large geojson, watch this tutorial: kzbin.info/www/bejne/rpbVnYRpqapre9k About your first question, I think you need to write a nested click event. I don't have any examples right now.
@bengamrawiem3803
@bengamrawiem3803 2 жыл бұрын
Thank you ! Is there a way to make interactive map Once clicked on the region (governorate) show statistics.. charts ..in the same page ?
@geodev
@geodev 2 жыл бұрын
Yes It is possible. You can use the onClick event on map. For more info, visit the leaflet documentation: leafletjs.com/SlavaUkraini/reference.html#map-click
@kinjalpatel4030
@kinjalpatel4030 3 жыл бұрын
Hello sir, How to set boundaries in map? Example show only one particular country or country 's state only
@geodev
@geodev 3 жыл бұрын
Hi Kinjal, for filtering the data you can use the geojson filter. Here is the example: stackoverflow.com/a/28753510/9354344
@azarudeen6054
@azarudeen6054 Жыл бұрын
Hi, it's possible to get current location when mobile screen off using leaflet, like delivery person location displaying to customer even the person in driving
@geodev
@geodev Жыл бұрын
Hi Azarudeen, I am not entirely sure, how the location information is shared via mobile. But I got this explanation, can you check it? stackoverflow.com/a/21146876
@azarudeen6054
@azarudeen6054 Жыл бұрын
@@geodev thank you
@raymondmichael4987
@raymondmichael4987 3 жыл бұрын
I call this leaflet docs on steroids, Thanks buddy, Subed
@geodev
@geodev 3 жыл бұрын
Great!
@rajjatav7246
@rajjatav7246 2 жыл бұрын
please help ..why SSL not working with leaflet map ? and please suggest which map support ssl for website ?
@geodev
@geodev 2 жыл бұрын
It should work with SSL. There is no any such error. If you can not fix the problem, download leaflet.css and leaflet.js file from leaflet official github repo.
@rajjatav7246
@rajjatav7246 2 жыл бұрын
Then why my developer said to me leaflet is not working with ssl and I stopped my work only for the reason. Please provide me link that shows leaflet support ssl certificate so that I can show them to fix the issue.
@acantoscur
@acantoscur 2 жыл бұрын
Hi, How can I create a multiple marker selector and return this points with their's propierties.
@geodev
@geodev 2 жыл бұрын
Sorry I didn't get your question.
@Abbici
@Abbici Жыл бұрын
Hallo... I would like to use overlayadd to know the array id of the elements on the overlays to use it with mysql... I tried with map.on('overlayadd', function (e) { pathid = e.layer._leaflet_id; alert(pathid); }); but i don't understand why it gives me ids that are not part of the array. Thanks @}-,-'--------- Gianfranco
@vishalchauhan9832
@vishalchauhan9832 3 жыл бұрын
Hello sir could you pls help me in changing tiff file (raster data) color gradient from white -Black to white blue??
@geodev
@geodev 3 жыл бұрын
The required section is explained clearly here: geoserver-rest.readthedocs.io/en/latest/how_to_use.html#creating-and-applying-dynamic-styles-based-on-the-raster-coverages. Please have a look and let me know still if you have an issue.
@vishalchauhan9832
@vishalchauhan9832 3 жыл бұрын
@@geodev thank you sir. Yesterday I have already changed the color successfully 😇😇
@vishalchauhan9832
@vishalchauhan9832 3 жыл бұрын
@@geodev I simply changed it with the help of QGIS
@vishalchauhan9832
@vishalchauhan9832 3 жыл бұрын
@@geodev Hello sir ,how to use leaflet pluggins in our code
@shrishti9431
@shrishti9431 2 жыл бұрын
hi I tried to add googlestreet map but it is not showing. it is not even throwing any error. it shows blank screen
@geodev
@geodev 2 жыл бұрын
Could you copy the code from github? Github link in video description
@sayeddrissi4527
@sayeddrissi4527 2 жыл бұрын
nice course but how can i add a fullscreen control with leaflet ?
@geodev
@geodev 2 жыл бұрын
Here is the tutorial for this: kzbin.info/www/bejne/aqGsnHV-iNOcrJI
@veeshalkarki4202
@veeshalkarki4202 2 жыл бұрын
Sir यो real location अर्को user ले हेर्नु पर्यो भने कसरी हेर्न Give some information and code also..
@francesca3998
@francesca3998 Жыл бұрын
Great tutorial! congrats
@geodev
@geodev Жыл бұрын
Thanks a lot!
@enricoamniat
@enricoamniat 3 жыл бұрын
Thank you so much for the effort, really useful
@geodev
@geodev 3 жыл бұрын
Glad it was helpful!
@bradleynesperos3134
@bradleynesperos3134 Жыл бұрын
Hey can it be stored in database? I mean the markings and details of it?
@geodev
@geodev Жыл бұрын
Yes you can! You have to link your database and add CRUD operation!
@IftikharAliMashwani
@IftikharAliMashwani 3 жыл бұрын
Great tutorial is it possible to make a separate video for different types of filters on map showing like check box, combo box to get the gejson features automatically in such controls and show the map.
@geodev
@geodev 3 жыл бұрын
Yes it is possible to filter the data using checkbox, combo box etc. I will create the video on it if I get time. Thanks for the suggestion.
@eeeeeeee.e
@eeeeeeee.e 2 жыл бұрын
i need to make a interactive map , it changes a specific marker icon when someone donates , its a donation for planting trees and the markers changes from icon to an icon (the other icon is a tree icon) , is this possible ? how ? and how can i let the donator add pics on the marker? like when click the marker i can see pics that only the donator can add to this specific marker
@geodev
@geodev 2 жыл бұрын
Yes it is possible with some conditional statement. Create few markers with your requirements and render them based on your if else condition
@eeeeeeee.e
@eeeeeeee.e 2 жыл бұрын
@@geodev tysm
@SteveHartmanVideos
@SteveHartmanVideos Жыл бұрын
thank you for this!
@geodev
@geodev Жыл бұрын
You're so welcome!
@javiersalazar8288
@javiersalazar8288 7 ай бұрын
Awesome explanation
@geodev
@geodev 7 ай бұрын
Glad you liked it!
@sweetmelon3365
@sweetmelon3365 2 жыл бұрын
Can I have a search bar on the leaflet map to search for locations manually?
@geodev
@geodev 2 жыл бұрын
Yes you can. Please search for the leaflet-search plugin. I think the video tutorial is available in my channel.
@sweetmelon3365
@sweetmelon3365 2 жыл бұрын
@@geodev unfortunately it's not good with street names. it only goes for names that are very popular and well documented
@pixelgamingpubglite
@pixelgamingpubglite Жыл бұрын
How can split polygon with different area
@krishnawijaya3953
@krishnawijaya3953 10 ай бұрын
thank you for making this tutorial!
@geodev
@geodev 10 ай бұрын
You're very welcome!
@yeeapril187
@yeeapril187 2 жыл бұрын
thankyou!! very nice video that helped me alot!!!
@geodev
@geodev 2 жыл бұрын
Glad it helped you😃
@MarceGuerra
@MarceGuerra 2 жыл бұрын
Thanks! Excellent tutorial
@geodev
@geodev 2 жыл бұрын
Glad it was helpful!
@karthikr8905
@karthikr8905 3 жыл бұрын
What I feel is.. When I use control switching the layers take multiple lines of code in Openlayers and leaflet is quite easy
@geodev
@geodev 3 жыл бұрын
For certain region, I also feel like leaflet is more easier than openlayer. Only the issue with leaflet js is now the issues on github are increasing. And no one is properly maintaining the code.
@vishalchauhan9832
@vishalchauhan9832 3 жыл бұрын
@@geodev sir pls help me in layer switching ,,i have first layer representing roads and second one is representing water bodies ..these two shape file data is showing on my map ..i want to add functionality of switching between both of them by adding radio button or checkbox
@thegishub
@thegishub 3 жыл бұрын
Thank you dai for this crash course
@geodev
@geodev 3 жыл бұрын
You are welcome vai!
@maahad767
@maahad767 3 жыл бұрын
Bro I need a solution. I want to load a file of 100+ MB of geoJson file. It takes a lot of time loading. How can I load it faster and is there any way to partially load or something like that?
@maahad767
@maahad767 3 жыл бұрын
I've tried Leaflet-Ajax plugin, but it also loads the entire file at the starting... so it slows down the process.
@geodev
@geodev 3 жыл бұрын
The simple answer is use WMS using map servers such as geoserver, mapserver etc. First of all you need to convert your geojson data to shapefile. After that you need to load it to the geoserver and get the WMS. If you don't know how to do that, watch my video tutorial on geoserver here: kzbin.info/www/bejne/rH2ZnJqAorR2rsk
@amannambisan6870
@amannambisan6870 Жыл бұрын
Amazing video! saved my life!
@geodev
@geodev Жыл бұрын
Glad it helped you😃
@EcoresolveInc
@EcoresolveInc 3 жыл бұрын
very informational and thanks a lot for taking the time to create this for educating others! 1 hour is a long long time!!!!
@geodev
@geodev 3 жыл бұрын
You are welcome 😃😃 I am trying to explain all the basic things required for leaflet js that's why it is little bit longer
@EcoresolveInc
@EcoresolveInc 3 жыл бұрын
@@geodev yep yep I was appreciating you spending 1 hour to create a very detailed video. It was a compliment :)
@geodev
@geodev 3 жыл бұрын
@@EcoresolveInc thank you very much Mikey, your comments are encouraging me to do more and more😃
@EcoresolveInc
@EcoresolveInc 3 жыл бұрын
@@geodev 🔥
@futureprogrammers
@futureprogrammers Жыл бұрын
please how do i use leaflet with express without it crashing
@geodev
@geodev Жыл бұрын
Sorry I haven't used express before. But I think it is quite stable library. It shouldn't crash with any other language integration
@shivabhandari6259
@shivabhandari6259 3 жыл бұрын
Great job...thanks for the video....it helps me alot..
@geodev
@geodev 3 жыл бұрын
Glad it helped
@arifosman8647
@arifosman8647 2 жыл бұрын
Thanks, man for the nice video.
@geodev
@geodev 2 жыл бұрын
Glad you liked it!
@FatimaKhan-oq3ug
@FatimaKhan-oq3ug 2 жыл бұрын
my points geojson are not added to map i follow each step you told in video plz response fast
@geodev
@geodev 2 жыл бұрын
Not sure, may be problem with your geojson file. Can you please recheck the video, whether you did the right thing or not?
@FatimaKhan-oq3ug
@FatimaKhan-oq3ug 2 жыл бұрын
@@geodev I did double check the video many times I didn't found problem in code however in console I can share you screenshot
@chrispamboris5253
@chrispamboris5253 Жыл бұрын
Awsome video mate. Great work.
@geodev
@geodev Жыл бұрын
Glad you enjoyed it
@mikojan85channel
@mikojan85channel 3 жыл бұрын
Great stuff. You could make it more concise by not explaining things unrelated to leaflet, e.g. how remove default html margins, or explaining order of execution of lines of code.
@geodev
@geodev 3 жыл бұрын
Great suggestion! I will try to explain only the required things from next videos. Thank you
@JAZZMAINAWABBS
@JAZZMAINAWABBS Жыл бұрын
Not everyone is a pro. I think he is okay. A good teacher does not assume and not all students are on the same level
@sentientpoop9863
@sentientpoop9863 2 жыл бұрын
Fantastic videos!
@geodev
@geodev 2 жыл бұрын
Glad you think so!
@youneshariz333
@youneshariz333 3 жыл бұрын
How can i get my current position in leaflet
@geodev
@geodev 3 жыл бұрын
To find out the current position, you can use HTML Geolocation API. I have created the video, you can check here: kzbin.info/www/bejne/bny7ZZJqg7BqkLs
@muthuperumalm5638
@muthuperumalm5638 2 жыл бұрын
Very helpful sir , excellent lecture 👏💐
@geodev
@geodev 2 жыл бұрын
Glad you liked it😃
@wanshah-n8p
@wanshah-n8p Жыл бұрын
very cool tutorial, i want to ask..i want to used geoserver wms data, but its show CORS error. How i want to fix that.
@geodev
@geodev Жыл бұрын
Are you trying to load wms from geoserver? if so, please watch this video: kzbin.info/www/bejne/ppbbi2B-pZmYadE&ab_channel=GeoDev
@wanshah-n8p
@wanshah-n8p Жыл бұрын
@@geodev i already did it same as you show on video but no have luck for me..may i ask you running your web on iis?
@wanshah-n8p
@wanshah-n8p Жыл бұрын
@@geodev i did it solve the problem, i forgot to put wms at L.tileLayer.wms, thank you so much
@chinfoplaya
@chinfoplaya 2 жыл бұрын
brabissimo!
@geodev
@geodev 2 жыл бұрын
Thanks:-)
@anishadhikari5427
@anishadhikari5427 2 жыл бұрын
Great tutorial!
@geodev
@geodev 2 жыл бұрын
Thank you! Cheers!
@karthikr8905
@karthikr8905 3 жыл бұрын
Can you pls upload a video advatage and disadvantage of Openlayer and leaflet
@geodev
@geodev 3 жыл бұрын
Thanks for the suggestion. I will consider to cover this topic in upcoming videos.
@oldfootage
@oldfootage 2 жыл бұрын
You say latitude and longitude but that is not really what leaflet uses. It goes crazy when crossing the dateline. Polylines need to be extended past lng 180 in order to work properly. That's not lat lng.
@geodev
@geodev 2 жыл бұрын
I don't know which part of the video are you talking about. But generally leaflet visualize the data based on the latitude and longitude of the feature geometry.
@oldfootage
@oldfootage 2 жыл бұрын
@@geodev One would think. It appears that way at first glance with simple examples. Try to draw a polyline from Japan to California. It can be done only if you extend longitude past 180. Longitude bounds are 180. If you do manage to draw a polyline it appears or disappears as you move the map left/right over the dateline. Show a map with arctic and antarctic on it. Given the proportions you will need to double up the map features on the left and right. Try to add markers in those far areas on the left/right. With lat/lng the marker will appear on the left or right side only. If you add a marker past 180 the system will let you. When you click and access lat/lng it an error will occur.
@s.p.498
@s.p.498 Жыл бұрын
thanks bro
@geodev
@geodev Жыл бұрын
Welcome
@younessmouni6768
@younessmouni6768 3 жыл бұрын
@GeoDev how to add leaflet offline maps in angular js pls?
@geodev
@geodev 3 жыл бұрын
To be honest, I didn't used anjular js before. Sorry can not help
@younessmouni6768
@younessmouni6768 3 жыл бұрын
@@geodev does it help to display in other technology offline leaflet map?
@spaceremotesensingandgis5626
@spaceremotesensingandgis5626 Жыл бұрын
Good information
@geodev
@geodev Жыл бұрын
Thanks!
@akhilchandran5193
@akhilchandran5193 2 жыл бұрын
Nice explanation brother.. All the best.
@geodev
@geodev 2 жыл бұрын
Glad you liked it!
@arkochakraborty5573
@arkochakraborty5573 Жыл бұрын
hi how can we use use leaflet if we install it using npm
@geodev
@geodev Жыл бұрын
You can import it as "import L from 'leaflet'; "
@arkochakraborty5573
@arkochakraborty5573 Жыл бұрын
Yes but normally it is not working i used parcel there itnis working but map tiles are not loading properly
@derekjin6034
@derekjin6034 3 жыл бұрын
hey,bro why i didn't show Leaflet layer control icon.😵
@geodev
@geodev 3 жыл бұрын
Can you check the full version of code in github?
@Ali-bj3nn
@Ali-bj3nn 2 жыл бұрын
Can you show that how to find the nearest location ongeojson data
@geodev
@geodev 2 жыл бұрын
I think it is possible using turfjs. Please check my crash course on KZbin.
@diwesh-hakunamatata9037
@diwesh-hakunamatata9037 3 жыл бұрын
Very informative 👏👏
@geodev
@geodev 3 жыл бұрын
Glad you think so!
@jivtheshm.r1784
@jivtheshm.r1784 3 жыл бұрын
@GeoDev how to add colour scale for maps in leaflet
@geodev
@geodev 3 жыл бұрын
Sorry, I didn't get you.
@jivtheshm.r1784
@jivtheshm.r1784 3 жыл бұрын
@@geodev for map tile layers how can I add colour scale
@jivtheshm.r1784
@jivtheshm.r1784 3 жыл бұрын
@@geodev how to contact you your mail id ?
@geodev
@geodev 3 жыл бұрын
@@jivtheshm.r1784 The tile layer comes with the default style. We can't change it through the leaflet. But if you want to generate the costume tile layer then you may need to check the Mapbox tiles. Please check the Mapbox studio here: studio.mapbox.com/
@jivtheshm.r1784
@jivtheshm.r1784 3 жыл бұрын
@@geodev not this bro
@travisthayer8563
@travisthayer8563 Жыл бұрын
dome or dom?
@geodev
@geodev Жыл бұрын
DOM
@maahad767
@maahad767 3 жыл бұрын
Helped me enough
@geodev
@geodev 3 жыл бұрын
I am glad that it helped you
@maahad767
@maahad767 3 жыл бұрын
@@geodev also if possible make a video on multiple selection. I didn't find a single resource on this. I think many will get benefited.
@geodev
@geodev 3 жыл бұрын
@@maahad767 Sorry I didn't get you. What do you mean by multiple selections?
@maahad767
@maahad767 3 жыл бұрын
@@geodev for example a map has many tiled markers. And I want to select those and get the data of those markers. That's what I am suggesting. I have implemented it in my ways. But I think you can do it in better ways than me.
@geodev
@geodev 3 жыл бұрын
I think the easiest way to filter the data is to apply js filter function, something like this, stackoverflow.com/a/56415638/9354344
@dgiri2333
@dgiri2333 3 жыл бұрын
How to download wms layer offline
@geodev
@geodev 3 жыл бұрын
You can download the wms layer by simply changing the output format on the url parameter. These are the available output format in geoserver: docs.geoserver.org/latest/en/user/services/wms/outputformats.html
@dgiri2333
@dgiri2333 3 жыл бұрын
@@geodev This is wms layer link i wont for json data from that link apsac.ap.gov.in/gisserver/services/REVENUE/cadastral_ap_cache/MapServer/WMSServer?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=0&WIDTH=740&HEIGHT=313&CRS=EPSG:3857&BBOX=8822459.610214943,1637165.9828724624,8836581.35119061,1643147.1803357694
@dgiri2333
@dgiri2333 3 жыл бұрын
apsac.ap.gov.in/gisserver/services/REVENUE/cadastral_ap_cache/MapServer/WMSServer?SERVICE=WMS&REQUEST=GetMap&FORMAT=image/png&TRANSPARENT=TRUE&STYLES=&VERSION=1.3.0&LAYERS=0&WIDTH=740&HEIGHT=313&CRS=EPSG:3857&BBOX=8822459.610214943,1637165.9828724624,8836581.35119061,1643147.1803357694
@dgiri2333
@dgiri2333 3 жыл бұрын
Json Data
@geodev
@geodev 3 жыл бұрын
I think you need to apply WFS instead of WMS since you need the output as JSON data. The basic syntax of the WMF will be looks like this: localhost:8080/geoserver/geoapp/ows?service=WFS&version=1.0.0&request=GetFeature&typeName=geoapp%3Aadmin&maxFeatures=50&outputFormat=application%2Fjson You will get more information in this link: docs.geoserver.org/stable/en/user/services/wfs/reference.html
You don't need a frontend framework
15:45
Andrew Schmelyun
Рет қаралды 129 М.
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 13 МЛН
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 12 МЛН
Não sabe esconder Comida
00:20
DUDU e CAROL
Рет қаралды 39 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 262 #shorts
00:20
Data Driven Maps With Python Folium & Leaflet.js
32:56
Traversy Media
Рет қаралды 107 М.
How is this Website so fast!?
13:39
Wes Bos
Рет қаралды 511 М.
Leaflet Map Routing JavaScript App
46:09
Vicode Media
Рет қаралды 61 М.
SISTER EXPOSED MY MAGIC @Whoispelagheya
00:45
MasomkaMagic
Рет қаралды 13 МЛН