I would like to know how to customize the following popup
that is raised in the I <layer:entity-field>
found the function fnPrepareInfo
inside layer
but I don't know if that would be the function that I am needing and I don't know how to use it, if you could help me. I would like to show only some fields of my entity, for example:Codigo - Nombre - Latitud -Longitud
You are going for the good way ;-).
To customize the layer information you need to define a function in the map's .jspx file :
and in the layer tag add the property:
As an example you can see the function that is used by default to generate the popup in leaflet.ext.gvnix.map.js function createLayerInfoString
Luck!