Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base_radius #9

Open
ghost opened this issue Jul 15, 2012 · 3 comments
Open

base_radius #9

ghost opened this issue Jul 15, 2012 · 3 comments

Comments

@ghost
Copy link

ghost commented Jul 15, 2012

Maybe I'm wrong here, but I thought that if you decrease BASE_RADIUS I could see more annotations.
However BASE_RADIUS and MINIMUM_LATITUDE_DELTA are not used anywhere.
Everything else seems great!

@filipandrei87
Copy link

@toydor did you figure out how to change the base radius?

@ghost
Copy link
Author

ghost commented Sep 27, 2012

No, I never really understood how to do it. I used my own solution without Revolver. Hope you understand it better than me.

@RVLVR
Copy link
Owner

RVLVR commented Sep 27, 2012

It doesn't use the BASE_RADIUS to determine the clustering ( i think its a lost property in my code )

they way it works it uses the definition BLOCKS to determine on how small or how big you want clustering to happen.

it uses the visibleRect and divides it by BLOCKS definition

for example if BLOCKS property is 4

it divides the screen in 16 equal blocks and all pin's within that block get clustered, if you want to have less clusters just pick a higher number for the BLOCKS property so that there are more blocks created.

but the manier blocks created the more calculation is needed so don't pick a to high number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants