A mouse coordinate plugin for maptalks.
var mouseCoordinate = new maptalks.MouseCoordinate().addTo(map)
Option | Type | Default |
---|---|---|
position |
String or Object | {bottom: 0, right: 0 } |
precision |
Number | 5 |
style |
Object | {padding: '0 5px', backgroundColor: 'rgba(255,255,255,0.7)', fontSize: '13px'} |
MIT License.