Example #1
0
        public MarkerBuilder Add()
        {
            var marker = new Marker(map);

            map.Markers.Add(marker);

            return new MarkerBuilder(marker);
        }
Example #2
0
        public InfoWindow(Marker marker)
            : base(marker.Map)
        {
            if (marker == null) throw new ArgumentNullException("marker");

            this.marker = marker;
            Content = string.Format("{0}Marker{1}",marker.Map.Id,marker.Index);

            Template = new HtmlTemplate();
        }
Example #3
0
 public MarkerBuilder(Marker marker)
 {
     this.Marker = marker;
 }
 public MarkerSerializer(Marker marker)
 {
     this.marker = marker;
 }