Zoom_changed - Center
<p><a href="http://www.hostelbars.com/map_test_v3_1.html" rel="nofollow">Example for my Requirement Link :::</a>when we click on marker it should display info window and when we zoom in using scroll,it should be zoom on marker only.when i am googling for the same i found some code to my requirement then i integrated it in my code but i did't achieve my requirement.Following is my code $WL.Maps.Event.addListener(oMarker, "click", function(e) </p>

<pre><code>{
            if (oMarker.vehicleId !== oSelf.get($W.LiveTrack.ATTR_SELECTED_VEHICLE)) {
                oSelf.set($W.LiveTrack.ATTR_SELECTED_VEHICLE, oMarker.vehicleId);
            }
            else{
                alert('In else Block');
                oInfoWindow.drawAndMoveTo({
                    position: oMarker.getPosition(),
                    map: oGMap,
                    content: {
                    overview: oSelf._getContentOverviewTable(oVehicle),
                    details: oSelf._getContentDetailTable(oVehicle)
                }
            });
                $WL.Maps.Event.addListener(oMarker, 'zoom_changed', function() {
                    alert('In Zoom_changed Listener');
                    oGMap.setCenter(oMarker.getPosition()) });
                  });
          }
        });
    },
</code></pre>
