Skip to content

Commit

Permalink
popups with text
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaslara committed Jan 24, 2012
1 parent 2959257 commit a5f04ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geotagging/static/js/app/Spot.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $$.SpotView = Backbone.View.extend({
this.feature.popupClass = OpenLayers.Class(OpenLayers.Popup.Anchored, {
'autoSize': true
});
this.feature.data.popupContentHTML = '<h2>test</h2><p>Hello World!</p>';
this.feature.data.popupContentHTML = this.model.get('title');
this.feature.data.overflow = "auto";
this.feature.data.icon = this.getIcon();

Expand Down

0 comments on commit a5f04ff

Please sign in to comment.