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

More control over bounds #7

Open
tra opened this issue Feb 12, 2011 · 1 comment
Open

More control over bounds #7

tra opened this issue Feb 12, 2011 · 1 comment

Comments

@tra
Copy link

tra commented Feb 12, 2011

I have some situations where I'd like only a subset of my markers to contribute to the bounds when the map is displayed. For example, multiple locations of a franchise, but I'd like to zoom to the closest locations and have the further locations on the map for when the user zooms out. I can see a couple ways to solve this. First, you could give me a callback or some way of setting the bounds manually. Second, you could have a way of marking locations as to whether or not they contribute to the bounding calculation. I think I would prefer the latter. What do you think?

@tra
Copy link
Author

tra commented Feb 19, 2011

Here's my solution to this issue.

tra@5f7414b

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

1 participant