[PR #515] [CLOSED] added ability to customize markers and default cursor #2215

Open
opened 2026-01-29 18:17:47 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/radzenhq/radzen-blazor/pull/515
Author: @sawcheg
Created: 7/8/2022
Status: Closed

Base: masterHead: customize-map-icons


📝 Commits (10+)

  • 7a7e33b added ability to customize markers and default cursor
  • 900d69f fixed for long map loading
  • c5a729f added info window when marker is clicked + option to block update of map component
  • d1a7218 Revert "fixed for long map loading"
  • 84631a7 removed underscores in the middle of variable names
  • a592d95 object with options can be passed directly to customMap JS function
  • 916b15c Merge branch 'master' into customize-map-icons
  • c1e17d6 invoke StateHasChanged on map component when custom option changed
  • fa0cfbf Added usage example of property IsShouldRender to demo page
  • f88855f Revert "Added usage example of property IsShouldRender to demo page"

📊 Changes

8 files changed (+182 additions, -16 deletions)

View changed files

📝 Radzen.Blazor/Common.cs (+28 -2)
Radzen.Blazor/CustomJsOptionAttribute.cs (+15 -0)
📝 Radzen.Blazor/RadzenGoogleMap.razor.cs (+50 -8)
📝 Radzen.Blazor/RadzenGoogleMapMarker.cs (+59 -3)
📝 Radzen.Blazor/wwwroot/Radzen.Blazor.js (+12 -1)
📝 RadzenBlazorDemos/Pages/GoogleMapPage.razor (+18 -2)
RadzenBlazorDemos/wwwroot/images/find-location.png (+0 -0)
RadzenBlazorDemos/wwwroot/images/map-icon-blue.png (+0 -0)

📄 Description

  1. added parameter IconSrc in RadzenGoogleMapMarker for customize markers
  2. added parameter DraggingCursor in RadzenGoogleMap for customize default cursor
  3. modified page in demo project for use case

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/radzenhq/radzen-blazor/pull/515 **Author:** [@sawcheg](https://github.com/sawcheg) **Created:** 7/8/2022 **Status:** ❌ Closed **Base:** `master` ← **Head:** `customize-map-icons` --- ### 📝 Commits (10+) - [`7a7e33b`](https://github.com/radzenhq/radzen-blazor/commit/7a7e33bb6b318cbc1ba97996c85e99acff39eb33) added ability to customize markers and default cursor - [`900d69f`](https://github.com/radzenhq/radzen-blazor/commit/900d69f6adeab7e3bf1594f30a432295ab692f92) fixed for long map loading - [`c5a729f`](https://github.com/radzenhq/radzen-blazor/commit/c5a729fd6cace67246ee57f7fba3b5f9c8aaccc3) added info window when marker is clicked + option to block update of map component - [`d1a7218`](https://github.com/radzenhq/radzen-blazor/commit/d1a7218c1b0550330b8927c8144c6db75f12e94d) Revert "fixed for long map loading" - [`84631a7`](https://github.com/radzenhq/radzen-blazor/commit/84631a705227fdcdc2e96e68646cbfaacceb2fe5) removed underscores in the middle of variable names - [`a592d95`](https://github.com/radzenhq/radzen-blazor/commit/a592d952439454dafef7232b7a4c796f3965feb3) object with options can be passed directly to customMap JS function - [`916b15c`](https://github.com/radzenhq/radzen-blazor/commit/916b15c8cdabaa02ec8c2595b5d92716791571f5) Merge branch 'master' into customize-map-icons - [`c1e17d6`](https://github.com/radzenhq/radzen-blazor/commit/c1e17d68d1ffc11f259cafde0610ee8a5435f73f) invoke StateHasChanged on map component when custom option changed - [`fa0cfbf`](https://github.com/radzenhq/radzen-blazor/commit/fa0cfbf5c5921be7e038024d0d9170aadf38c77e) Added usage example of property IsShouldRender to demo page - [`f88855f`](https://github.com/radzenhq/radzen-blazor/commit/f88855faa52015cea9c26767cf9a0200f694119c) Revert "Added usage example of property IsShouldRender to demo page" ### 📊 Changes **8 files changed** (+182 additions, -16 deletions) <details> <summary>View changed files</summary> 📝 `Radzen.Blazor/Common.cs` (+28 -2) ➕ `Radzen.Blazor/CustomJsOptionAttribute.cs` (+15 -0) 📝 `Radzen.Blazor/RadzenGoogleMap.razor.cs` (+50 -8) 📝 `Radzen.Blazor/RadzenGoogleMapMarker.cs` (+59 -3) 📝 `Radzen.Blazor/wwwroot/Radzen.Blazor.js` (+12 -1) 📝 `RadzenBlazorDemos/Pages/GoogleMapPage.razor` (+18 -2) ➕ `RadzenBlazorDemos/wwwroot/images/find-location.png` (+0 -0) ➕ `RadzenBlazorDemos/wwwroot/images/map-icon-blue.png` (+0 -0) </details> ### 📄 Description 1. added parameter IconSrc in RadzenGoogleMapMarker for customize markers 2. added parameter DraggingCursor in RadzenGoogleMap for customize default cursor 3. modified page in demo project for use case --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-29 18:17:47 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/radzen-blazor#2215