[richfaces-issues] [JBoss JIRA] (RF-13459) Google map doesn't work because of stack overflow

Brian Leathem (JIRA) issues at jboss.org
Wed Jan 15 21:28:32 EST 2014


     [ https://issues.jboss.org/browse/RF-13459?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Leathem resolved RF-13459.
--------------------------------

           Labels: needs-qe  (was: )
         Assignee: Brian Leathem
    Fix Version/s: 3.3.1.SP4
       Resolution: Done


Updated the gmap component to use the v3 maps API.  Also update the API key used in the showcase demo.

The facelet api is expected to be preserved, however the client-side javascript API in the showcase demo invoked the google API directly.  This javascript API has changed, and the showcase demo updated to show the new API.

Note: the v2 API is no longer available from google, so we have no choice but to follow suit.
                
> Google map doesn't work because of stack overflow
> -------------------------------------------------
>
>                 Key: RF-13459
>                 URL: https://issues.jboss.org/browse/RF-13459
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc
>    Affects Versions: 3.3.1.SP3, 3.3.4.Final
>            Reporter: Pavol Pitonak
>            Assignee: Brian Leathem
>              Labels: needs-qe
>             Fix For: 3.3.1.SP4
>
>
> # open http://showcase-rf3.richfaces.org/richfaces/gmap.jsf?c=gmap&tab=usage in Chrome 31, IE7/8/9
> result:
> * map is rendered for a second but that it disappear and popup with stack overflow error is displayed
> * this is in browser console:
> {code}
> Uncaught RangeError: Maximum call stack size exceeded %7Bmain,adsense,geometry,zombie%7D.js:11
> {code}
> * there are several warnings in browser console but I'm not sure if they are somehow related:
> {code}
> Map.disableContinuousZoom is no longer supported in the Google Maps Javascript API v2. Please visit https://developers.google.com/maps/documentation/javascript/v2/v2tov3 to migrate your application to v3. %7Bmain,adsense,geometry,zombie%7D.js:66
> Control is no longer supported in the Google Maps Javascript API v2. Please visit https://developers.google.com/maps/documentation/javascript/v2/v2tov3 to migrate your application to v3. %7Bmain,adsense,geometry,zombie%7D.js:66
> Map.addControl is no longer supported in the Google Maps Javascript API v2. Please visit https://developers.google.com/maps/documentation/javascript/v2/v2tov3 to migrate your application to v3. %7Bmain,adsense,geometry,zombie%7D.js:66
> ScaleControl is no longer supported in the Google Maps Javascript API v2. Please visit https://developers.google.com/maps/documentation/javascript/v2/v2tov3 to migrate your application to v3. %7Bmain,adsense,geometry,zombie%7D.js:66 
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the richfaces-issues mailing list