package com.elmakers.mine.bukkit.api.maps;

import org.bukkit.inventory.ItemStack;

import java.util.List;

public interface MapController {
    List<URLMap> getAll();
    void loadMap(String world, short id, String url, String name, int x, int y, int width, int height, Integer priority);
    ItemStack getURLItem(String world, String url, String name, int x, int y, int width, int height, Integer priority);
    void forceReloadPlayerPortrait(String worldName, String playerName);
    ItemStack getPlayerPortrait(String worldName, String playerName, Integer priority, String photoName);
    ItemStack getMapItem(short id);
    boolean hasMap(short id);
    boolean remove(short id);
    void save();
    short getURLMapId(String world, String url, String name, int x, int y, int width, int height, Integer priority);
    short getURLMapId(String world, String url);
}

@@ -157,24 +157,53 @@
 %3E getAll();%0A
+    URLMap getMap(short id);%0A
     void loa

Add API method to fetch a URLMap by id