2 Replies Latest reply on Jul 28, 2009 6:54 AM by kretes

    google map rerender

    kretes

      I have quite simple page:

      <f:view>

      <h:outputText value="#{map.latitude} : #{map.longitude}" id ="gMapInfo"/>
      <rich:gmap gmapVar="map"
      style="width:400px;height:400px;align:center"
      id="gmap"
      enableDoubleClickZoom="true"

      enableInfoWindow="true"
      lat="#{map.latitude}" lng="#{map.longitude}"
      mapType="G_HYBRID_MAP"
      zoom="11"

      />
      <a4j:form>
      <a4j:commandLink action="#{map.random}"
      value="Random" reRender="gmap,gMapInfo" ajaxSingle="true"/>
      </a4j:form>
      </f:view>

      and a bean for longitude and latitude with method to generate those.

      if I put rerender=gMapInfo only it works. when I add gmap to list of items to rerender it sends normal server request and hang on processing, page is loading and nothing is happening..
      any ideas why?