Gmap3 - Forum

Gmap3 exchange platform

You are not logged in.

Ads
(server costs 27.50€ per month)


#1 2012-09-20 10:52:12

Luca
Member
Registered: 2012-06-07
Posts: 3

cluster data count

HI
I'm tryng to use cluster function as in the given example

$('#googleMap').gmap3(
{action: 'init',
options:{
center:[46.578498,2.457275],
zoom: 6,
mapTypeId: google.maps.MapTypeId.TERRAIN
}
},
{action: 'addMarkers',
radius:100,
markers: MyList,
clusters:{
// This style will be used for clusters with more than 0 markers
0: {
content: '<div class="cluster cluster-1">CLUSTER_COUNT</div>',
width: 53,
height: 52
},

I'm using a json file to create the markers, that store other data apart the longlat.
Is there a way to use clusterer not counting cluster.idx in CLUSTER_COUNT but another data associated to the marker stored in the json file?

thanx
L

Offline

Ads
(server costs 27.50€ per month)


#2 2012-09-24 04:30:12

jbdemonte
Administrator
From: Pourrières, France
Registered: 2011-11-21
Posts: 580

Re: cluster data count

No in the current version but it will be possible in next one

Offline

Board footer

Powered by FluxBB