picyka Posted April 10, 2020 Share Posted April 10, 2020 Currently, use the UniGMap component, I am thinking of migrating to UniMap for being native, analyzing how features I missed some things, Route (passing an address list) procedure TUniGMap.Route (DirectionsRequest: TDirectionsRequest); procedure Geocoding (Address: string; PanTo: Boolean = False); 'google.maps.event.addListener (@ googleMap @, "idle", function () {' + 'ajaxRequest (@ EventHandler @, "mapidle",' + '[' + ']);' + '});' + Could you include these improvements? Quote Link to comment Share on other sites More sharing options...
Hayri ASLAN Posted April 10, 2020 Share Posted April 10, 2020 4 hours ago, picyka said: Currently, use the UniGMap component, I am thinking of migrating to UniMap for being native, analyzing how features I missed some things, Route (passing an address list) procedure TUniGMap.Route (DirectionsRequest: TDirectionsRequest); procedure Geocoding (Address: string; PanTo: Boolean = False); 'google.maps.event.addListener (@ googleMap @, "idle", function () {' + 'ajaxRequest (@ EventHandler @, "mapidle",' + '[' + ']);' + '});' + Could you include these improvements? Hi, We are not using google map directly. We are using Leaflet.js. Leaflet is a map display library, not a data API, not an elevation raster query library. 1- To able to use route, we need to use a plugin. like leaflet-routing-machine 2- we may use L.GeoSearch plugin. 3- There is no "idle" event in Leaflet library, though the description seems resemblant of "moveend" Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.