Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 10 of 3928

Hybrid View

  1. #1
    Junior Member
    Join Date
    Jul 2018
    Location
    sandomierz
    Posts
    4
    Rep Power
    0

    Default

    Hi Is it possible to create a button - a shortcut to the "motorway parking" function? I am currently using the parking shortcut along the route, but it also shows parking lots in cities, which is unnecessary when driving a truck. I only care about the selected parking lots on the screenshot.

    Spoiler: +++
    [Only registered and activated users can see links. ]




    Use spoilers for large pictures.
    [Only registered and activated users can see links. ]
    Respect all other rules as well. Read carefully:

    [Only registered and activated users can see links. ]
    and
    [Only registered and activated users can see links. ]
    Last edited by Andrey Form; 19th June 2022 at 01:47 PM.

  2.    Advertissements


  3. #2
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    124
    Rep Power
    245

    UX

    see if this UX can be suitable to reduce the list to tree-lined parking lots, it is only a draft which will prevent the display and search of all other forms of parking by modifying the main function

    Quote Originally Posted by non-use of the spoiler voluntarily due to the reduced size of the quote
    function sc_FindParking()
    local search_root = MODEL.poi.find_group("Parking\001Rest_Area")
    if search_root == -1 then
    search_root = MODEL.poi.find_group("Automotive\001Parking")
    end
    return search_root
    end
    Exclamation this pseudo filter may not have any influence on the search for online car parks

    Please before downloading the attachment, please consult the message #3561 which follows this post
    Attached Files Attached Files
    Last edited by lunapark; 19th June 2022 at 10:48 PM.

  4. #3
    Master
    Join Date
    Nov 2017
    Location
    europa
    Posts
    124
    Rep Power
    245

    weel

    With a little hindsight here is a small adaptation so that the ux only interferes with the search for parking lots when the truck mode is activated at startup,
    restarting with another type will restore normal operation, however changing the vehicle in use will require a restart of igo to change the filtering status



    function sc_FindParking()
    local park = "Parking"
    if MODEL.route.vehicule_type == 3 then
    park = park .. "\001Rest_Area"
    end
    local search_root = MODEL.poi.find_group(park)
    if search_root == -1 then
    search_root = MODEL.poi.find_group("Automotive\001"..park)
    end
    return search_root
    end


    Please let me know if the expected result is in accordance with the request in the context of operation in truck mode
    Attached Files Attached Files
    Last edited by lunapark; 19th June 2022 at 10:21 PM.

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •