function getlocations_get_markerclusterer_styles in Get Locations 6
Same name and namespace in other branches
- 6.2 getlocations.markercluster.inc \getlocations_get_markerclusterer_styles()
- 7.2 getlocations.markercluster.inc \getlocations_get_markerclusterer_styles()
- 7 getlocations.markercluster.inc \getlocations_get_markerclusterer_styles()
To override these copy this file to getlocations.markercluster_override.inc and make your changes there.
1 call to getlocations_get_markerclusterer_styles()
File
- ./
getlocations.markercluster.inc, line 17 - @author Bob Hutchinson http://drupal.org/user/52366 @copyright GNU GPL
Code
function getlocations_get_markerclusterer_styles() {
$base_path = base_path();
$jspath = $base_path . GETLOCATIONS_PATH . '/js/';
$markerclusterer_styles = array(
array(
(object) array(
'url' => $jspath . 'images/people35.png',
'height' => 35,
'width' => 35,
'anchor' => array(
16,
0,
),
'textColor' => '#ff00ff',
'textSize' => 10,
),
(object) array(
'url' => $jspath . 'images/people45.png',
'height' => 45,
'width' => 45,
'anchor' => array(
24,
0,
),
'textColor' => '#ff0000',
'textSize' => 11,
),
(object) array(
'url' => $jspath . 'images/people55.png',
'height' => 55,
'width' => 55,
'anchor' => array(
32,
0,
),
'textColor' => '#ffffff',
'textSize' => 12,
),
),
array(
(object) array(
'url' => $jspath . 'images/conv30.png',
'height' => 27,
'width' => 30,
'anchor' => array(
3,
0,
),
'textColor' => '#ff00ff',
'textSize' => 10,
),
(object) array(
'url' => $jspath . 'images/conv40.png',
'height' => 36,
'width' => 40,
'anchor' => array(
6,
0,
),
'textColor' => '#ff0000',
'textSize' => 11,
),
(object) array(
'url' => $jspath . 'images/conv50.png',
'height' => 45,
'width' => 50,
'anchor' => array(
8,
0,
),
'textColor' => '#ffffff',
'textSize' => 12,
),
),
array(
(object) array(
'url' => $jspath . 'images/heart30.png',
'height' => 26,
'width' => 30,
'anchor' => array(
4,
0,
),
'textColor' => '#ff00ff',
'textSize' => 10,
),
(object) array(
'url' => $jspath . 'images/heart40.png',
'height' => 35,
'width' => 40,
'anchor' => array(
8,
0,
),
'textColor' => '#ff0000',
'textSize' => 11,
),
(object) array(
'url' => $jspath . 'images/heart50.png',
'height' => 44,
'width' => 50,
'anchor' => array(
12,
0,
),
'textColor' => '#ffffff',
'textSize' => 12,
),
),
);
return $markerclusterer_styles;
}