Skip to content

Commit

Permalink
Label: bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ynunokawa committed Jun 10, 2016
1 parent 81bf869 commit b13a7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/L.esri.WebMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ L.esri.WebMap = L.Evented.extend({
var labelPos;
var labelClassName;
if(l.feature.geometry.type === 'Point') {
labelPos = l.feature.geometry.coordinates;
labelPos = l.feature.geometry.coordinates.reverse();
labelClassName = 'point-label';
}
else if(l.feature.geometry.type === 'LineString') {
Expand Down

0 comments on commit b13a7e9

Please sign in to comment.