[UNSOLVED] Rendering data into a MapView

Discussion in 'Plugin Development' started by voidzm, Feb 4, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    voidzm

    I'm trying to write a plugin to allow a user to autocomplete rendering all available chunk data into a given MapView, without physically visiting all locations on the map.

    If I've understood the documentation correctly, the only way to actually render the data is to call the "render" method on the MapRenderer, passing the MapView, MapCanvas, and a Player.

    Does this mean that a player must be physically located at a place for the Renderer to draw it, or am I just missing something?

    Thanks in advance.
     
  2. Offline

    dannycrafts

    I think you need to 'implement' the render method, and register your 'custom' MapRenderer to be the map renderer that renders your servers maps.

    This guide might be outdated but give it a try: http://wiki.sk89q.com/wiki/Bukkit_map_API
     
  3. Offline

    voidzm

    I was indeed thinking of using a custom MapRenderer at first, but the main issue is that I don't want to implement a NEW way to draw the map, I simply want to force the existing one to render data where no player is located. I could call super from the overridden render method, but that still does not solve my issue of changing the render's location in the map.
     
  4. Offline

    voidzm

    Anyone? I still can't find a way to make this work.
     
Thread Status:
Not open for further replies.

Share This Page