Tagged: googlemaps, slider, sorting
- This topic has 11 replies, 3 voices, and was last updated 4 years, 1 month ago by
Ole_Support.
- AuthorPosts
- November 29, 2018 at 19:30 #20748
info646414ParticipantDear 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
MichaelDecember 4, 2018 at 16:42 #20770
Ole_SupportKeymasterHello,
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-keyFebruary 14, 2019 at 12:43 #21295
info646414ParticipantHello
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
MichaelFebruary 14, 2019 at 16:47 #21296
AnonymousInactiveHello,
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
DanteFebruary 14, 2019 at 16:47 #21297
AnonymousInactiveHello,
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
DanteFebruary 14, 2019 at 19:01 #21298
info646414ParticipantHello 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
February 14, 2019 at 19:50 #21299
info646414ParticipantHello 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
MichaelFebruary 15, 2019 at 22:13 #21306
AnonymousInactiveHello,
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
DanteFebruary 16, 2019 at 00:42 #21307
info646414ParticipantHi Dante
Google Easy Maps: Version 1.9.15
Pro: Version 1.3.6https://teamtacho.de/paesse/alpenkarte
Here is the screen shot of your marker sort_order field definition:
Screen shotBest Regards
Michael
February 18, 2019 at 16:46 #21315
info646414ParticipantHi 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
February 18, 2019 at 19:06 #21317
AnonymousInactiveThank you for pointing at this.
I’ll check with plugin’s developers.Best regards,
https://supsystic.com
DanteApril 17, 2019 at 19:01 #21746
Ole_SupportKeymasterHi, Michael
Please contact us through our
internal support.
We will give you a fixed version of the plugin. - AuthorPosts
- You must be logged in to reply to this topic.