1

I am following this tutorial to incorporate Google Maps Javascript APIv3 into my application. It uses isolate, which throws this error:

Uncaught Error: No such template: isolate

This is not in the current documentation and Google is surprisingly unhelpful. The questions on StackOverFlow is outdated and probably not apply anymore. Apparently Blaze has made {{#constant}} and {{#isolate}} obsolete. What has replaced isolate?

Community
  • 1
  • 1
dayuloli
  • 16,205
  • 16
  • 71
  • 126

1 Answers1

2

isolate was a hack to work around the fact that spark would constantly re-render elements that it shouldn't. There is no replacement, because the blaze rendering engine simply does the right thing. Also see this wiki.

When reading an old tutorial, you should ignore any lines which contain constant, isolate, or preserve, though if it's that old you will likely encounter other problems which will be outside the scope of this answer.

David Weldon
  • 63,632
  • 11
  • 148
  • 146
  • Thanks for your answer. I've abandoned the tutorial and found a much simpler way to implement it. Thanks! – dayuloli Dec 11 '14 at 09:20