@@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!
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!
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.
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.
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.
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
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
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.
@@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!
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
@@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
thank you! The only advice I would like to make is to update the github code with the final version of your code.
I cant unsee what you draw on the thumbnail
finally someone recognized it 😀
thanks for your video.
Great video, very interesting. Thanks for sharing
Thanks for the feedback, highly appreciated.
@@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!
cod&dogs ......it is very good video ...thanks alot.
thanks :-)
if we add our own shp in leaflet how will we turn on the routing between those shop?
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!
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.
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.
great video mate!
thanks!
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.
using leaflet how do I get the set of coordinates of a place sought through the search box and highlight its borders
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
Is leaflet map responsive and fit into mobile phone screen?
Yep, see here leafletjs.com/examples/mobile/
how to calculate distance between two lat and long by considering available routes just like google map does?
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
Thank you for your support :)
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.
Hi czarli, anytime. But I can't promise to have an answer to all the questions :-P
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?
@@czarli yes, you can send it to codeanddogs@gmail.com
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.
how to select a marker by drawing rectangle if marker lat lng is inside rectangle
Great content but How we can achieve same output with php and mysql.
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?
What is an access token sir?
how to save lats longs to database
Depends on what database you want to use. But you can simply safe it in there...
Do you already know which database you want to use? You can basically save it as any other value in a DB
That thumb nail loooool
Finally some one found it :-D
@@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!
using leaflet how do I get the set of coordinates of a place sought through the search box and highlight its borders
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
@@tech-letters how can I do?
@@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