forked from 0x2620/oxjs
Ox.Map: add markerTooltip option (custom format function)
This commit is contained in:
parent
6f545969e4
commit
3e57cbd785
2 changed files with 5 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ Ox.MapMarker = function(options) {
|
|||
+ Ox.getFlagByGeoname(that.place.geoname, 16)
|
||||
+ '" style="float: left; margin: 1px 0 1px -1px; border-radius: 4px"/>'
|
||||
+ '<div style="float: left; margin: 4px -1px 0 4px; font-size: 9px;">'
|
||||
+ (that.place.name || '<span class="OxLight">Unnamed</span>') + '</div>'
|
||||
+ that.map.options('markerTooltip')(that.place) + '</div>'
|
||||
})
|
||||
.addClass('OxMapMarkerTooltip');
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue