Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix markers position on fullscreen mode#452

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
itsmichaeldiego merged 1 commit intogoogle-map-react:masterfromlrqdo:master
Dec 20, 2017

Conversation

jbcochery
Copy link
Contributor

On fullscreen mode, the view size should not be computed from the DOM element size, but from thewindow dimensions.

Fixes#296

const mapDom = ReactDOM.findDOMNode(this.googleMapDom_);
this.geoService_.setViewSize(mapDom.clientWidth, mapDom.clientHeight);
if (document.fullscreen || document.webkitIsFullScreen || document.mozFullScreen) {
_this.geoService_.setViewSize(window.innerWidth, window.innerHeight);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

_this is not defined

Copy link
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Fixed, sorry about that!

@emilpalsson
Copy link
Contributor

Great find@jbcochery! I was just about to start looking for a fix for#296 when I saw your PR. Crazy timing, for an issue 10 month old. Thanks@istarkov for a great lib!

@itsmichaeldiego
Copy link
Member

itsmichaeldiego commentedOct 10, 2017
edited
Loading

Wow@emilpalsson same here! I was looking at that issue right now.

This is looking great@jbcochery, thank you! And thank you@istarkov for the lib!

Looking forward to get this merged.

emilpalsson, vitaliy-bykovets, og24715, sheraz-sarwar, MaxFrolov, and huwr reacted with thumbs up emoji

@nicolasdelfino
Copy link

Any status of when this is getting merged?

emilpalsson, itsmichaeldiego, vitaliy-bykovets, husek, GauthierD-, sheraz-sarwar, edhelb, Turee, MaxFrolov, kimlai, and 3 more reacted with heart emoji

@qur2
Copy link

I also got bitten by that issue. While the fix offered seems to work (thanks for that!), the real problem is that the ref that GooleMapReact keeps does not point to the div used to render the fullscreen map. The fix works because incidentally, the div to which we should have a ref to has the same size than the window.

edhelb, emilpalsson, and MaxFrolov reacted with thumbs up emoji

@MaxFrolov
Copy link

@istarkov Hey, how about merging this fix?

edhelb, emilpalsson, ShepelievD, and antoxann96 reacted with thumbs up emoji

@ShepelievD
Copy link

@istarkov really need this stuff, merge, please! 😢 😢 😢

ShepelievD, emilpalsson, and antoxann96 reacted with thumbs up emoji

@nicolasdelfino
Copy link

@istarkov Please communicate if this is getting merged or not. It would be a shame if people started working on their own forks and this project would stagnate.

jkettmann, sebabytes, dpikt, antoxann96, and itsmichaeldiego reacted with thumbs up emoji

@jkettmann
Copy link

@istarkov We also need this fix. Do you plan on merging this?

@istarkov
Copy link
Collaborator

Guys I need collaborator-leader of this project, see the readme top. I have no desire now to do anything :-(

MartinDawson, nicolasdelfino, and huwr reacted with thumbs down emojisebabytes, nicolasdelfino, emilpalsson, MaxFrolov, antoxann96, paupalou, JiDai, and sheraz-sarwar reacted with confused emoji

@nicolasdelfino
Copy link

@istarkov I understand your position and hope you'll find someone willing to help. I'm sure you'll do.
In the meantime there is no reason for you not to merge this.

emilpalsson, MaxFrolov, antoxann96, izzappel, MartinDawson, paupalou, itsmichaeldiego, huwr, JiDai, and sheraz-sarwar reacted with thumbs up emoji

@itsmichaeldiegoitsmichaeldiego merged commit9a418f6 intogoogle-map-react:masterDec 20, 2017
@itsmichaeldiego
Copy link
Member

This is merged and published. Feel free to upgrade to0.26.0

CC@nicolasdelfino@emilpalsson@minhkl@huwr@paupalou@jkettmann@ShepelievD @Venumteam@qur2@jbcochery

huwr and hanquf1 reacted with thumbs up emojinicolasdelfino, josephfrazier, huwr, emilpalsson, jbcochery, paupalou, and hanquf1 reacted with hooray emoji

@lock
Copy link

lockbot commentedDec 1, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@locklockbot locked asresolvedand limited conversation to collaboratorsDec 1, 2019
Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@istarkovistarkovistarkov left review comments

@huwrhuwrhuwr approved these changes

@paupaloupaupaloupaupalou approved these changes

@nicolasdelfinonicolasdelfinonicolasdelfino approved these changes

@emilpalssonemilpalssonemilpalsson approved these changes

@minhklminhklminhkl approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Markers position in fullscreen mode
13 participants
@jbcochery@emilpalsson@itsmichaeldiego@nicolasdelfino@qur2@MaxFrolov@ShepelievD@jkettmann@istarkov@huwr@paupalou@minhkl@cochery

[8]ページ先頭

©2009-2025 Movatter.jp