Skip to content

Commit

Permalink
[BUG] use getirstCoordinates() #101
Browse files Browse the repository at this point in the history
  • Loading branch information
Viglino committed Apr 18, 2018
1 parent 9cfd0d5 commit b43d21a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/popup/map.popup.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ <h2>Options:</h2>
var content = "";
content += "<img src='"+feature.get("img")+"'/>";
content += feature.get("text");
popup.show(feature.getGeometry().getCoordinates(), content);
popup.show(feature.getGeometry().getFirstCoordinate(), content);
})
select.getFeatures().on(['remove'], function(e)
{ popup.hide();
Expand Down

0 comments on commit b43d21a

Please sign in to comment.