Тёмный

Javascript - Dynamic Maps with Leaflet 

Techletters
Подписаться 3,5 тыс.
Просмотров 25 тыс.
50% 1

Опубликовано:

 

29 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 42   
@lajosnagy1270
@lajosnagy1270 4 года назад
thank you! The only advice I would like to make is to update the github code with the final version of your code.
@mihuynh1825
@mihuynh1825 3 года назад
thanks for your video.
@ninadkorgaonkar5134
@ninadkorgaonkar5134 4 года назад
if we add our own shp in leaflet how will we turn on the routing between those shop?
@miguelito3056
@miguelito3056 2 года назад
I cant unsee what you draw on the thumbnail
@tech-letters
@tech-letters 2 года назад
finally someone recognized it 😀
@MuhammadBerki
@MuhammadBerki 5 лет назад
Great video, very interesting. Thanks for sharing
@tech-letters
@tech-letters 5 лет назад
Thanks for the feedback, highly appreciated.
@nielfernandez5454
@nielfernandez5454 3 года назад
@@tech-letters Hello Sir. Code & Dogs, instead of creating static function "testFunction1", "testFunction2", "testFunction3" how can I do that dynamic if my data is from database using php and javaScript? Thanks!
@mussatawerghi9269
@mussatawerghi9269 4 года назад
cod&dogs ......it is very good video ...thanks alot.
@tech-letters
@tech-letters 4 года назад
thanks :-)
@nielfernandez5454
@nielfernandez5454 3 года назад
Hello Sir. Code & Dogs, instead of creating static function "testFunction1", "testFunction2", "testFunction3" how can I do that dynamic if my data is from database using php and javaScript? Thanks!
@tech-letters
@tech-letters 3 года назад
Hi Sir, you need to make the function getting dynamic input per database entry. Example function testFunction (db-input 1, db-input2, db-input3,...). You can call this function per database entry and forward the input from the Db-entry to the function. Within the function you can then do something based on the input.
@acinad4605
@acinad4605 3 года назад
Sir what code should I put if I want my map to be in same size as my web browser/mobile screen? How can I change into a url my .html? Thanks sir. I am just a beginner.
@marchino3577
@marchino3577 4 года назад
using leaflet how do I get the set of coordinates of a place sought through the search box and highlight its borders
@tech-letters
@tech-letters 4 года назад
you mean like the google maps functionality where you search for a place and then get it marked on the map? This will not be easy with leaflet. First you need a service/database which translates the place to lat/long markers or polygones. In the second step you would then be able to display it on a leaflet map
@vaishnavisubramanian6702
@vaishnavisubramanian6702 3 года назад
Sir, one urgent requirement. I have a moving marker. But I am unable to track the xy coordinates when it is moving. Kindly post a video with moving marker with continuously varying xy coordinates in a separate table.
@pritam7664
@pritam7664 4 года назад
how to calculate distance between two lat and long by considering available routes just like google map does?
@tech-letters
@tech-letters 4 года назад
you can do this in multiple ways. One is using leaflet function from.distanceTo(to) where from and to are markers latitude and longitude. Another one would be writing an own distance function. You can find examples for both variants here stackoverflow.com/questions/43167417/calculate-distance-between-two-points-in-leaflet
@pritam7664
@pritam7664 4 года назад
Thank you for your support :)
@property007
@property007 4 года назад
Is leaflet map responsive and fit into mobile phone screen?
@tech-letters
@tech-letters 4 года назад
Yep, see here leafletjs.com/examples/mobile/
@czarli
@czarli 4 года назад
Hi, I’m interested in building only one app that is location based, I wonder if I could ask some questions to get a direction.
@tech-letters
@tech-letters 4 года назад
Hi czarli, anytime. But I can't promise to have an answer to all the questions :-P
@czarli
@czarli 4 года назад
I would like to create automated dispatch based on tracking and geo fencing.. sort of like Uber is there a way I could send you email?
@tech-letters
@tech-letters 4 года назад
@@czarli yes, you can send it to codeanddogs@gmail.com
@SushilMohan_Vlogs
@SushilMohan_Vlogs 4 года назад
how to select a marker by drawing rectangle if marker lat lng is inside rectangle
@faridlgifarikertabudi6508
@faridlgifarikertabudi6508 4 года назад
great video mate!
@tech-letters
@tech-letters 4 года назад
thanks!
@satyadevmishra8493
@satyadevmishra8493 4 года назад
Great content but How we can achieve same output with php and mysql.
@tech-letters
@tech-letters 4 года назад
Thanks. To be honest. My php skills are very limited, I don't know :-( what do you want to do with mysql? Storing some markers in tables?
@subhadipghorui2216
@subhadipghorui2216 4 года назад
Can you do a tutorial on how to do Spatial Query a polygon or point draw by user ?? Add Spatial Queries to your project-------------It will be helpful with my project "building a population map of an area with spatial queries". Please reply.
@acinad4605
@acinad4605 3 года назад
What is an access token sir?
@agamurat3019
@agamurat3019 3 года назад
how to save lats longs to database
@tech-letters
@tech-letters 3 года назад
Depends on what database you want to use. But you can simply safe it in there...
@tech-letters
@tech-letters 3 года назад
Do you already know which database you want to use? You can basically save it as any other value in a DB
@ealkhiyami9737
@ealkhiyami9737 3 года назад
That thumb nail loooool
@tech-letters
@tech-letters 3 года назад
Finally some one found it :-D
@nielfernandez5454
@nielfernandez5454 3 года назад
@@tech-letters Hello Sir. Code & Dogs, instead of creating static function "testFunction1", "testFunction2", "testFunction3" how can I do that dynamic if my data is from database using php and javaScript? Thanks!
@marchino3577
@marchino3577 4 года назад
using leaflet how do I get the set of coordinates of a place sought through the search box and highlight its borders
@tech-letters
@tech-letters 4 года назад
you mean like the google maps functionality where you search for a place and then get it marked on the map? This will not be easy with leaflet. First you need a service/database which translates the place to lat/long markers or polygones. In the second step you would then be able to display it on a leaflet map
@marchino3577
@marchino3577 4 года назад
@@tech-letters how can I do?
@marchino3577
@marchino3577 4 года назад
​@@tech-letters the database service should be that of a leaflet. For display it on a leaflet map, I can do without, it is enough for me to have the object that contains all the coordinates within the requested place
Далее
Data Driven Maps With Python Folium & Leaflet.js
32:56
Просмотров 107 тыс.
Mapbox - Interactive maps in React
23:32
Просмотров 161 тыс.
Leaflet Map Routing JavaScript App
46:09
Просмотров 61 тыс.
Google Maps JavaScript API Tutorial
27:27
Просмотров 1 млн
Python - Create Maps with Folium and Leaflet
18:50
Просмотров 72 тыс.
How to create an Interactive map layers
29:55
Просмотров 50 тыс.
Realtime Maps - Leaflet Live Map of London (7)
18:36
Просмотров 13 тыс.