[Web]Extensible L2Worldmap
Posted: Tue Jul 30, 2013 12:43 pm
This is my extensible L2Worldmap.
It uses CSS and JavaScript(jQuery & Ajax).
Scroll the map by dragging it with your mouse cursor.
It has a plugin based architecture. That means in your map document you call worldmapAddPlugin with the url and the folder for the plugin.
Two example plugins are provided, one with detail maps of all towns and a few dungeons and one simple test plugin to just place a single point of
interest in the top left of the map.
When plugins are loaded, a black bar on the left appears with all plugins.
While preloading plugin images, the background of the plugin name turns into a progress bar.
If any resource can't be loaded for a plugin, it's text is displayed in red.
When everything is loaded properly from a plugin, the point of interests of that plugin are placed on the worldmap.
Now when you hover a point of interest on the map, all other points of interests are hidden.
Left to each plugin in the left black bar, there is a checkbox to show/hide the point of interests of the plugin.
Reload the page when advertising is shown, it messes up the map.
Demo & Download -> L2Worldmap
It uses CSS and JavaScript(jQuery & Ajax).
Scroll the map by dragging it with your mouse cursor.
It has a plugin based architecture. That means in your map document you call worldmapAddPlugin with the url and the folder for the plugin.
Two example plugins are provided, one with detail maps of all towns and a few dungeons and one simple test plugin to just place a single point of
interest in the top left of the map.
When plugins are loaded, a black bar on the left appears with all plugins.
While preloading plugin images, the background of the plugin name turns into a progress bar.
If any resource can't be loaded for a plugin, it's text is displayed in red.
When everything is loaded properly from a plugin, the point of interests of that plugin are placed on the worldmap.
Now when you hover a point of interest on the map, all other points of interests are hidden.
Left to each plugin in the left black bar, there is a checkbox to show/hide the point of interests of the plugin.
Reload the page when advertising is shown, it messes up the map.
Demo & Download -> L2Worldmap