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
The view init is hard coded and can not pass the rotation property to the view.
constructor(props: Readonly<RMapProps>) { super(props); this.target = React.createRef(); this.ol = new Map({ controls: props.noDefaultControls ? [] : undefined, interactions: props.noDefaultInteractions ? [] : undefined, view: new View({ projection: props.projection, center: props.initial.center, zoom: props.initial.resolution === undefined ? props.initial.zoom : undefined, resolution: props.initial.resolution, extent: props.extent, minResolution: props.minResolution, maxResolution: props.maxResolution, constrainResolution: props.constrainResolution, minZoom: props.minZoom, maxZoom: props.maxZoom, enableRotation: props.enableRotation, constrainRotation: props.constrainRotation }) }); if (this.props.view) this.ol.on('moveend', this.updateView); }
Adding the rotation property to RView would be nice
RView
The text was updated successfully, but these errors were encountered:
I will accept a PR
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The view init is hard coded and can not pass the rotation property to the view.
Adding the rotation property to
RView
would be niceThe text was updated successfully, but these errors were encountered: