You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.
where the this.el.scrollHeight is set to 0. generally it's poor policy to set inline values on an element as it overrides whatever CSS the developer means to control layout with. if I comment out these two lines my map appears. what would anyone recommend be done?
The text was updated successfully, but these errors were encountered:
Honestly I can't remember why I put that code, but I've never heard complains about it. When you create a map, you need to set a width and height to that map container (located in this.el). You can do it using CSS (as you can see in the "examples" folder), or you can set it in the GMapsconstructor.
Can you post more info about your issue, like how you create a map or the container's CSS?
I don't have a working repro just now because I fixed the problem by amending the code. I think the problem may be browser related. I'm running on IE11, but like I said, overriding sizes inline is poor practice as it leaves the CSS, which is where all such things should be done, powerless
My map won't display and I've traced the problem to lines 228-229 (v0.4.17, in the main function):
where the
this.el.scrollHeight
is set to 0. generally it's poor policy to set inline values on an element as it overrides whatever CSS the developer means to control layout with. if I comment out these two lines my map appears. what would anyone recommend be done?The text was updated successfully, but these errors were encountered: