File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export default class CustomMarker extends Component {
7878 let clusterColor ;
7979 let markers ;
8080 if ( this . state . clusterId ) {
81- markers = superCluster . getLeaves ( this . state . clusterId ) ;
81+ markers = GLOBAL [ this . props . superCluster ] . getLeaves ( this . state . clusterId ) ;
8282 }
8383
8484 if ( this . props . getClusterColor && markers ) {
@@ -132,7 +132,7 @@ export default class CustomMarker extends Component {
132132 coordinate = { coordinates }
133133 onPress = { ( ) => {
134134 if ( ! markers ) {
135- markers = superCluster . getLeaves ( this . state . clusterId ) ;
135+ markers = GLOBAL [ this . props . superCluster ] . getLeaves ( this . state . clusterId ) ;
136136 }
137137 this . props . onClusterPress ( this . state . coordinates , markers ) ;
138138 } } >
You can’t perform that action at this time.
0 commit comments