-
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.
Update azmaps access token location (#464)
* Use data endpoint for map config The map config for azmaps key has been moved to a DATA_URL endpoint. Also adds a loading indicator as this could create some latency between page load and map load. * Update workflow build configuration Remove unused keys from build and allow comments from workflows to get staging URL links. * Update perm key GH docs listed _ when - was required. * Switch back to compose env settings .env is not checked in. Removes AZMAPS_KEY * Use auth method for inset map * Format * Set azmaps client id during ci build
- Loading branch information
1 parent
64e3319
commit 2f2a35e
Showing
9 changed files
with
41 additions
and
14 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
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
19 changes: 19 additions & 0 deletions
19
src/pages/Explore/components/Map/components/MapReadyIndicator/index.tsx
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,19 @@ | ||
import { Spinner, SpinnerSize } from "@fluentui/react"; | ||
|
||
interface MapReadyIndicatorProps { | ||
isMapReady: boolean; | ||
} | ||
|
||
const MapReadyIndicator: React.FC<MapReadyIndicatorProps> = ({ isMapReady }) => { | ||
if (isMapReady) { | ||
return null; | ||
} | ||
|
||
return ( | ||
<div style={{ top: "50vh", left: "60vw", zIndex: 1, position: "fixed" }}> | ||
<Spinner size={SpinnerSize.large} /> | ||
</div> | ||
); | ||
}; | ||
|
||
export default MapReadyIndicator; |
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