Jump to content

UniMap


picyka

Recommended Posts

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?

Link to comment
Share on other sites

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"

 

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...