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

Add Bounds Padding #1660

Closed
levitatejay opened this issue Jun 18, 2019 · 1 comment
Closed

Add Bounds Padding #1660

levitatejay opened this issue Jun 18, 2019 · 1 comment

Comments

@levitatejay
Copy link

levitatejay commented Jun 18, 2019

Currently it isn't easy to automatically offset the map/markers (for when you have a control that sits over the map)

Google have updated their API to handle this but it isn't supported in this library yet: https://developers.google.com/maps/documentation/javascript/reference/map#Map.fitBounds
https://stackoverflow.com/a/53565456

Here are old issues about adding the feature: #716 #1471

And here is a pull request that implemented it but was never released: #1478

@DaSchTour
Copy link
Contributor

Just released it to NPM https://www.npmjs.com/package/@ng-maps/core

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

No branches or pull requests

2 participants