This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
thinkgeo.mapsuite.mvcedition.marker [2015/08/20 03:08] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== ThinkGeo.MapSuite.MvcEdition.Marker ====== | ||
| - | |||
| - | |||
| - | |||
| - | <!-- Class --> | ||
| - | Represents a small icon on the map that is used for marking a point. | ||
| - | ===== Inheritance Hierarchy ===== | ||
| - | *System.Object | ||
| - | **[[ThinkGeo.MapSuite.MvcEdition.Marker]] | ||
| - | ===== Members Summary ===== | ||
| - | ==== Public Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker()|Marker]] | | | Initialize a new instance of the Marker class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker(WebImage)|Marker]] | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]] | | Initialize a new instance of the Marker class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker(Double, Double)|Marker]] | Double, Double | | Initialize a new instance of the Marker class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker(Double, Double, WebImage)|Marker]] | Double, Double, [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]] | | Initialize a new instance of the Marker class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker(PointShape)|Marker]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | Initialize a new instance of the Marker class. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Marker(PointShape, WebImage)|Marker]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]], [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]] | | Initialize a new instance of the Marker class. | | ||
| - | |||
| - | ==== Protected Constructors ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#FromJson(String)|FromJson]] | String | | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToJson()|ToJson]] | | | Returns a JSON string that contains the information for creating a marker at the client side. | | ||
| - | | {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | | | ||
| - | |||
| - | ==== Protected Methods ==== | ||
| - | ^ Name ^ Parameters ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | | | ||
| - | | {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | | | ||
| - | |||
| - | ==== Public Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#ContextMenu|ContextMenu]] | [[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]] | | Gets or sets the shortcut menu associated with the marker. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Id|Id]] | String | | Gets or sets a string that represents the unique identifier for this marker. When you add marker into markers collection, it's also the key to find it back, Marker is a virtual control, and we don't allowed to add the same marker in this collection for many times like normal controls. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#IsVisible|IsVisible]] | Boolean | | This property gets or sets the visibily of marker. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Opacity|Opacity]] | Single | | Gets or sets a float value between 0 and 1 that indicates the transparency level of the marker. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Popup|Popup]] | [[ThinkGeo.MapSuite.MvcEdition.CustomPopup|CustomPopup]] | | Gets or sets the shortcut menu associated with the marker. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#PopupDelay|PopupDelay]] | Int32 | | Gets or sets a value indicating the interval that should elapse between when the mouse moves over the marker and when its popup window displays. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#Position|Position]] | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]] | | Gets or sets a PointShape object that represents the current location of the marker. | | ||
| - | | {{wiki:PublicProperty.gif|Public Property}}[[#WebImage|WebImage]] | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]] | | Gets or sets a GeoIcon object that determines the appearance of the marker. | | ||
| - | |||
| - | ==== Protected Properties ==== | ||
| - | ^ Name ^ Return ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ==== Public Events ==== | ||
| - | ^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^ | ||
| - | |||
| - | ===== Public Constructors ===== | ||
| - | ==== Marker() ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Overloads === | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== Marker(WebImage) ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | webImage | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]]<!-- ThinkGeo.MapSuite.MvcEdition.WebImage --> | The icon for the marker. | | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== Marker(Double, Double) ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | x | Double<!-- System.Double --> | The X coordinate of the marker. | | ||
| - | | y | Double<!-- System.Double --> | The Y coordinate of the marker. | | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== Marker(Double, Double, WebImage) ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | x | Double<!-- System.Double --> | The X coordinate of the marker. | | ||
| - | | y | Double<!-- System.Double --> | The Y coordinate of the marker. | | ||
| - | | webImage | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]]<!-- ThinkGeo.MapSuite.MvcEdition.WebImage --> | The icon for the marker. | | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== Marker(PointShape) ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | position | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The position of the marker. | | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ==== Marker(PointShape, WebImage) ==== | ||
| - | Initialize a new instance of the Marker class. | ||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | position | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | The position of the marker. | | ||
| - | | webImage | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]]<!-- ThinkGeo.MapSuite.MvcEdition.WebImage --> | The icon for the marker. | | ||
| - | |||
| - | [[#Public Constructors|Go Back]] | ||
| - | ===== Protected Constructors ===== | ||
| - | ===== Public Methods ===== | ||
| - | ==== Equals(Object) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Boolean<!-- System.Boolean --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | obj | Object<!-- System.Object --> | | | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== FromJson(String) ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | | jsonString | String<!-- System.String --> | | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetHashCode() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Int32<!-- System.Int32 --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== GetType() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Type<!-- System.Type --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToJson() ==== | ||
| - | Returns a JSON string that contains the information for creating a marker at the client side. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | A JSON string that is used to create a marker at the client side. | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ==== ToString() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | String<!-- System.String --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Public Methods|Go Back]] | ||
| - | ===== Protected Methods ===== | ||
| - | ==== Finalize() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Void<!-- System.Void --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ==== MemberwiseClone() ==== | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ Description ^ | ||
| - | | Object<!-- System.Object --> | | | ||
| - | |||
| - | === Parameters === | ||
| - | ^ Name ^ Type ^ Description ^ | ||
| - | |||
| - | <!-- System.Object --> | ||
| - | [[#Protected Methods|Go Back]] | ||
| - | ===== Public Properties ===== | ||
| - | ==== ContextMenu ==== | ||
| - | Gets or sets the shortcut menu associated with the marker. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.MvcEdition.ContextMenu|ContextMenu]]<!-- ThinkGeo.MapSuite.MvcEdition.ContextMenu --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Id ==== | ||
| - | Gets or sets a string that represents the unique identifier for this marker. When you add marker into markers collection, it's also the key to find it back, Marker is a virtual control, and we don't allowed to add the same marker in this collection for many times like normal controls. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | String<!-- System.String --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== IsVisible ==== | ||
| - | This property gets or sets the visibily of marker. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Boolean<!-- System.Boolean --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Opacity ==== | ||
| - | Gets or sets a float value between 0 and 1 that indicates the transparency level of the marker. | ||
| - | === Remarks === | ||
| - | The <strong>Opacity</strong> property enables you to specify a level of transparency for the marker. When this property is set to a value less than 100 percent (1.00), the entire overlay is made more transparent. Setting this property to a value of 0 percent (0.00) makes the marker completely invisible. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Single<!-- System.Single --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Popup ==== | ||
| - | Gets or sets the shortcut menu associated with the marker. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.MvcEdition.CustomPopup|CustomPopup]]<!-- ThinkGeo.MapSuite.MvcEdition.CustomPopup --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== PopupDelay ==== | ||
| - | Gets or sets a value indicating the interval that should elapse between when the mouse moves over the marker and when its popup window displays. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | Int32<!-- System.Int32 --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== Position ==== | ||
| - | Gets or sets a PointShape object that represents the current location of the marker. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.Core.PointShape|PointShape]]<!-- ThinkGeo.MapSuite.Core.PointShape --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ==== WebImage ==== | ||
| - | Gets or sets a GeoIcon object that determines the appearance of the marker. | ||
| - | === Return Value === | ||
| - | ^ Return Type ^ | ||
| - | | [[ThinkGeo.MapSuite.MvcEdition.WebImage|WebImage]]<!-- ThinkGeo.MapSuite.MvcEdition.WebImage --> | | ||
| - | |||
| - | <!-- ThinkGeo.MapSuite.MvcEdition.Marker --> | ||
| - | [[#Public Properties|Go Back]] | ||
| - | ===== Protected Properties ===== | ||
| - | ===== Public Events ===== | ||
| - | __NOTOC__ | ||
| - | [[Category:MvcEdition]] | ||
| - | [[Category:ThinkGeo.MapSuite.MvcEdition]] | ||
| - | [[Category:UpdateDocumentation]] | ||
8501 Wade Blvd Ste 550
Frisco, TX 75034
United States
sales@thinkgeo.com
1-785-727-4133
Online Store
- Desktop
WPF
WinForms
- Web
WebAPI HTML5/JavaScript
ASP.NET MVC
WebForms with AJAX
- Mobile
iOS
Android™
World Street
World Imagery
Routing
Geocoding
Reverse Geocoding
Elevation
Quick Start Guides
Documentation
Blogs
Discussion Forums
Customer Portal
About Us
News & Announcemets
Privacy Policy
Copyright 2003-2017 ThinkGeo LLC.
All rights reserved.