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

Is it possible to uncenter a location? #16

Closed
ericpoirier opened this issue Nov 18, 2013 · 3 comments
Closed

Is it possible to uncenter a location? #16

ericpoirier opened this issue Nov 18, 2013 · 3 comments

Comments

@ericpoirier
Copy link

For example, i would like to use Locations: [{... , ...}] and map_options{set_center: [... , ...]}

Is there an alternative?

Thanks!

@raphaelluchini
Copy link
Contributor

Please, see my pull request: #18

@ericpoirier
Copy link
Author

Can you provide documentation on how to implement both Locations and map_options in the same time? Thanks.

@raphaelluchini
Copy link
Contributor

Maplace.Load({
locations:[{lat:12313,lon:12313}],
map_options:{
set_center:[345345,345345]
}
})

Maplace will override set_center instead to use locations[0] as map center

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

3 participants