Map inside dialog rendering only one tile
-
- Posts: 56
- Joined: 27 Sep 2010, 17:15
Until recently, a map inside a dialog was working just fine in my app. Now it only renders the top-left tile. So I went to the stable and labs showcases and also saw that they're not working. I tried M2, M3, RC1, RC2, 3.0, 3.0.1 and 3.1, all to no avail. Is there just something weird that happens to google maps from time to time? It's really frustrating to see stuff I haven't touched break.
GlassFish 3.1.1 (Mojarra 2.1.3) | Primefaces 3.0 | UrlRewriteFilter | Jrebel 4.5.3
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
1. I just tried/tested the showcase example, and I think I see the issue.
http://www.primefaces.org/showcase-labs ... Dialog.jsf
2. Please change the title of this forum topic to something like as follows:
SHOWCASE GMap - Dialog is not working
3. Please open new issue in issue tracker, and reply here with the issue # and URL of the new issue.
http://www.primefaces.org/showcase-labs ... Dialog.jsf
2. Please change the title of this forum topic to something like as follows:
SHOWCASE GMap - Dialog is not working
3. Please open new issue in issue tracker, and reply here with the issue # and URL of the new issue.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Posts: 56
- Joined: 27 Sep 2010, 17:15
There is a workaround. Assuming gmap's widgetVar is "myMap", call myMap.checkResize(); in the dialog's onShow.
GlassFish 3.1.1 (Mojarra 2.1.3) | Primefaces 3.0 | UrlRewriteFilter | Jrebel 4.5.3
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
Would be nice if you create the new issue. If Showcase has an issue/defect/bug, then please create new issue. It helps PrimeFaces to be better. Workarounds are fine, but Optimus may have missed this and may have a quick/simple fix for this.
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
-
- Information
-
Who is online
Users browsing this forum: No registered users and 51 guests