You need to sign in to do that
Don't have an account?
Google Map VS Rerender - Problem
Hi, i have a problem using a commandLink with the rerender attribute and a google map in the same page (the google map ISN'T into the component that i'm rerendering....)
This is a simple example of my code:
This is the visualforce page :
<script>
window.onload = initializeGoogleMap;
function initializeGoogleMap() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("GoogleMapHolder"));
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
}
}
</script>
<apex:outputpanel id="aux"></apex:outputpanel>
<apex:form >
<apex:commandLink action="{!refresh}" rerender="aux" value="Refresh Aux"/>
</apex:form>
<div id="GoogleMapHolder" style="width: 315px; height: 330px"></div>
And the controller:
public void refresh () {}
When the action finished, the page turn all white and loading, and never stop...
Any idea of what cause this behavior???
Thanks
J.