-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add parks closures, formatting on public mobile view (#671)
* Add parks closures, formatting on public mobile view * Set top -1 * Dont forget the px
- Loading branch information
Showing
6 changed files
with
69 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
48 changes: 48 additions & 0 deletions
48
...r/src/main/angular/src/app/services/map-config.service/layers/bc-parks-closures.config.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { layerSettings } from '.'; | ||
|
||
export function ProtectedLandsAccessRestrictionsLayerConfig(res: layerSettings) { | ||
return [ | ||
{ | ||
"type": "wms", | ||
"id": "protected-lands-access-restrictions", | ||
"title": "Protected Lands Access Restrictions", | ||
"serviceUrl": res.openmapsBaseUrl, | ||
"layerName": "pub:WHSE_PARKS.PA_PRTCTD_LND_RSTRCTNS_SV", | ||
"styleName": "", | ||
"titleAttribute": "PROTECTED_LANDS_NAME", | ||
"attributes": [ | ||
{ | ||
"name": "PROTECTED_LANDS_NAME", | ||
"title": "Protected Lands Name" | ||
}, | ||
{ | ||
"name": "ACCESS_STATUS", | ||
"title": "Access Status" | ||
}, | ||
{ | ||
"name": "ACCESS_DETAILS", | ||
"title": "Access Details" | ||
}, | ||
{ | ||
"name": "FACILITIES_CAMPFIRES_IND", | ||
"title": "Facilities - Campfire Indicator" | ||
}, | ||
{ | ||
"name": "CAMPFIRE_BAN_IND", | ||
"title": "Campfire Ban" | ||
}, | ||
{ | ||
"title": "Access Effective Date", | ||
"value": "<%= this.asDate( 'ACCESS_STATUS_EFFECTIVE_DATE' ) %>" | ||
}, | ||
{ | ||
"name": "ACCESS_STATUS_RESCINDED_DATE", | ||
"title": "Access Rescinded Date" | ||
}, | ||
], | ||
"where": "EVENT_TYPE = 'Wildfire'", | ||
"geometryAttribute": "SHAPE", | ||
"popupTemplate": "@wf-feature" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters