Skip to content

Commit

Permalink
Merge pull request yourcelf#96 from versae/master
Browse files Browse the repository at this point in the history
Storing the object olwidget.InfoMap into a variable
  • Loading branch information
yourcelf committed Apr 3, 2012
2 parents af7a98f + df8eb6d commit 099ea68
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="{{ id }}"></div>
{{ layer_html|join:"" }}
<script type="text/javascript">
new olwidget.Map("{{ id }}", [
var olwidget_{{ id }} = new olwidget.Map("{{ id }}", [
{{ layer_js|join:"," }}
],
{{ map_opts|safe }}
Expand Down

0 comments on commit 099ea68

Please sign in to comment.