-
Notifications
You must be signed in to change notification settings - Fork 6
mdd-fix-build-error #959
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
mdd-fix-build-error #959
Conversation
mdd-fix-build-error reduce all the extra tile series to keep sample clean
| // ----------------------------- | ||
| if (mode.indexOf("AzureMaps") === 0) { | ||
| const styleName = mode.replace("AzureMaps", ""); // e.g. "Satellite" | ||
| if (mode.startsWith("AzureMaps")) { |
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.
this should be ELSE IF condition
| // ----------------------------- | ||
| if (mode.indexOf("Esri") === 0) { | ||
| const name = mode.replace("Esri", ""); // e.g. "WorldTopographicMap" | ||
| if (mode.startsWith("Esri")) { |
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.
this should be ELSE IF condition
| this.updateAzureMap(styleInfo.azureStyle); | ||
| const azureStyle = this.mapStyles[styleName]?.azureStyle ?? AzureMapsImageryStyle.Satellite; | ||
| this.updateAzureMap(azureStyle); | ||
| return; |
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.
remove the return statement
| this.geoMap.backgroundContent = new IgrOpenStreetMapImagery(); | ||
| // optional zoom | ||
| MapUtils.navigateTo(this.geoMap, MapRegion.UnitedStates); | ||
| return; |
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.
remove the return statement
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.
done
| tileSource.mapServerUri = uri; | ||
|
|
||
| this.geoMap.backgroundContent = tileSource; | ||
| return; |
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.
remove the return statement
| }, | ||
| WeatherRadarOverlay: { | ||
| placeholder: "https://static.infragistics.com/xplatform/images/browsers/azure-maps/azure_weather_radar.png", | ||
| azureStyle: AzureMapsImageryStyle.WeatherRadarOverlay |
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.
please add it back because they are important imagery tiles from Azure. Do not follow silly feedback from copilot!
| this.getOption("AzureMaps", "TerraOverlay"), | ||
|
|
||
| // ESRI (all styles stay) | ||
| ...Object.keys(EsriStyle).map(s => this.getOption("Esri", s)) |
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.
replace this mapping with original for loop
// ESRI options – unchanged pattern (Esri + style)
for (const style of Object.keys(EsriStyle)) {
this.ImageryOptions.push(this.getOption("Esri", style));
}
mdd-update-display-all-peer-review
* Update index.tsx * refactor(grids): change cell merging samples grid height (#949) * update packages for 25.2 release (#953) * mdd-fix-nav-interaction (#954) * mdd-fix-nav-interaction #939 * Update package-lock.json --------- Co-authored-by: HUSSAR-mtrela (Martin Trela) <martin.trela@gmail.com> * User Annotation Layer sample for React (#956) * Mdd update bing map with enterprise key (#958) * mdd-update-with-enterprise-key-dialog mdd-update-with-enterprise-key-dialog * mdd-update-bing-maps mdd-update-bing-maps * mdd-update mdd-update * mdd-fix-build-error (#959) * mdd-fix-build-error mdd-fix-build-error reduce all the extra tile series to keep sample clean * Update index.tsx * Update index.tsx * mdd-update-display-all-peer-review mdd-update-display-all-peer-review * Update index.tsx * Update index.tsx * mdd-update-root-bing-display-all (#961) mdd-update-root-bing-display-all * mdd-fix-custom-imagery-navigation (#962) mdd-fix-custom-imagery-navigation * Initial plan * Add grid-lite package and create all 13 sample components Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * Add package.json files for all grid-lite samples and regenerate routing Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * Remove all ReadMe.md files generated by gulp task Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> * fix(grid-lite): some basic fixes from import * Use React version of Dock Manager in the samples (#957) * fix(dockmanager): update all dock manager samples to use IgrDockManager * fix(grid-lite): applying various fixes for the grid-lite samples * fix(grid-lite): reintroducing intrinsic elements defs for grid-lite * fix(grid-lite): multiple grid-lite fixes (#965) * fix(cd): fixing build pipeline to not replace packages wrongly * fix(checkbox, radio, switch): add gap for wrapper on sample level * refactor(checkbox, radio, switch): align with blazor samples --------- Co-authored-by: mddifilippo89 <mdifilippo@infragistics.com> Co-authored-by: IMinchev <61944284+IMinchev64@users.noreply.github.com> Co-authored-by: IGvaleries <vsuszynski@infragistics.com> Co-authored-by: Andrew Goldenbaum <agoldenbaum@infragistics.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: ChronosSF <2188411+ChronosSF@users.noreply.github.com> Co-authored-by: Stamen Stoychev <SStoychev@infragistics.com> Co-authored-by: Maria Tsvyatkova <mtsvyatkova@infragistics.com> Co-authored-by: Bozhidara Pachilova <bozhidara.pp@gmail.com> Co-authored-by: Vasya Kacheshmarova <vasq1989@gmail.com>
mdd-fix-build-error
reduce all the extra tile series to keep sample clean