IEEE.org
|
IEEE Xplore Digital Library
|
IEEE Standards
|
IEEE Spectrum
|
More Sites
Skip to content
GitLab
Menu
Projects
Groups
Snippets
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
785bad65
Commit
785bad65
authored
Mar 31, 2020
by
jedjas12
Browse files
Removed extra controls, changed to posting Dev1, circle works
parent
af2e6442
Changes
2
Hide whitespace changes
Inline
Side-by-side
salesforce/my-conservation-life/force-app/main/default/lwc/geoQuery/geoQuery.js
View file @
785bad65
...
...
@@ -100,7 +100,7 @@ export default class GeoQuery extends LightningElement {
console
.
log
(
'
Getting:
'
+
distanceURL
.
href
);
// Send out the GET request
this
.
assetsPromise
=
utils
.
ge
t
(
distanceURL
.
href
);
this
.
assetsPromise
=
utils
.
pos
t
(
distanceURL
.
href
);
// When the promise is fulfilled handle it
this
.
assetsPromise
.
then
(
response
=>
{
...
...
salesforce/my-conservation-life/force-app/main/default/lwc/map/map.js
View file @
785bad65
...
...
@@ -52,6 +52,14 @@ export default class Map extends LightningElement {
var
drawControl
=
new
L
.
Control
.
Draw
({
edit
:
{
featureGroup
:
drawnItems
},
draw
:
{
polygon
:
{
allowIntersection
:
false
},
polyline
:
false
,
marker
:
false
,
circlemarker
:
false
}
});
this
.
map
.
addControl
(
drawControl
);
...
...
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