Your address will show here +12 34 56 78

This topic contains 2 replies, has 2 voices, and was last updated by  Alex 3 years, 8 months ago.

  • Author
    Posts
  • #23078

    Alex

    Hi,

    I’ve changed the cluster image on the map without any problem but I cannot locate the css that controls the colour of the numbers!! Would you mind letting me know where this has hidden itself from me!

    Thanks Anna – have a great weekend.

    Alex

  • #23305

    Anna
    Keymaster

    http://google-maps-utility-library-v3.googlecode.com/svn/trunk/markerclustererplus/docs/reference.html#ClusterIconStyle

    Hi Alex,

    I believe this is the info you need:

    Go in /js/google_js/mapfunctions.js , function map_cluster -around line 8

    There is an array with cluster styles. Add the what you need in there and save.
    var clusterStyles = [
    {
    opt_textColor: ‘white’,
    url: mapfunctions_vars.path+’/cloud.png’,
    height: 56,
    width: 56,
    textSize:15
    }
    ];

    let me know if it helps.

    Thank you
    Anna

  • #23553

    Alex

    That’s exactly what I was after! As always, thanks for the great support!

    Cheers,

    Alex

You must be logged in to reply to this topic.