We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 set restrict map bound (https://developers.google.com/maps/documentation/javascript/examples/control-bounds-restriction#maps_control_bounds_restriction-javascript) in this library? I tried different ways to block removal from center, but it doesn't work.
const GoogleMaps = withScriptjs( withGoogleMap(({institutes}) => ( <GoogleMap defaultOptions={{ fullscreenControl: false, mapTypeControl: false, streetViewControl: false, center: CENTER, zoom: 12, restriction: { latLngBounds: CENTER, strictBounds: false, }, }} > {institutes.map((institute, index) => renderMarker(institute, index) )} </GoogleMap> )) );
The text was updated successfully, but these errors were encountered:
@GeFeSTTS this package is unmaintained over 4 years. please use @react-google-maps/api instead.
Sorry, something went wrong.
No branches or pull requests
Is it possible to set restrict map bound (https://developers.google.com/maps/documentation/javascript/examples/control-bounds-restriction#maps_control_bounds_restriction-javascript) in this library? I tried different ways to block removal from center, but it doesn't work.
The text was updated successfully, but these errors were encountered: