IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Open at RIT
My Conservation Life
Conservation360
Commits
77555244
Commit
77555244
authored
Apr 07, 2020
by
jedjas12
Browse files
Changing var names
parent
cc63190a
Changes
1
Hide whitespace changes
Inline
Side-by-side
salesforce/my-conservation-life/force-app/main/default/lwc/geoQuery/geoQuery.js
View file @
77555244
...
...
@@ -20,8 +20,7 @@ export default class GeoQuery extends LightningElement {
* Starts the download for asset details and bounding box early.
*/
connectedCallback
()
{
this
.
assetsPromise
=
assets
.
find
({
projectId
:
parseInt
(
this
.
projectId
,
10
)
});
this
.
assetsBboxPromise
=
bboxAssets
.
get
(
parseInt
(
this
.
projectId
,
10
));
//Handled elsewhere
}
/**
...
...
@@ -109,9 +108,9 @@ export default class GeoQuery extends LightningElement {
}
// Iterate over the assets and add them to the map
let
i
;
for
(
i
=
0
;
i
<
response
.
length
;
i
++
)
{
const
a
=
response
[
i
];
let
assetIndex
;
for
(
assetIndex
=
0
;
assetIndex
<
response
.
length
;
assetIndex
++
)
{
const
a
=
response
[
assetIndex
];
// Create the map marker, asset type determine the icon
let
m
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment