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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...