First you will have to describe your setup.
Which elements were used?
Your MAP – > is embedded inside an HMTL-Component, or did you use a CUSTOM-ELEMENT? Another element?
And perhaps an exerpt of your DATABASE and related DB-FIELDS?
Describe your setup and all used elements in your project.