[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 20:56:32 EST 2014
[ https://issues.jboss.org/browse/RF-13459?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12936165#comment-12936165 ]
Brian Leathem commented on RF-13459:
------------------------------------
The error comes from an invalid API key. The warnings come from use of the deprecated google maps v2 API.
Instructions on upgrading to use the google maps API v3:
https://developers.google.com/maps/documentation/javascript/v2/v2tov3
> 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
>
> # 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