Package net.runelite.api.worldmap
Interface WorldMap
-
- All Known Subinterfaces:
RenderOverview
public interface WorldMap
Represents the World Map
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorldMapData
getWorldMapData()
The data represented by the render.Point
getWorldMapPosition()
Gets the current position of the local player on the world map.WorldMapRenderer
getWorldMapRenderer()
Gets the world map renderer.float
getWorldMapZoom()
Gets the current zoom level of the world map.void
initializeWorldMap(WorldMapData worldMapData)
Initializes the world map with the provided data.void
setWorldMapPositionTarget(WorldPoint worldPoint)
Sets the target position of the world map.
-
-
-
Method Detail
-
getWorldMapPosition
Point getWorldMapPosition()
Gets the current position of the local player on the world map.- Returns:
- the world map position
-
getWorldMapZoom
float getWorldMapZoom()
Gets the current zoom level of the world map.- Returns:
- the world map zoon
-
setWorldMapPositionTarget
void setWorldMapPositionTarget(WorldPoint worldPoint)
Sets the target position of the world map.- Parameters:
worldPoint
- the new target position
-
getWorldMapRenderer
WorldMapRenderer getWorldMapRenderer()
Gets the world map renderer.- Returns:
- the world map renderer
-
initializeWorldMap
void initializeWorldMap(WorldMapData worldMapData)
Initializes the world map with the provided data.- Parameters:
worldMapData
- the new map data
-
getWorldMapData
WorldMapData getWorldMapData()
The data represented by the render.- Returns:
- the map data
-
-