Hello! I am asking myself if is possible to create my own formfields? Problem is: I created a class called "Location" which extends ModelAdmin. There are two fields Latitude and Longitude. Now I would like to show a map below the form, where I can move the marker to a specific position. Aftere that the coordinates can be copied into langitude and longitude textfield.
new GeocodingField( [mapname], [name of Latitude field in form], [name of Longitude field in form], [google api key] )
I had a look at the label field, since this field does not have any database action. But I need a better understanding of whats going on inside the class and I need to know, if this is a recommended way to solve this problem?
Maybe there is a better way and I donÂ´t see it at the moment? Thanks for your help!