Show site location on map
show(
uses site
,Name,Value
)icon
displays the site map using additional options
specified by the Name,Value
pairs.
Create and show the default receiver site.
rx = rxsite
rx = rxsite with properties: Name: 'Site 2' Latitude: 42.3021 Longitude: -71.3764 Antenna: 'isotropic' AntennaAngle: 0 AntennaHeight: 1 SystemLoss: 0 ReceiverSensitivity: -100
show(rx)
Create a transmitter site.
tx = txsite('Name','MathWorks Apple Hill',... 'Latitude',42.3001, ... 'Longitude',-71.3504);
Show the transmitter site.
show(tx)
Hide the transmitter site.
hide(tx)
Specify optional
comma-separated pairs of Name,Value
arguments. Name
is
the argument name and Value
is the corresponding value.
Name
must appear inside quotes. You can specify several name and value
pair arguments in any order as
Name1,Value1,...,NameN,ValueN
.
'ClusterMarkers',true
'Icon'
— Image fileImage file, specified as a character vector.
Data Types: char
'IconSize'
— Width and height of icon36
-by-36
(default) | 1-by-2 vector of positive numeric valuesWidth and height of the icon, specified as a 1-by-2 vector of positive numeric values in pixels.
'IconAlignment'
— Vertical position of icon relative to site'center'
| 'bottom'
Vertical position of icon relative to site, specified as:
'bottom
- Aligns the icon below the
site antenna position.
'center'
- Aligns the center of the
icon to the site antenna position.
'top'
- Aligns the icon above the site
antenna position.
'ClusterMarkers'
— Combine nearby markers into groups or clustersCombine nearby markers into groups or clusters, specified as true or false.
Data Types: char
'Map'
— Map for visualization or surface datasiteviewer
object | terrain nameMap for visualization or surface data, specified as the comma-separated pair
consisting of 'Map
and a siteviewer
object or a terrain name. A terrain name may be specified if
the function is called with an output argument. Valid terrain names are
'none'
, 'gmted2010'
, or the name of the custom
terrain data added using addCustomTerrain
. The default value is the current Site Viewer. If no
Site Viewer is open, the default value is a new Site Viewer or else
'gmted2010'
if the function is called with an output
argument.
Data Types: char
| string
You have a modified version of this example. Do you want to open this example with your edits?