0

I was just going through the code of angular-openlayers-directive HERE , now i see alot of checks like below:

if (isDefined(attrs.width)) {

now isDefined is obviously a function and attrs.width is the parameter being passed, But where is this function isDefined defined and most importantly how can i find it ?

2
  • You have it in here link Commented Oct 21, 2015 at 7:32
  • Here is a link to Angular Documentarion Commented Oct 21, 2015 at 7:33

1 Answer 1

1

The function isDefined is injected into the directive as part of the olHelpers service.

You can find it in angularjs-openlayers-directive > src > services > olHelpers.js

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.