Revision history [back]

click to hide/show revision 1
initial version

answered 2014-05-07 03:18:27 +0800

RaymondChao gravatar image RaymondChao

ZK Team

Hello.

Sorry, it seems gmaps did not update center attribute when map moved. The workaround is to update gmaps center attribute manually when map move, for example:

<gmaps id="map">
    <attribute name="onMapMove">
        map.setCenter(event.getLat(), event.getLng());
    </attribute>
</gmaps>

I've created the issue here.

Hello.

Sorry, it seems gmaps did not update center attribute when map moved. The workaround is to update gmaps center attribute manually when map move, moved, for example:

<gmaps id="map">
    <attribute name="onMapMove">
        map.setCenter(event.getLat(), event.getLng());
    </attribute>
</gmaps>

I've created the issue here.. If the workaround does not solve your problem, please tell us. Thanks.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More