marijke_25
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Store Locator] Custom markers and clusters instructions?Hi Till,
Nice that you find your own solution! Lets hope Tijmen will incorporate the use of clusterimages soon.
Groetjes (=dutch greetings)
Marijke
Forum: Plugins
In reply to: [WP Store Locator] Custom markers and clusters instructions?Hi Till,
I got it working with version 2.0!
The code above is almost right. But you have to do a little more hacking. I changed in class-frontend.php in line 1287 js/wpsl-gmap’. $min .’.js’ to js/wpsl-gmap.js’. Of course you also can leave your class-frontend.php as it is and minify your changed wpsl-gmap.js
Replace in /js/wpsl-gmap.jsmarkerClusterer = new MarkerClusterer( map, markersArray, { gridSize: clusterSize, maxZoom: clusterZoom });
with
var clusterStyles = [ { textColor: '#59433d', url: wpslSettings.path + '/img/markers/m1.png', height: 50, width: 50 }, { textColor: '#59433d', url: wpslSettings.path + '/img/markers/m2.png', height: 50, width: 50 }, { textColor: '#59433d', url: wpslSettings.path + '/img/markers/m3.png', height: 50, width: 50 } ]; markerClusterer = new MarkerClusterer( map, markersArray, { gridSize: clusterSize, styles: clusterStyles, maxZoom: clusterZoom });
Change the colors to your own color and the filenames. Put your clusterimages in the marker folder and you’re done!
Hopefully Tijmen thinks of something to make it easier in the next version.
Thank you for your quick answer. wp_dequeue_script() is a good idea.
The marker belongs to the logo of the site, so I can’t do that. But when anyone wants to make his/her own marker I can tip this very useful tool. Just load up your own png and you will get the java and shade automatically.’Een kind kan de was doen’ we would say in Dutch, literally it means ‘I child can do the laundry’, but in English one would say ‘piece of cake’
Of course you may know it. I already did it.
I added my own marker for Google Maps, you can see it here.Hi sarumbear,
Just yesterday I had the same question and solved it. Just remove time from the Event List layout.
Forum: Plugins
In reply to: [Attention bar] jQuery is not definedThank you for your answer Pascal.
I did try with jquery enabled and disabled. In a few days the website will be online. And if I still have problems I will try to contact you again.