Start a new topic
Answered

Select location on a map and save coordinates

Is it possible to choose location from map element in Semarchy and save latitude and longitude based on the selection?


Best Answer

This not possible with Semarchy xDM.


This is a good question, and you should think of it in the broader context of any sort of custom widgets to allow user input. I think it's unlikely Semarchy would ship a "map" component for this use case out of the box. But the generalized idea of custom components is very intriguing. For now the xDM interface is much more strongly on the side of making it easy for a developer to expose attributes in the UI for a data steward. But there isn't this idea of building your own custom UI component.

This contrasts with the idea that you can embed HTML to display data. You can certainly embed maps, and this even includes complex maps with multiple markers and routes.

It also contrasts with enrichers and validators that offer the ability to plug-in custom code either through calling a REST endpoint or through writing a Java plug-in.

So this idea of custom UI components for data entry is interesting. It was been discussed internally at Semarchy before. The effort for the developer to write such a component could be high. But potentially the benefit is high as well.

If this is a high-priority enhancement for you, your next step should be to log a case on the Support Portal. That will ensure that your request gets tracked. And you would be notified if the feature is added, etc.

Thanks for the question!



1 Comment

Answer

This not possible with Semarchy xDM.


This is a good question, and you should think of it in the broader context of any sort of custom widgets to allow user input. I think it's unlikely Semarchy would ship a "map" component for this use case out of the box. But the generalized idea of custom components is very intriguing. For now the xDM interface is much more strongly on the side of making it easy for a developer to expose attributes in the UI for a data steward. But there isn't this idea of building your own custom UI component.

This contrasts with the idea that you can embed HTML to display data. You can certainly embed maps, and this even includes complex maps with multiple markers and routes.

It also contrasts with enrichers and validators that offer the ability to plug-in custom code either through calling a REST endpoint or through writing a Java plug-in.

So this idea of custom UI components for data entry is interesting. It was been discussed internally at Semarchy before. The effort for the developer to write such a component could be high. But potentially the benefit is high as well.

If this is a high-priority enhancement for you, your next step should be to log a case on the Support Portal. That will ensure that your request gets tracked. And you would be notified if the feature is added, etc.

Thanks for the question!



Login to post a comment