-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
GoogleMap API also offers restrictions on the map bounds it should be supported #109
Comments
Hi @Grizzlly,
Let me know if this is what you want to do with the Reference? Meanwhile try to fix the Zoom level issue with restriction. |
I was thinking that if the ElementReference would reference the actual map object we could use interop calls to set or get properties, such as the restriction, for example. |
Ok get your point now. However it won't work and in general would be a very bad idea. Reasons:
|
Hi @Grizzlly, Let me know if this works for you and will add this update to the next release. Thanks. |
This sounds great! Will try asap. |
It seems to be working ok for me. |
Regarding this, the API also offers restrictions on the map bounds, so you can limit the map to a certain country for example. This is documented here.
I think this is might be quite easy to implement as it only requires changes in the
window.initGoogleMaps
function, specifically the map initializer.It would be nice if the
InnerElementReference
would actually contain the map object so we can work with it....Originally posted by @Grizzlly in #105 (comment)
The text was updated successfully, but these errors were encountered: