Since I haven’t managed to make the cluster display the sum of votes in each grouping, I would prefer to remove the displayed count from the clusters altogether. I included an image on the page link to illustrate what I’m aiming to remove.
]]>This page shows exactly what I mean: https://www.friesland.nl/nl/plannen/zien-en-doen/activiteiten/1000-routes/alle-routes
Is there a way to do this?
]]>I want to do it because of proximity (lat,long), in some cities it does well, but in others it doesn’t.
When they are two nearby cities, it groups it, but in the same city with several markers it does not work.
And I don’t understand what the error is.
<?php echo do_shortcode('[leaflet-map height="500" lat=-49.1380049290461 lng=-66.44531250000001 zoom=5 fitbounds zoomcontrol !detect-retina]') ?>
<?php $shortcode = '[leaflet-marker iconUrl="..." iconSize="25,41" iconAnchor="12.5,45" lat='...' lng='...']City Name[/leaflet-marker]' ?>
<?php echo do_shortcode('[cluster]') ?>
]]>ERROR HPOS tables are missing in the database and couldn’t be created. The missing tables are: wp_wc_orders, wp_wc_order_addresses, wp_wc_order_operational_data, wp_wc_orders_meta
We are running the Database on a MySQL NDB Cluster. My guess is, the table structure is exceeding NDB limits by using large varchar columns.
]]>first of all thank you for providing this awesome plugin.
Until yesterday, it worked perfectly. We did not change any configuration, did not update plugins or anything else on the page. Today we’ve got this error and a broken WordPress instance:
NOTICE: PHP message: RedisException: MOVED 3889 xxx-0001-002.xxx.xxx.memorydb.sa-east-1.amazonaws.com:6379 in /usr/src/wordpress/wp-content/object-cache.php:1922
We configured WP_REDIS_HOST
with clustercfg.xxx.xxx.memorydb.sa-east-1.amazonaws.com
. As far as I’m understanding predis as well as phpredis, both are able to resolve clusters without providing a dedicated cluster configuration.
Obviously xxx-0001-002.
is resolved via clustercfg
.
Now we’re not able to get the page up and running with object cache enabled.
Redis is running as AWS MemoryDB with multiple nodes and shards. As said – worked until today.
I’m not sure how to continue here. Any ideas?
Thank you in advance and best regards,
Sascha
Would you consider officially adding OverlappingMarkerSpiderfier (demo)? It separates (spiderfies) the markers that are overlapping. I modified WPSL 2.2.235 like below to get it working:
After line 129 ( map = new google.maps.Map();
), add:
oms = new OverlappingMarkerSpiderfier(map, {
markersWontMove: true,
markersWontHide: true,
basicFormatEvents: true,
keepSpiderfied: true,
ignoreMapClick: true
});
Add oms
as a parameter to all location markers. For example, line 141 becomes:
addMarker( latLng, mapData[index].id, mapData[index], false, infoWindow, oms );
Since we’re only adding oms
to location markers and the starter marker also uses it, we make oms optional on line 1831 like so:
function addMarker( latLng, storeId, infoWindowData, draggable, infoWindow, oms = null ) {
Change the click listener of the marker on Line 1869 like so:
google.maps.event.addListener( marker, "spider_click",( function( currentMap ) {
And after that chunk of listener above, add:
if(oms){
oms.addMarker(marker); // adds the marker to the spiderfier _and_ the map
}
Let me know your thoughts. Thank you!
]]>If, on the other hand, I remove the tagged_param = “cluster” parameter, I return to see the information of the point
Link to page with tagged_param = “cluster” inserted
https://xn--comunitkm0-n4a.com/pandino/aziende/
Link to page without tagged_param = “cluster”
https://xn--comunitkm0-n4a.com/pandino/associssioni/
can you help me?
]]>thanks
dom
]]>