ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
ThinkGeo Cloud
ThinkGeo UI Controls
ThinkGeo Open Source
Help and Support
External Resources
Release date: 05/14/2012
Namespaces
New namespaces: 0
Types
Types added in new namespaces: 0
Types added to existing namespaces: 3
Total number of types added (in both new and existing namespaces): 3
Types removed from existing namespaces: 0
Members
Members added on new types: 11
Members added to existing types: 11
Members removed from existing types: 6
Members removed on removed types: 0
Attributes
Attributes added: 0
Attributes added and shown: 0
Attributes removed: 0
Attributes removed and shown: 0
Others
Parameter name changes: 0
WebEdition, Version=6.0.0.0, Culture=neutral, PublicKeyToken=null
namespace ThinkGeo.MapSuite.WebEdition {
[SerializableAttribute]
public class BingMapsOverlay : Overlay, IRequireId, IJsonSerializable {
[ObsoleteAttribute("This property is obsolete and maybe removed on or after May 1st 2012, please use Credentials instead.")]
public Uri JavaScriptLibraryUri { get; set; }
}
[SerializableAttribute]
public class GoogleOverlay : Overlay, IRequireId, IJsonSerializable {
[JsonMemberAttribute(MemberName="centerOnStreetView")]
public Boolean CenterOnStreetView {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="traf")]
public Boolean TrafficEnabled {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="sv")]
public GoogleStreetView GoogleStreetView { get; set; }
}
[SerializableAttribute]
public class GoogleStreetView : IJsonSerializable {
public GoogleStreetView(PointShape position);
public GoogleStreetView(PointShape position, Int32 width, Int32 height);
[JsonMemberAttribute(MemberName="enabled")]
public Boolean Enabled {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="h")]
public Int32 Height {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="w")]
public Int32 Width {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="point")]
public PointShape Position {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
public String ToJson();
}
[DefaultPropertyAttribute("Text")]
[DesignerAttribute(typeof(MapDesigner))]
[ToolboxBitmapAttribute(typeof(Map),|"Resources.map.bmp")]
[ToolboxDataAttribute("
public class Map : Panel, IPostBackEventHandler, IPostBackDataHandler, IJsonSerializable, ICallbackEventHandler {
public GeoCanvas GeoCanvas {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
}
[SerializableAttribute]
public class OpenStreetMapOverlay : Overlay, IRequireId, IJsonSerializable {
[JsonMemberAttribute(MemberName="uris")]
public Collection
[JsonMemberAttribute(MemberName="osmtype")]
public OpenStreetMapType MapType { get; set; }
}
public enum OpenStreetMapType {
Standard,
CycleMap,
TransportMap,
MapQuestOpen
}
[CompilerGeneratedAttribute]
[DebuggerNonUserCodeAttribute]
[GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
public class ThemeResource {
}
}
Release date: 12/31/2011
No API changes in this version.
Release date: 11/14/2011
Namespaces
New namespaces: 0
Types
Types added in new namespaces: 0
Types added to existing namespaces: 0
Total number of types added (in both new and existing namespaces): 0
Types removed from existing namespaces: 3
Members
Members added on new types: 0
Members added to existing types: 4
Members removed from existing types: 4
Members removed on removed types: 19
Attributes
Attributes added: 9
Attributes added and shown: 9
Attributes removed: 7
Attributes removed and shown: 7
Others
Parameter name changes: 0
WebEdition, Version=5.5.0.0, Culture=neutral, PublicKeyToken=null
namespace ThinkGeo.MapSuite.WebEdition {
[SerializableAttribute]
public class BingMapsOverlay : Overlay, IRequireId, IJsonSerializable {
public BingMapsOverlay(BingMapsStyle bingMapsMapType, String credentials);
public BingMapsOverlay(String id, BingMapsStyle bingMapsMapType, String credentials);
[JsonMemberAttribute(MemberName="key")]
public String Credentials { get; set; }
[ObsoleteAttribute("This property is obsolete and maybe removed on or after May 1st 2012, please use Credentials instead.")]
public Uri JavaScriptLibraryUri { get; set; }
protected override void RegisterJavaScriptLibraryCore(Page page);
}
public enum BingMapsStyle {
Road,
Shaded,
Aerial,
Hybrid,
Oblique,
Birdseye,
BirdseyeHybrid
}
[DefaultPropertyAttribute("Text")]
[DesignerAttribute(typeof(MapDesigner))]
[ToolboxBitmapAttribute(typeof(Map),|"Resources.map.bmp")]
[ToolboxDataAttribute("
public class Map : Panel, IPostBackEventHandler, IPostBackDataHandler, IJsonSerializable, ICallbackEventHandler {
protected override void OnUnload(EventArgs e);
[ObsoleteAttribute("This property is obsolete and maybe removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public Collection
[ObsoleteAttribute("This method is obsolete and may be removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public void SyncClientZoomLevels(IEnumerable
[ObsoleteAttribute("This method is obsolete and may be removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public void SyncClientZoomLevels(ZoomLevelSet zoomLevelSet);
}
[SerializableAttribute]
public class TouchMapTool : MapTool, IJsonSerializable {
}
public sealed enum GoogleApiVersion;
public sealed enum VirtualEarthMapType;
public class VirtualEarthOverlay;
}
Release date: 07/07/2011
Assembly | Members Added | Members Removed | Breaking Changes |
---|---|---|---|
WebEdition | 9 added | 9 removed | 9 breaking |
API Changes
Namespaces
New namespaces: 0
Types
Types added in new namespaces: 0
Types added to existing namespaces: 0
Total number of types added (in both new and existing namespaces): 0
Types removed from existing namespaces: 0
Members
Members added on new types: 0
Members added to existing types: 5
Members removed from existing types: 5
Members removed on removed types: 0
Attributes
Attributes added: 4
Attributes added and shown: 4
Attributes removed: 4
Attributes removed and shown: 4
Others
Parameter name changes: 0
WebEdition, Version=5.0.0.55, Culture=neutral, PublicKeyToken=null
namespace ThinkGeo.MapSuite.WebEdition {
public enum GoogleMapType {
Normal,
Satellite,
Hybrid,
Physical
}
[DefaultPropertyAttribute("Text")]
[DesignerAttribute(typeof(MapDesigner))]
[ToolboxBitmapAttribute(typeof(Map),|"Resources.map.bmp")]
[ToolboxDataAttribute("
public class Map : Panel, IPostBackEventHandler, IPostBackDataHandler, IJsonSerializable, ICallbackEventHandler {
Boolean 1xY=(String 2BY=, NameValueCollection 2RY=);
void 3BY=();
String 6BY=();
void 6RY=(String 6hY=);
void wxY=(String xBY=);
void hRQ=(String hhQ=);
Boolean mxQ=(String nBQ=, NameValueCollection nRQ=);
void oBQ=();
String rBQ=();
void rRQ=(String rhQ=);
}
}
Release date: 05/16/2011
Assembly | Members Added | Members Removed | Breaking Changes |
---|---|---|---|
WebEdition | 34 added | 15 removed | 15 breaking |
API Changes
Namespaces
New namespaces: 0
Types
Types added in new namespaces: 0
Types added to existing namespaces: 5
Total number of types added (in both new and existing namespaces): 6
Types removed from existing namespaces: 0
Members
Members added on new types: 24
Members added to existing types: 19
Members removed from existing types: 11
Members removed on removed types: 0
Attributes
Attributes added: 9
Attributes added and shown: 9
Attributes removed: 4
Attributes removed and shown: 4
Others
Parameter name changes: 0
WebEdition, Version=5.0.0.0, Culture=neutral, PublicKeyToken=null
namespace ThinkGeo.MapSuite.WebEdition {
[SerializableAttribute]
public class AdornmentOverlay : Overlay, IRequireId, IJsonSerializable {
public AdornmentOverlay();
public AdornmentOverlay(String id);
public GeoCollection
public void Draw(GeoCanvas canvas);
protected override String OverlayType { get; }
protected virtual void DrawCore(GeoCanvas canvas);
}
[SerializableAttribute]
public class BingMapsOverlay : Overlay, IRequireId, IJsonSerializable {
public BingMapsOverlay();
public BingMapsOverlay(String id);
public BingMapsOverlay(String id, BingMapsStyle bingMapsMapType);
[JsonMemberAttribute(MemberName="type")]
public BingMapsStyle MapType { get; set; }
public Uri JavaScriptLibraryUri { get; set; }
[JsonMemberAttribute(MemberName="tick")]
protected override Boolean HasTickEvent { get; }
[JsonMemberAttribute(MemberName="otype")]
protected override String OverlayType { get; }
protected override void RegisterJavaScriptLibraryCore(Page page);
}
public enum BingMapsStyle {
Road,
Shaded,
Aerial,
Hybrid,
Oblique,
Birdseye,
BirdseyeHybrid
}
[SerializableAttribute]
public class ContextMenuItem : IJsonSerializable, IRequireId {
[JsonMemberAttribute(MemberName="click")]
protected Boolean HasClickEvent { get; }
[JsonMemberAttribute(MemberName="click")]
protected Boolean x344e25ba6f852b91 { get; }
}
public enum GoogleApiVersion {
V2,
V3
}
public enum GoogleMapType {
Normal,
Satellite,
Hybrid,
Physical
}
[SerializableAttribute]
public class HighlightFeatureOverlay : FeatureOverlay {
[JsonMemberAttribute(MemberName="click")]
protected Boolean HasClickEvent { get; }
[JsonMemberAttribute(MemberName="click")]
protected Boolean x344e25ba6f852b91 { get; }
}
[SerializableAttribute]
public class LayerOverlay : Overlay, IRequireId, IJsonSerializable {
[JsonMemberAttribute(MemberName="extra")]
protected String ExtraParameter { get; set; }
[JsonMemberAttribute(MemberName="projection")]
protected String Projection { get; set; }
[JsonMemberAttribute(MemberName="extra")]
protected String x24de2020d798fbed {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
[JsonMemberAttribute(MemberName="projection")]
protected String x36a1c54ed8069fa5 {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
}
[DefaultPropertyAttribute("Text")]
[DesignerAttribute(typeof(MapDesigner))]
[ToolboxBitmapAttribute(typeof(Map),|"Resources.map.bmp")]
[ToolboxDataAttribute("
public class Map : Panel, IPostBackEventHandler, IPostBackDataHandler, IJsonSerializable, ICallbackEventHandler {
[BrowsableAttribute(false)]
public AdornmentOverlay AdornmentOverlay { get; }
[ObsoleteAttribute("This property is obsolete and maybe removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public Collection
public ZoomLevelSet ZoomLevelSet { get; set; }
[ObsoleteAttribute("This method is obsolete and may be removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public void SyncClientZoomLevels(ZoomLevelSet zoomLevelSet);
[ObsoleteAttribute("This method is obsolete and may be removed on or after November 1st 2011, please use ZoomLevelSet instead.")]
public void SyncClientZoomLevels(IEnumerable
[JsonMemberAttribute(MemberName="adornmentOverlay")]
protected AdornmentOverlay AdornmentOverlayForJson { get; }
void hRQ=(String hhQ=);
Boolean mxQ=(String nBQ=, NameValueCollection nRQ=);
void oBQ=();
String rBQ=();
void rRQ=(String rhQ=);
void x3296715cc7992de2(String x055cc4f8164153bb);
void x33ef4257b549df3e(String x055cc4f8164153bb);
Boolean x57b61acc3e039aed(String x96adbb16060a076f, NameValueCollection x13e9d0e2d3dc9cb2);
void x7575b543ad8624ce();
String xfb110a2a6367e230();
}
[SerializableAttribute]
public class MapTools : IJsonSerializable {
[JsonMemberAttribute(MemberName="TouchNavigation")]
public TouchMapTool TouchMapTool { get; }
}
public enum MouseCoordinateType {
DegreesMinutesSecondsLatitudeLongitude
}
[SerializableAttribute]
public class OverlaySwitcherMapTool : MapTool, IJsonSerializable {
[JsonMemberAttribute(MemberName="roundedCornerColor")]
public GeoColor RoundedCornerColor { get; set; }
}
public class TouchMapTool : MapTool, IJsonSerializable {
public TouchMapTool();
}
[ObsoleteAttribute("This enum is obsolete, please use enum: BingMapsStyle. This API is obsolete and may be removed on or after November 1st 2011.", false)]
public enum VirtualEarthMapType {
}
[ObsoleteAttribute("This class is obsolete, please use class: BingMapsOverlay. This API is obsolete and may be removed on or after November 1st 2011.", false)]
[SerializableAttribute]
public class VirtualEarthOverlay : Overlay, IRequireId, IJsonSerializable {
public VirtualEarthOverlay(String id, VirtualEarthMapType virtualEarthMapType, String applicationKey);
[JsonMemberAttribute(MemberName="key")]
public String ApplicationKey { get; set; }
}
[SerializableAttribute]
public class WebImage : IJsonSerializable {
[JsonMemberAttribute(MemberName="url")]
protected|internal String IconImagePath { get; }
[JsonMemberAttribute(MemberName="url")]
protected|internal String xe852a90d3e8c3f5b { get; }
}
[SerializableAttribute]
public class WmsOverlay : Overlay, IRequireId, IJsonSerializable {
[JsonMemberAttribute(MemberName="SRS")]
protected String Projection { get; set; }
[JsonMemberAttribute(MemberName="SRS")]
protected String x36a1c54ed8069fa5 {
[CompilerGeneratedAttribute]
get;
[CompilerGeneratedAttribute]
set;
}
}
}
Release date: 11/01/2010
Assembly | Members Added | Members Removed | Breaking Changes |
---|---|---|---|
WebEdition | 5 added | 0 removed | 0 breaking |
API Changes
Namespaces
New namespaces: 0
Types
Types added in new namespaces: 0
Types added to existing namespaces: 3
Total number of types added (in both new and existing namespaces): 3
Types removed from existing namespaces: 0
Members
Members added on new types: 19
Members added to existing types: 2
Members removed from existing types: 0
Members removed on removed types: 0
Attributes
Attributes added: 0
Attributes added and shown: 0
Attributes removed: 0
Attributes removed and shown: 0
Others
Parameter name changes: 0
WebEdition, Version=4.5.0.0, Culture=neutral, PublicKeyToken=null
namespace ThinkGeo.MapSuite.WebEdition {
public class ClusterMarkerStyle : MarkerStyle {
public ClusterMarkerStyle();
public ClusterMarkerStyle(Double distance, Double mapWidth, Double mapHeight);
public Double DistanceInPixel { get; set; }
public Double MapHeight { get; set; }
public Double MapWidth { get; set; }
public MarkerStyle MarkerStyle { get; set; }
public override Collection
}
public class GeoResourceFactory : IHttpHandlerFactory {
protected virtual IHttpHandler GetHandlerCore(HttpContext context);
}
public class MultiThreadTileResource : IHttpAsyncHandler, IHttpHandler, IReadOnlySessionState, IRequiresSessionState {
public MultiThreadTileResource();
public Boolean IsReusable { get; }
public IAsyncResult BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData);
public void EndProcessRequest(IAsyncResult result);
public void ProcessRequest(HttpContext context);
protected virtual IAsyncResult BeginProcessRequestCore(HttpContext context, AsyncCallback cb, Object extraData);
protected virtual void EndProcessRequestCore(IAsyncResult result);
protected virtual void ProcessRequestCore(HttpContext context);
}
public class SingleThreadTileResource : IHttpHandler, IReadOnlySessionState, IRequiresSessionState {
public SingleThreadTileResource();
public Boolean IsReusable { get; }
public void ProcessRequest(HttpContext context);
protected virtual void ProcessRequestCore(HttpContext context);
}
[SerializableAttribute]
public class WebImage : IJsonSerializable {
public GeoColor TextBackgroundColor { get; set; }
}
}
Release date: 6/15/2010
No API changes in this version.
Release date: 5/21/2010
No API changes in this version.
Release date: 5/1/2010
Introduced Map Suite 4.0. There are several API additions in this release, but no breaking changes. Please see the attached HTML web page for a complete enumeration of the API changes and additions.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1389) | 136 added | 0 removed | 0 breaking | 9.8% churn |
Changes in webedition from 3.1.299 (Version 2.0.50727.3603) to 4.0.0.0 (Version 2.0.50727.3603)
The Html can't be transformered.
Release date: 11/16/2009
Five new APIs were introduced in this version. There are no breaking changes. Please see the attached Word document for a complete enumeration of the changes.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1247) | 5 added | 0 removed | 0 breaking | 0.4% churn |
Changes in webedition from 3.1.273 (Version 2.0.50727.3082) to 3.1.299 (Version 2.0.50727.3082)
Removed |
Added |
public abstract class ThinkGeo.MapSuite.WebEdition.FeatureOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.OverlaySwitcherMapTool () |
|
--> NONE <-- |
|
Release date: 10/22/2009
A small number of new APIs were introduced in this version. There are no breaking changes. Please see the attached Word document for a complete enumeration of the changes.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1242) | 23 added | 0 removed | 0 breaking | 1.9% churn |
Changes in webedition from 3.1.182 (Version 2.0.50727.3082) to 3.1.273 (Version 2.0.50727.3082)
Removed |
Added |
public class ThinkGeo.MapSuite.WebEdition.ContextMenuItem () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.Map () |
|
--> NONE <-- |
|
ThinkGeo.MapSuite.WebEdition WorldMapKitWmsWebOverlay () |
|
n/a |
public class ThinkGeo.MapSuite.WebEdition.WorldMapKitWmsWebOverlay |
--> NONE <-- |
|
Release date: 7/23/2009
A handful of new APIs were introduced in this version. There are no breaking changes.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1219) | 32 added | 0 removed | 0 breaking | 2.6% churn |
Changes in webedition from 3.1.124 (Version 2.0.50727.3053) to 3.1.182 (Version 2.0.50727.3053)
Removed |
Added |
public class ThinkGeo.MapSuite.WebEdition.ContextMenuItem () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.EditFeatureOverlay () |
|
--> NONE <-- |
|
public abstract class ThinkGeo.MapSuite.WebEdition.FeatureOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.HighlightFeatureOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.LayerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.Map () |
|
--> NONE <-- |
|
public abstract class ThinkGeo.MapSuite.WebEdition.MarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.SimpleMarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.WebImage () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.WmsOverlay () |
|
--> NONE <-- |
|
Release date: 5/26/2009
Minor API changes were introduced in this version. There are no breaking changes.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1187) | 19 added | 1 removed | 0 breaking | 1.6% churn |
Changes in webedition from 3.1.16 (Version 2.0.50727.3053) to 3.1.124 (Version 2.0.50727.3053)
Removed |
Added |
public class ThinkGeo.MapSuite.WebEdition.FeatureSourceMarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.InMemoryMarkerOverlay () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.LayerOverlay () |
|
|
|
public class ThinkGeo.MapSuite.WebEdition.Map () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.Marker () |
|
--> NONE <-- |
|
ThinkGeo.MapSuite.WebEdition MarkerDraggedEventArgs () |
|
n/a |
public class ThinkGeo.MapSuite.WebEdition.MarkerDraggedEventArgs |
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.ServerCache () |
|
--> NONE <-- |
|
public class ThinkGeo.MapSuite.WebEdition.SimpleMarkerOverlay () |
|
--> NONE <-- |
|
Release date: 2/6/2009
Very minor API changes were introduced in this version. There are no breaking changes.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1169) | 4 added | 1 removed | 0 breaking | 0.3% churn |
Release date: 1/22/2009
A large number of API changes and improvements have been introduced in this version, including the following breaking changes:
Please see the attached Word document for a complete list of all breaking changes, and examples of how you should migrate your code to comply with the revised API.
Assembly | Members Added | Members Removed | Breaking Changes | Percent Churn |
---|---|---|---|---|
webedition (1142) | 172 added | 0 removed | 89 breaking | 15.1% churn |
This topic discusses the changes made to Map Suite Web Edition between version 3.0.131 (beta 2) and the latest release, version 3.1.0 Final. The changes discussed in this article are those that might cause your older Web Edition applications to fail or behave differently.
Contents:
Description: In version 3.1.0, the Map.GetFullExtent method has been removed. If you really want to know the “full extent” of the map, you can call the LayerOverlay.GetBoundingBox method of each LayerOverlay of the map and merge them.
Description:
In version 3.1.0, the Map.Mode property has been removed. The Map.EditOverlay is responsible for anything related to shape editing. Please use the Map.EditOverlay.TrackMode instead. Note that Mode.Normal is replaced by the TrackMode.None, which means the editing mode is disabled.
In Version 3.0.131:
Map1.Mode = Mode.Normal; Map1.Mode = Mode.TrackPoint; Map1.Mode = Mode.TrackLine; Map1.Mode = Mode.TrackPolygon; Map1.Mode = Mode.TrackRectangle; Map1.Mode = Mode.TrackSquare; Map1.Mode = Mode.TrackCircle; Map1.Mode = Mode.TrackEllipse; Map1.Mode = Mode.EditShape;
In Version 3.1.0:
Map1.EditOverlay.TrackMode = TrackMode.None; Map1.EditOverlay.TrackMode = TrackMode.Point; Map1.EditOverlay.TrackMode = TrackMode.Line; Map1.EditOverlay.TrackMode = TrackMode.Polygon; Map1.EditOverlay.TrackMode = TrackMode.Rectangle; Map1.EditOverlay.TrackMode = TrackMode.Square; Map1.EditOverlay.TrackMode = TrackMode.Circle; Map1.EditOverlay.TrackMode = TrackMode.Ellipse; Map1.EditOverlay.TrackMode = TrackMode.Edit;
Description:
In version 3.1.0, the architecture of the editing system has changed. It is now the Map.EditOverlay that takes responsibility for shape editing. Map.EditOverlay has the Features collection, whose features are serialized to the client and drawn. It has the Style property that determines how those features are drawn. Its TrackMode property determines whether you can draw or edit shapes, and the EditSettings property allows you to control how to edit shapes.
In Version 3.0.131:
Map1.EditLayer.InternalFeatures.Add(feature.Id, feature);
In Version 3.1.0:
Map1.EditOverlay.Features.Add(feature.Id, feature); Map1.EditOverlay.Style.FillColor = GeoColor.StandardColors.LightGreen; Map1.EditOverlay.TrackMode = TrackMode.Edit; Map1.EditOverlay.EditSettings.IsRotatable = false; Map1.EditOverlay.EditSettings.IsDraggable = false; Map1.EditOverlay.EditSettings.IsResizable = false; Map1.EditOverlay.EditSettings.IsReshapable = true;
Description:
In version 3.1.0, the HighlightOverlay class has changed to the HighlightFeatureOverlay class, which is derived from FeatureOverlay. The Map.HighlightOverlay is a real overlay object now. It has some property changes – for example, the HoverStyle is now changed to HighlightStyle.
In Version 3.0.131:
Map1.HighlightOverlay.Style = new FeatureOverlayStyle(); Map1.HighlightOverlay.HoverStyle = new HighlightOverlayStyle(GeoColor.FromArgb(120, GeoColor.StandardColors.OrangeRed), GeoColor.StandardColors.DarkGreen, 1);
In Version 3.1.0:
Map1.HighlightOverlay.Style = new FeatureOverlayStyle(); Map1.HighlightOverlay.HighlightStyle.FillColor = GeoColor.FromArgb(120, GeoColor.StandardColors.OrangeRed); Map1.HighlightOverlay.HighlightStyle.OutlineColor = GeoColor.StandardColors.DarkGreen; Map1.HighlightOverlay.HighlightStyle.OutlineWidth = 1;
Description:
In version 3.1.0, the HighlightOverlayClickEventArgs class has been renamed to HighlightFeatureOverlayClickEventArgs.
In Version 3.0.131:
Map1.HighlightOverlay.Click += new EventHandler<HighlightOverlayClickEventArgs>(HighlightOverlay_Click);
In Version 3.1.0:
Map1.HighlightOverlay.Click += new EventHandler<HighlightFeatureOverlayClickEventArgs>(HighlightOverlay_Click);
Description:
In version 3.1.0, the HighlightOverlayStyle has been renamed to FeatureOverlayStyle, which determines how the features are drawn at the client side. The FeatureOverlayStyle is used by both EditFeatureOverlay and HighlightFeatureOverlay classes.
In Version 3.0.131:
HighlightOverlayStyle style = new HighlightOverlayStyle(); HighlightOverlayStyle hoverStyle = new HighlightOverlayStyle();
In Version 3.1.0:
FeatureOverlayStyle style = new FeatureOverlayStyle(); FeatureOverlayStyle hoverStyle = new FeatureOverlayStyle();
Description: In version 3.1.0, the Map.ZoomPercentage has been removed. Now the Map.ZoomIn and Map.ZoomOut methods will zoom the map by one zoomlevel, instead of by percentage.
Description: In version 3.1.0, the FeatureMarkerOverlay has been renamed to the FeatureSourceMarkerOverlay, which makes more sense.
In Version 3.0.131:
FeatureMarkerOverlay markerOverlay = new FeatureMarkerOverlay("Markers"); markerOverlay.FeatureSource = new ShapeFileFeatureSource(MapPath("~/SampleData/USA/cities_a.shp"));
In Version 3.1.0:
FeatureSourceMarkerOverlay markerOverlay = new FeatureSourceMarkerOverlay("Markers"); markerOverlay.FeatureSource = new ShapeFileFeatureSource(MapPath("~/SampleData/USA/cities_a.shp"));
Description:
In version 3.1.0, the InMemoryMarkerOverlay.Features has been changed from Dictionary to GeoCollection. Now you can use foreach to loop through the features directly.
In Version 3.0.131:
foreach (string key in Map1.MarkerOverlay.Features.Keys) { Feature feature = Map1.MarkerOverlay.Features[[key]]; }
In Version 3.1.0:
foreach (Feature feature in Map1.MarkerOverlay.Features) { }
Description:
In version 3.1.0, the WmsOverlay.Projection property has been replaced by the WmsOverlay.GetBaseEpsgProjection and WmsOverlay.SetBaseEpsgProjection methods.
In Version 3.0.131:
WmsOverlay wms = new WmsOverlay("WMS Layer"); wms.Projection = "EPSG:900913";
In Version 3.1.0:
WmsOverlay wms = new WmsOverlay("WMS Layer"); wms.SetBaseEpsgProjection("EPSG:900913");
Description:
In version 3.1.0, the ScreenOffsetX and ScreenOffsetY properties on the CloudPopup and CustomPopup classes has been renamed to OffsetXInPixels and OffsetYInPixels.
In Version 3.0.131:
CloudPopup samplePopup = new CloudPopup("samplePopup", position, contentHtml.ToString(), 400, 290); samplePopup.ScreenOffsetX = 10; samplePopup.ScreenOffsetY = 10; Map1.Popups.Add(samplePopup);
In Version 3.1.0:
CloudPopup samplePopup = new CloudPopup("samplePopup", position, contentHtml.ToString(), 400, 290); samplePopup.OffsetXInPixels = 10; samplePopup.OffsetYInPixels = 10; Map1.Popups.Add(samplePopup);
Description:
In version 3.1.0, the ClickTarget property on the ContextMenuItemClickEventArgs class has been removed.