Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23
  1. #11
    Master spyder's Avatar
    Join Date
    Jan 2016
    Location
    Esperia
    Posts
    1,182
    Rep Power
    1177

    Default

    How many times have I read "delete poi visiblities file" and no one has opened up? Now that I say this, a terrible mess arises.
    This utility is not mandatory and is only for users with CNG cars, who will choose whether to use it or not.
    The utility has the advantage of having the icon in svg format, good for any resolution, and of appearing in the menu with image enabled / disabled .

  2.    Advertissements


  3. #12
    Master Luna - methane europe fuel dispensersLuna - methane europe fuel dispensersLuna - methane europe fuel dispensers
    Join Date
    Nov 2017
    Location
    europa
    Posts
    94
    Rep Power
    186

    Default

    I admit that this is pretty much the only method to get the on / off image working, but an idea lingers in my thoughts that it is possible to set the line
    ECO_ENERGY-METHANE (KML)|| 5000
    automatically introduced into the existing poi_visiblities.txt, then modify its content using lua commands

    as is already possible to change the icon to be used in old skins for primo
    ECO_ENERGY-METHANE (KML)|%content%\userdata\usericon\metano.bmp|5000

    in order to assign the correspondence of the .icon and finaly have
    ECO ENERGY-METHANE (KML)|METANO|15000

  4. #13
    Master stefando's Avatar
    Join Date
    Jul 2017
    Location
    Bulgaria
    Posts
    147
    Rep Power
    354

    Default

    Quote Originally Posted by lunapark View Post
    ...it is quite possible to do without the grayed out form since the category will always have to be activated, just put the colored svg directly in userdat / usericon and add the information directly in the KML

    <Document>
    <name>ECO_ENERGY-METHANE</name>
    <metadata><igoicon><filename>metano_map.svg</filename></igoicon></metadata>
    ...
    Dear lunapark,

    Could you share with us your well working kml-file and atttached svg-icon in mentioned by you way.
    I am very curious to test that?

    Otherwise your "large novel" about kml-files will be useless...

  5. #14
    Super Moderator Luna - methane europe fuel dispensers
    Luna - methane europe fuel dispensersLuna - methane europe fuel dispensers
    Andrey Form's Avatar
    Join Date
    Oct 2019
    Location
    Belarus
    Posts
    1,819
    Rep Power
    2154

    Default

    It works for me, excellent work, it can be seen right away, the master of his craft, the professor, so to speak, did it
    Last edited by Andrey Form; 5th July 2021 at 07:41 PM.

  6. #15
    Master Norszczesny's Avatar
    Join Date
    Nov 2020
    Location
    Poland
    Posts
    184
    Rep Power
    296

    Default

    .... I didn't say that Spyder did something wrong, just that Google earth cannot open the "kml" file.
    In general, the most work is great and more.
    My only point is that the program doesn't open because of errors in the line.
    Greetings.
    auto

  7. #16
    Master Alain57's Avatar
    Join Date
    Jul 2017
    Location
    France
    Posts
    588
    Rep Power
    2150

    Default

    Hello,

    @ Spyder

    I saw that in your ux you were using "svg" files which are actually files that have been vectorized.
    I allowed myself to draw the files concerned in the (real) "svg" format!
    Of course, if you are interested, I will send you the three files!
    Here is the result :

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


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


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


    If you think this post has nothing to do with your subject, I'll delete it !

  8. #17
    Master Luna - methane europe fuel dispensersLuna - methane europe fuel dispensersLuna - methane europe fuel dispensers
    Join Date
    Nov 2017
    Location
    europa
    Posts
    94
    Rep Power
    186

    Default

    professor Andrey Form summed up the situation well

    Welcome to Alain57, the expert recognized for his work with svg files to brighten up different skin

    @stefando


    the content of the archive is only the minimalist part of the spyder project, kml works using what NNG created but not as expected with svg files named directly in the kml

    the use of an ux is relevant but not having thought about the possibilities of iGO to influence the content of poi_visiblities.txt in the sense of assign multiple display, the answer is in an old skin running on primo12 with the name of diMka_WA_P132_TomSoft(i+)str_R2_Eur_day.zip

    an adaptation of the corresponding UI and LUA content to LUNAscripts could add an additional touch to the skins

    I just leave the like active only to stay in accordance with post #1


    before loading the attachment read the content of the post #19 below
    Attached Files Attached Files
    Last edited by lunapark; 5th July 2021 at 10:27 PM.

  9. #18
    Master stefando's Avatar
    Join Date
    Jul 2017
    Location
    Bulgaria
    Posts
    147
    Rep Power
    354

    Default

    Dear lunapark,

    I tested your nice work with kml-files and svg-icons in Nextgen and Luna versions but the result is negative:
    Spoiler: negative

    23edc0c91413cac59645fcf3f01d9e51


    Could you guide us to rectify this problem using svg-formats?
    Last edited by stefando; 5th July 2021 at 09:41 PM.

  10. #19
    Master Luna - methane europe fuel dispensersLuna - methane europe fuel dispensersLuna - methane europe fuel dispensers
    Join Date
    Nov 2017
    Location
    europa
    Posts
    94
    Rep Power
    186

    Default

    you catch me by surprise, with luna I do mainly in theory, rarely in practice, I will have to try on another version to see if the test is also negative, in which case there would be the solution of the bmp to less than Andrew confirms correct operation as I assumed in his last post #14

    it can also be a false move on my part in the archive, nothing should be overlooked and I hope however that this is the case, otherwise it would undermine one of my assumptions on the ability of luna to manage certain locations for svg

    EDIT:

    Unfortunately, I have the same observation that there is no icon displayed, I still wanted to check with another svg from the data.zip, it is the same observation, the icon is- it visually present but shifted and out of visible field or simply ignored I cannot verify this hypothesis but it is necessary to favor an incompatibility and the only solution currently available is the use of a BMP

    the best choice currently and which has all the same the advantage of providing the multiple appearance of the icons is that of post # 1, nevertheless maintains that it is necessary to keep the poi_visiblities.txt in the save folder in order to preserve the settings assets and complete the line that relates to ECO_ENERGY-METHANE

    for these false hopes
    Last edited by lunapark; 5th July 2021 at 10:22 PM.

  11. #20
    Master stefando's Avatar
    Join Date
    Jul 2017
    Location
    Bulgaria
    Posts
    147
    Rep Power
    354

    Default

    Bmp-attachment is very known a long time ago.
    No needs to write anything about it...

    I stop on this point...I hope next time that you will perform a good testing procedure before start writing next novel)

 

 

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
  •