PHP Code:
Espo.define('Custom:Views.Contact.Fields.Map', 'Views.Fields.Base', function (Dep) {
return Dep.extend({
template: 'custom:contact.fields.map', // means clients/custom/res/templates/contact/map.tpl,
afterRender: function () {
// your code
},
});
})
I'd rather use two float fields instead of jsonObject.
Leave a comment: