@@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.
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
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 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