juju
juju

Reputation: 449

Angular Google maps - running custom directive

I am using Angular google maps and my map and marker data is getting loaded properly. When you click on the marker some profile data is loaded:

enter image description here

The profile image has a directive that should add a fall back image if the actual profile image does not exist. However, the directive is not run at all and so no fall back image is provided. Here's the html:

<img src="https://localhost/manager/photo/?repId=123" fallback-src="https://localhost/styles/core/images/avatarprofile.svg" class="photoImg">

The directive is working on my own pages, just not on the angular google map. What am I missing?

Upvotes: 0

Views: 254

Answers (1)

dhavalcengg
dhavalcengg

Reputation: 4713

angular google map is just a wrapper on google map. It will not compile your tooltip html. It will just inject it.

So your directive will not work in angular google map tooltip.

Upvotes: 1

Related Questions