-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Highway layer map popup enhancement | PSP-8332 #4230
Highway layer map popup enhancement | PSP-8332 #4230
Conversation
…pagination for each source
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
1 similar comment
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
setLayerPopup({ | ||
latlng: mapMachine.mapLocationFeatureDataset.location, | ||
layers: layersData, | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see duplicated calls to "setLayerPopup()" here and later on line 112...
Given that we are already calling it in line 112 - could this call be removed?
}, | ||
MOTI_PLAN: { label: 'MOTI plan', display: (data: { [key: string]: any }) => data.MOTI_PLAN }, | ||
VETTING_STATUS: { | ||
label: 'Venting Status', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: venting -> vetting
}, | ||
SHAPE_TYPE: { label: 'Shape type', display: (data: { [key: string]: any }) => data.SHAPE_TYPE }, | ||
PENDING_CLASSIFICATION: { | ||
label: 'Pending clasification', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: clasification -> classification
* API wrapper to centralize all AJAX requests to WFS endpoints for the pims property location. | ||
* @returns Object containing functions to make requests to the WFS layer. | ||
* Note: according to the view ISS_ProvincialPublicHighway |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"...WFS endpoints for the pims property location" -> "... for the highway layer locations"
|
||
import { ISS_ProvincialPublicHighway } from '../models/layers/pimsHighwayLayer'; | ||
|
||
const getFakeISSResult: () => FeatureCollection<Geometry, ISS_ProvincialPublicHighway> = () => ({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: we have been calling these functions "getMock..." instead of "getFake..." - would appreciate keeping it consistent
✅ No secrets were detected in the code. |
✅ No secrets were detected in the code. |
Added Highway layer provider and types.
Updated map flyout to have a pagination for each source