Create a custom form google map picker for content type

2025/10/20 2:37 AM

Hello,

Is there a way we can configure this on XByK 30.6.0? Was there a library available for this? Thank you in advance.


Environment

  • Xperience by Kentico version: [30.6.0]

  • .NET version: [8]

  • Execution environment: [SaaS|Private cloud (Azure/AWS/Virtual machine)]

  • Link to relevant Xperience by Kentico documentation

Tags:
Kentico v30.6.0 .NET

Answers

2025/10/20 6:16 AM

I made this component a while ago, it doesn’t use Google maps in the admin site, it uses Leaflet and OpenStreetMap instead to record a latitude and longitude value against the widget or content type.

You could use this component yourself, and then still render a Google Map on the front-end if that’s your preferred map tool.

Or, you can use the source code of my map component and swap out the Leaflet/OpenStreetMap code for a Google map alternative.

I don’t think I added a search function though, so this would need to be added either to my component or the new component you create. I’m happy to receive pull requests if you’d prefer to contribute.

2025/10/20 8:21 AM

This looks great. Thank you for sharing it I’ll take a look.

To response this discussion, you have to login first.