public void SerializeTo(ClientSideObjectWriter writer)
 {
     writer.AppendClientEvent("bounds_changed", OnMapBoundChanged);
     writer.AppendClientEvent("center_changed", OnMapCenterChanged);
     writer.AppendClientEvent("click", OnMapClick);
     writer.AppendClientEvent("dblclick", OnMapDobleClick);
     writer.AppendClientEvent("rightclick", OnMapRightClick);
     writer.AppendClientEvent("drag", OnMapDrag);
     writer.AppendClientEvent("dragend", OnMapDragEnd);
     writer.AppendClientEvent("dragstart", OnMapDragStart);
     writer.AppendClientEvent("heading_changed", OnMapHeadingChanged);
     writer.AppendClientEvent("idle", OnMapIdle);
     writer.AppendClientEvent("maptypeid_changed", OnMapTypeIdChanged);
     writer.AppendClientEvent("mousemove", OnMouseMove);
     writer.AppendClientEvent("mouseout", OnMouseOut);
     writer.AppendClientEvent("mouseover", OnMouseOver);
     writer.AppendClientEvent("projection_changed", OnMapProjectionChanged);
     writer.AppendClientEvent("resize", OnResize);
     writer.AppendClientEvent("tilesloaded", OnTilesLoaded);
     writer.AppendClientEvent("resize", OnTiltChanged);
     writer.AppendClientEvent("zoom_changed", OnZoomChanged);
     writer.AppendClientEvent("map_loaded", OnMapLoaded);
 }
Exemple #2
0
 public void SerializeTo(ClientSideObjectWriter writer)
 {
     writer.AppendClientEvent("animation_changed", OnMarkerAnimationChanged);
     writer.AppendClientEvent("click", OnMarkerClick);
     writer.AppendClientEvent("clickable_changed", OnMarkerClickableChanged);
     writer.AppendClientEvent("cursor_changed", OnMarkerCursorChanged);
     writer.AppendClientEvent("dblclick", OnMarkerDblClick);
     writer.AppendClientEvent("dragstart", OnMarkerDragStart);
     writer.AppendClientEvent("drag", OnMarkerDrag);
     writer.AppendClientEvent("dragend", OnMarkerDragEnd);
     writer.AppendClientEvent("flat_changed", OnMarkerFlatChanged);
     writer.AppendClientEvent("icon_changed", OnMarkerIconChanged);
     writer.AppendClientEvent("mousedown", OnMarkerMouseDown);
     writer.AppendClientEvent("mouseout", OnMarkerMouseOut);
     writer.AppendClientEvent("mouseover", OnMarkerMouseOver);
     writer.AppendClientEvent("mouseup", OnMarkerMouseUp);
     writer.AppendClientEvent("position_changed", OnMarkerPositionChanged);
     writer.AppendClientEvent("rightclick", OnMarkerRightClick);
     writer.AppendClientEvent("shape_changed", OnMarkerShapeChanged);
     writer.AppendClientEvent("title_changed", OnMarkerTitleChanged);
     writer.AppendClientEvent("visible_changed", OnMarkerVisibleChanged);
     writer.AppendClientEvent("zindex_changed", OnMarkerzIndexChanged);
 }
 public void SerializeTo(ClientSideObjectWriter writer)
 {
     writer.AppendClientEvent("bounds_changed", OnMapBoundChanged);
     writer.AppendClientEvent("center_changed", OnMapCenterChanged);
     writer.AppendClientEvent("click", OnMapClick);
     writer.AppendClientEvent("dblclick", OnMapDobleClick);
     writer.AppendClientEvent("rightclick", OnMapRightClick);
     writer.AppendClientEvent("drag", OnMapDrag);
     writer.AppendClientEvent("dragend", OnMapDragEnd);
     writer.AppendClientEvent("dragstart", OnMapDragStart);
     writer.AppendClientEvent("heading_changed", OnMapHeadingChanged);
     writer.AppendClientEvent("idle", OnMapIdle);
     writer.AppendClientEvent("maptypeid_changed", OnMapTypeIdChanged);
     writer.AppendClientEvent("mousemove", OnMouseMove);
     writer.AppendClientEvent("mouseout", OnMouseOut);
     writer.AppendClientEvent("mouseover", OnMouseOver);
     writer.AppendClientEvent("projection_changed", OnMapProjectionChanged);
     writer.AppendClientEvent("resize", OnResize);
     writer.AppendClientEvent("tilesloaded", OnTilesLoaded);
     writer.AppendClientEvent("resize", OnTiltChanged);
     writer.AppendClientEvent("zoom_changed", OnZoomChanged);
     writer.AppendClientEvent("map_loaded", OnMapLoaded);
     writer.AppendClientEvent("markers_geocoding_completed", OnMarkersGeocodingCompleted);
     writer.AppendClientEvent("markers_geocoding_progress", OnMarkersGeocodingProgress);
 }
        public void SerializeTo(ClientSideObjectWriter writer)
        {
            if (writer == null) throw new ArgumentNullException("writer");

            writer.AppendClientEvent("animation_changed", OnMarkerAnimationChanged);
            writer.AppendClientEvent("click", OnMarkerClick);
            writer.AppendClientEvent("clickable_changed", OnMarkerClickableChanged);
            writer.AppendClientEvent("cursor_changed", OnMarkerCursorChanged);
            writer.AppendClientEvent("dblclick", OnMarkerDoubleClick);
            writer.AppendClientEvent("dragstart", OnMarkerDragStart);
            writer.AppendClientEvent("drag", OnMarkerDrag);
            writer.AppendClientEvent("dragend", OnMarkerDragEnd);
            writer.AppendClientEvent("flat_changed", OnMarkerFlatChanged);
            writer.AppendClientEvent("icon_changed", OnMarkerIconChanged);
            writer.AppendClientEvent("mousedown", OnMarkerMouseDown);
            writer.AppendClientEvent("mouseout", OnMarkerMouseOut);
            writer.AppendClientEvent("mouseover", OnMarkerMouseOver);
            writer.AppendClientEvent("mouseup", OnMarkerMouseUp);
            writer.AppendClientEvent("position_changed", OnMarkerPositionChanged);
            writer.AppendClientEvent("rightclick", OnMarkerRightClick);
            writer.AppendClientEvent("shape_changed", OnMarkerShapeChanged);
            writer.AppendClientEvent("title_changed", OnMarkerTitleChanged);
            writer.AppendClientEvent("visible_changed", OnMarkerVisibleChanged);
            writer.AppendClientEvent("zindex_changed", OnMarkerZIndexChanged);
        }