javalent / obsidian-leaflet

Adds interactive maps to Obsidian.md using Leaflet.js
481 stars 29 forks source link

Two Bug:For the same statement, 'marker' and 'mapmarkers' tags display different contents in the hover window. #349

Closed cloudherder closed 1 year ago

cloudherder commented 1 year ago

1.‘mapmarkers’ tag cannot be applied to a leafet block. e.g. In leafet block,it is display the location like below: marker: default,[36.1244629216273,114.31799054145814],[[BC1400-1100,Yin Xu in Anyang]] It can not display the location like below: mapmarkers:

2.For the same statement, 'marker' and 'mapmarkers' tags display different contents in the hover window. The marker tag is displayed correctly, and mapmarkers displays markFile. e.g. In leafet block,the hover window display the note [[BC1400-1100,Yin Xu in Anyang]]: marker: default,[36.1244629216273,114.31799054145814],[[BC1400-1100,Yin Xu in Anyang]] when write it to 'test' note as markerFile ike : mapmarkers: