From 4972a01e803fb0c00d462bb2d318717d74932f00 Mon Sep 17 00:00:00 2001 From: Ludovicus Date: Sun, 5 Aug 2018 17:56:16 -0400 Subject: [PATCH] Add the floatOnEdge back to minimap. Display Pins on WORLDMAP on WORLD --- TomTom_Waypoints.lua | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/TomTom_Waypoints.lua b/TomTom_Waypoints.lua index 062e6b8..ea4aa65 100755 --- a/TomTom_Waypoints.lua +++ b/TomTom_Waypoints.lua @@ -169,10 +169,17 @@ function TomTom:SetWaypoint(waypoint, callbacks, show_minimap, show_world) point.uid = waypoint -- Place the waypoint - hbdp:AddMinimapIconMap(self, point.minimap, m, x, y, true) + -- AddMinimapIconMap(ref, icon, uiMapID, x, y, showInParentZone, floatOnEdge) + hbdp:AddMinimapIconMap(self, point.minimap, m, x, y, true, true) if show_world then - hbdp:AddWorldMapIconMap(self, point.worldmap, m, x, y) + -- show worldmap pin on its parent zone map (if any) + -- HBD_PINS_WORLDMAP_SHOW_PARENT = 1 + -- show worldmap pin on the continent map + -- HBD_PINS_WORLDMAP_SHOW_CONTINENT = 2 + -- show worldmap pin on the continent and world map + -- HBD_PINS_WORLDMAP_SHOW_WORLD = 3 + hbdp:AddWorldMapIconMap(self, point.worldmap, m, x, y, 3) else point.worldmap.disabled = true end -- 1.7.9.5