Extension:SlippyMap/Development

Functionality
''Note: In bold are things that could go in a general slippy map class, that all map types would have. For other parameters, they may be handled differently depending on map type''

If  tag present:
 * Map embedded on page
 * Check that map mode is valid
 * If map is valid, add JavaScript
 * Parse map tag and check parameters
 * Required params (may differ by map mode?)
 * Center point (lat, lon) or bounds
 * Must be numeric
 * If lat, lon exceeds 180W-180E or 90S-90N, throw error (exception might be for moon or mars mode)
 * Support "-80" and 80W
 * Optional params
 * Zoom level - should have aliases that provide meaningful, standard scale for users, and translate into what OpenLayers needs (differs by map mode)
 * Instead of zoom, allow user to specify resolution or scale
 * Size (width, height); if not specified, use $wgThumbSize
 * Mode (use OSM as default)
 * Layers (have default for each map type) - differs by mode
 * Caption
 * By default, show a static map (may differ)
 * Add "onclick" functionality that enables the interactive map (may differ)

If  template present:
 * Pop-up map present

What I want - A wish list
--Kolossos 13:52, 7 July 2009 (UTC)
 * A layer with clickable wikipedia-POIs for different languages. Like in WMA.
 * A layer to show areas and paths defined like Query-to-map
 * A button to increase the size of the map window or open it in a new window.
 * What makes the serverside rendering for thumbnails to decrease server load and speed up the page load?