set width/height for flag in map marker tooltip

This commit is contained in:
rolux 2013-03-22 20:16:25 +05:30
parent 852641335d
commit 17044e6649

View file

@ -259,7 +259,7 @@ Ox.MapMarker = function(options) {
that.tooltip = Ox.Tooltip({
title: '<img src="'
+ Ox.getFlagByGeoname(that.place.geoname, 16)
+ '" style="float: left; margin: 1px 0 1px -1px; border-radius: 4px"/>'
+ '" style="float: left; width: 16px; height: 16px; margin: 1px 0 1px -1px; border-radius: 4px"/>'
+ '<div style="float: left; margin: 4px -1px 0 4px; font-size: 9px;">'
+ that.map.options('markerTooltip')(that.place) + '</div>'
})