public Marker(LatLng point, String title, String iconSource, IMapServiceJS mapServiceJS):base(mapServiceJS) { this.point = point; this.title = title; this.iconSource = iconSource; Redraw(); }
public Marker(LatLng point, String title, String iconSource, IMapServiceJS mapServiceJS) : base(mapServiceJS) { this.point = point; this.title = title; this.iconSource = iconSource; Redraw(); }
public PolyLine(LatLng[] points, Color color, int strokeWeight, double strokeOpacity, IMapServiceJS mapServiceJS):base(mapServiceJS) { this.strokeColor = color; this.strokeWeight = strokeWeight; this.strokeOpacity = strokeOpacity; this.points = points; Redraw(); }
public Polygon(LatLng[] points, Color strokeColor, int strokeWeight, double strokeOpacity, Color fillColor, double fillOpacity,IMapServiceJS mapServiceJS):base(mapServiceJS) { this.strokeColor = Utility.ColorToRGB(strokeColor); this.strokeWeight = strokeWeight; this.strokeOpacity = strokeOpacity; this.fillColor = Utility.ColorToRGB(fillColor); this.fillOpacity = fillOpacity; this.points = points; Redraw(); }
public Map(Rectangle control, IMapServiceJS mapServiceJS) { if (mapServiceJS == null) { throw new Exception("mapServiceJS cannot be null"); } this.mapServiceJS = mapServiceJS; mapId = "map_" + mapIdCount.ToString("0000"); mapIdCount++; mapShapeList = new MapShapeCollection(); mapEvents.MapViewChange += new EventHandler<MapEventArgs>(mapEvents_MapViewChange); mapEvents.MapClick += new EventHandler<MapEventArgs>(mapEvents_MapClick); mapEvents.ZoomChange += new EventHandler<MapEventArgs>(mapEvents_ZoomChange); mapEvents.ShapeClick += new EventHandler<MapEventArgs>(mapEvents_ShapeClick); InitMapOverlay(control); Redraw(); }
public Map(Rectangle control, IMapServiceJS mapServiceJS) { if (mapServiceJS == null) { throw new Exception("mapServiceJS cannot be null"); } this.mapServiceJS = mapServiceJS; mapId = "map_" + mapIdCount.ToString("0000"); mapIdCount++; mapShapeList = new MapShapeCollection(); mapEvents.MapViewChange += new EventHandler <MapEventArgs>(mapEvents_MapViewChange); mapEvents.MapClick += new EventHandler <MapEventArgs>(mapEvents_MapClick); mapEvents.ZoomChange += new EventHandler <MapEventArgs>(mapEvents_ZoomChange); mapEvents.ShapeClick += new EventHandler <MapEventArgs>(mapEvents_ShapeClick); InitMapOverlay(control); Redraw(); }
public PolyLine(LatLng[] points, Color color, int strokeWeight, double strokeOpacity, IMapServiceJS mapServiceJS) : base(mapServiceJS) { this.strokeColor = color; this.strokeWeight = strokeWeight; this.strokeOpacity = strokeOpacity; this.points = points; Redraw(); }
public MapShapes(IMapServiceJS mapServiceJS) { id = "shape_" + shapeIDCount.ToString("0000"); shapeIDCount++; this.mapServiceJS = mapServiceJS; }
public Polygon(LatLng[] points, Color strokeColor, int strokeWeight, double strokeOpacity, Color fillColor, double fillOpacity, IMapServiceJS mapServiceJS) : base(mapServiceJS) { this.strokeColor = Utility.ColorToRGB(strokeColor); this.strokeWeight = strokeWeight; this.strokeOpacity = strokeOpacity; this.fillColor = Utility.ColorToRGB(fillColor); this.fillOpacity = fillOpacity; this.points = points; Redraw(); }