![]() (Status) Should exist and be selected using the Values tool in the Widget Properties ribbon. If your widget is to have a ZoomLevel parameter, it must also have the three preceding parameters. Not all parameters need be created, but none can be skipped from the middle of the list. Parameter names need not match those shown here, but you are advised to use these names for clarity and simplicity. Give your widget the following parameters to take advantage of all the available features. Within the properties dialog of the Site Icon, change "Tag" to "Linked Tag Property". If the widget is to indicate an alarm, or if the operator is to be able to click your custom widget to open a site map, then include a Site Icon. The center's location is calculated using the bounding box of all graphics that make up the whole. The center of the new site icon's bounding box will be used as the pin location when shown on a map. It uses a pin image that has a transparent background. The default icon is approximately 30x30 pixels in size. You may wish to keep the following details of the default pin shape in mind while creating your new icon: Note that this is the name of the widget, matching the file it is stored in. The widget must have been named and therefore stored in a file name, "CustomMapIcon".To use the icon for all sites of all types: Set the value of the property to the widget name.Name the property after the type of tag you are configuring by putting the type name in front of the keyword, "MapIconName".įor example, PollingMapIconName or ContextTagMapIconName.Use the Basic Mode of the Application Configuration dialog to Add a Property to the section of your Settings.Dynamic file.Similarly, widget names in code will match the file name of the widget, and may differ from the displayed name.) ** For the following, note that the type name for a tag may differ from the name displayed in the Tag Browser. To use the icon for all instances of a given type of site Set the Custom Map icon property to the name of your widget.Ensure that the icon widget can be linked to all the child tag types.Ensure that the parent tag has been assigned the site display parameters.To use the icon for a group of sites that are the children or grandchildren of a specific Context tag: If the site is a custom type, ensure that the type definition includes site parameters, including Custom Map Icon. Note: this assumes that, when creating the widget, you configured it to be a tag-widget for the type of site you are now trying to configure. Within the Display tab, choose the custom map icon widget.To use the icon for a specific site that has display / site properties. There are four ways to select the custom map icon:Īfter changing the selected icon, you may need to refresh the map or update a site's location before the new icon will load in place of the old. Instruct your site tag to use that widget instead of the built-in pin using one of the following methods. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |