Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error #32

Open
bushev opened this issue Oct 15, 2014 · 2 comments
Open

Compile error #32

bushev opened this issue Oct 15, 2014 · 2 comments

Comments

@bushev
Copy link

bushev commented Oct 15, 2014

Hello!

How to fix this?

"Controller 'yaMap', required by directive 'yaGeoObject', can't be found!"

yaMap does'n used in this directive, can I remove "yaMap" from require statement?

@bushev bushev changed the title Compine error Compile error Oct 15, 2014
@bushev
Copy link
Author

bushev commented Oct 15, 2014

Occures with '' in HTML code:

<ya-map ya-zoom="10" ya-controls="smallMapDefaultSet" ya-center="{{yaMap.center}}">
    <ya-cluster>
        <ya-geo-object ng-repeat="o in yaMap.geoObjects" ya-source="o"></ya-geo-object>
    </ya-cluster>
</ya-map>

@LennyLip
Copy link

LennyLip commented Aug 3, 2015

Change yaMap.geoObjects to geoObjects (which must located in $scope).

geoObjects just a variable.

I think it's not a bug,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants