Sorting of Silder items

Home Forums Google Maps Plugin Sorting of Silder items

This topic contains 11 replies, has 3 voices, and was last updated by Ole_Support Ole_Support 6 months ago.

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #20748

    info646414
    Participant

    Dear Team

    Obviously the silder items are sorted by Marker ID from left to right in the slider 2.
    How can I change the ordering by Marker Name? If it’s not possible right now I kindly ask you to provide a functionality in the next update.

    BR
    Michael

    #20770
    Ole_Support
    Ole_Support
    Moderator

    Hello,
    Thank you for contacting us regarding your question.
    In order to use address feature you need to enable the Geocoding Service.
    Before using the Geocoding service in the Maps JavaScript API, first ensure that the Geocoding API is enabled in the Google Cloud Platform Console, in the same project you set up for the Maps JavaScript API.
    To connect Geocoding API, please use the instructions from Google https://developers.google.com/maps/documentation/javascript/get-api-key

    #21295

    info646414
    Participant

    Hello

    The Geocoding service in the Maps JavaScript API is already enabled.
    Actually this wasn’t my question. The ordering of the slides in the pro-version is set randomly.

    I’d like to have the ordering by Marker-Name.

    Best Regrads
    Michael

    #21296
    Dante_Support
    Dante_Support
    Moderator

    Hello,

    If you hover on “Title” in markers list below the map, you’ll see small sorting icon. Click on it or on title to order slides with markers by name.
    https://www.dropbox.com/s/6n2yfy8z0ojmjgq/Screenshot_7.png?dl=0
    Don’t forget to save map settings.

    Best regards,
    https://supsystic.com
    Dante

    #21297
    Dante_Support
    Dante_Support
    Moderator

    Hello,

    If you hover on “Title” in markers list below the map, you’ll see small sorting icon. Click on it or on title to order slides with markers by name.
    https://www.dropbox.com/s/6n2yfy8z0ojmjgq/Screenshot_7.png?dl=0
    Don’t forget to save map settings.

    Best regards,
    https://supsystic.com
    Dante

    #21298

    info646414
    Participant

    Hello Dante

    Yes I know and this is what I did. I set the order of the marker-list by name in the backend and saved the map. When I re-open the map the marker-list has lost its ordering! The markers are in a timely order (like I have created them) and neither by id nor by name. That’s the reason why the slides in the frontend don’t have the right order.

    Please can you check why the ordering of the marker-list is not saved.

    Here you can see the frontend: https://teamtacho.de/paesse/alpenkarte/

    Best Regards

    Michael

    #21299

    info646414
    Participant

    Hello Dante

    I have found the issue 🙂
    In the database table for the markers (wp_gmp_markers) there is a sort_id which I think is responsible for the order.
    The field is defined as tinyint(1) which ends at 127. All my markers beyond 127 (I have 442 markers) have a sort_id 127!
    Please change the field to smallint.

    Best Regards
    Michael

    #21306
    Dante_Support
    Dante_Support
    Moderator

    Hello,

    Which version of the plugin do you use and which marker list type? Could you please share the URL of the page with it?
    I can’t reproduce this issue with 256 markers.

    Best regards,
    https://supsystic.com
    Dante

    #21307

    info646414
    Participant

    Hi Dante

    Google Easy Maps: Version 1.9.15
    Pro: Version 1.3.6

    https://teamtacho.de/paesse/alpenkarte

    Here is the screen shot of your marker sort_order field definition:
    Screen shot

    Best Regards

    Michael

    #21315

    info646414
    Participant

    Hi Dante

    I changed the format of the sort_order column form tinyint(1) to smallint(1) in the mysql database index and it works.
    Please consider this in your next update.

    Best Regards

    Michael

    #21317
    Dante_Support
    Dante_Support
    Moderator

    Thank you for pointing at this.
    I’ll check with plugin’s developers.

    Best regards,
    https://supsystic.com
    Dante

    #21746
    Ole_Support
    Ole_Support
    Moderator

    Hi, Michael
    Please contact us through our 
    internal support.
    We will give you a fixed version of the plugin.

Viewing 12 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic.

Get plugins bundle today and save over 80%