You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This leads to the situation for the us_mill_en map that the label position is wrong when the map is loaded, but is fixed when the map is zoomed or panned.
It can be fixed by calling updateLabelPosition in the constructor.
The text was updated successfully, but these errors were encountered:
jorrit
added a commit
to jorrit/jvectormap
that referenced
this issue
Mar 9, 2015
The initial coordinates of marker label is determined in the Marker class constructor:
While in
updateLabelPosition
the position is determined using a more complex calculation:This leads to the situation for the us_mill_en map that the label position is wrong when the map is loaded, but is fixed when the map is zoomed or panned.
It can be fixed by calling
updateLabelPosition
in the constructor.The text was updated successfully, but these errors were encountered: