Skip to content

Conversation

@mddifilippo89
Copy link
Member

mdd-fix-build-error
reduce all the extra tile series to keep sample clean

mdd-fix-build-error
reduce all the extra tile series to keep sample clean
@mddifilippo89 mddifilippo89 added the status: in-review PR is ready for review label Nov 20, 2025

This comment was marked as outdated.

@IgniteUI IgniteUI deleted a comment from Copilot AI Nov 20, 2025
// -----------------------------
if (mode.indexOf("AzureMaps") === 0) {
const styleName = mode.replace("AzureMaps", ""); // e.g. "Satellite"
if (mode.startsWith("AzureMaps")) {
Copy link
Collaborator

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")) {
Copy link
Collaborator

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;
Copy link
Collaborator

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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove the return statement

Copy link
Member Author

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;
Copy link
Collaborator

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
Copy link
Collaborator

@HUSSAR-mtrela HUSSAR-mtrela Nov 20, 2025

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))
Copy link
Collaborator

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));
        }

@HUSSAR-mtrela HUSSAR-mtrela merged commit ac36fbc into vnext Nov 20, 2025
3 of 5 checks passed
@HUSSAR-mtrela HUSSAR-mtrela deleted the mdd-fix-react-bing-changes branch November 20, 2025 16:57
HUSSAR-mtrela added a commit that referenced this pull request Nov 26, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: in-review PR is ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants