Farm Gate Location
A Location represents an address. Locations appear on the map, because they have the Long-Lat property.
The Administrator can create Locations as part of this application. Locations with a valid longitude/latitude appear on the Farm Gate map.
Properties
- Subject - the name of the Location.
- ToolTip - a description of the Location. This is used as a mouse-over tool tip on the web page.
- County - the County that the business resides in.
- Address - the place for the Location.
- Long_Lat - the longitude and latitude of the location.
Methods
- Delete_Location() - an Administrator command to delete the Location.
- Set_Open() - an administrator command for setting the location to open from the closed state
- Set_Closed() - an Administrator command for setting the location to closed from an open state.
States
States may be used in Web Parts to filter what gets displayed.
- Open - the location is open.
- Closed - the location is closed and is not displayed on the map.