Template:Location map many/sandbox2

    <!--endif {verify}=yes -- -- NOTES: --  This code generates nested HTML divisions for a box-division --  containing a map-division with nested point-divisions, each --  having a nested marker-image division & label division (for --  each marker/label point), following by a caption-division. -- --  The "map image" can be any image, allowing markers/labels to --  annotate any picture. Set each markXsize=1 to show labels only. --  The template markup has been designed to work on any browser --  by using standard quick div-tags as used in early browsers. -- --  The results have been tested to pinpoint a location with a --  precise marker, accurate to within a pixel of the ideal spot. -- --  [ These comments take < 1 second per 5,000 comment lines. ] --  [ Be sure to close comments: primitive editors don't check. ] -- -- NOTE P1: The marker outer div section is scaled by y=99.2% to adjust --     for the 2-pixel border, where {height}/( {height}+2 ) ~= 99.2% --     because the 2-pixel taller map-box causes the relative y% to --      to exceed the map image when 100% by 2px, or (height+2)/height. --     The slight 2-pixel error was only significant for markers near --     bottom/right edges, so the bug had persisted for years. -- -- NOTE H2: The div-tag attribute "line-height:0" has been set to zero --     because some browsers (Firefox) forced the line-height size to --      override "height:0" and center a marker in the middle of a tall --     character box, causing the marker to appear several pixels lower, --     rather than at the top of the marker's div-section. IE browsers --     did not have that bug/feature, so "height:0" worked in IE to put --     a marker in the exact div location, but not for other browsers. -- - --HISTORY: -- 06Sep07 Created/debugged to allow 3 markers. -- 08Sep07 Expanded with 6 more markers #4-#9 (of eventual 20). -- 08Sep07 Debugged marker #9 for extraneous marker in caption. -- 09Sep07 Rewrote to auto-position markers by marksize/markhigh. -- 10Sep07 Rewrote to require latitudes, avoid oversized pages. -- 11Sep07 Verified latitudes/longitudes (expanded template 16%). -- 15Sep07 Shortened latitude/longitude advisory messages. -- 15Sep07 Calculated 72 label positions by marker + label sizes. -- 15Sep07 Wikibug: Mark image:Red_pog.svg sometimes disappears. -- 15Sep07 Wikibug: (but image:Green/Blue_pog.svg work ok.) -- 15Sep07 Defaulted mark#high to mark#size if no template value. -- 07Oct07 Set label bottom position = -mark*.50 - label*.02 + 4.9 -- 08Oct07 Set label bottom position = -mark*.45 - label*.01 + 1.9 -- 20Dec07 Changed to skip a marker when mark#size=0. -- 20Dec07 Fixed to omit 2nd "->" after labels in captions 2-9. -- 14Feb08 More top comments; cut extra blank line above doc-page. -- 28Nov12 Moved old {Location_map_many} to be {Location_map_all}. -- 29Nov12 Defaulted mark2size as marksize, not {Location map...}. -- 30Nov12 Noted break " " after map image to avoid text gap. -- 30Nov12 Allows "px" in width=250px by {padleft:|3|{width} }. -- 30Nov12 Fixed dot-shift bug as line-height:0 to work in any browser. -- 30Nov12 New verify=yes and moved verify lat./longitude to end. -- 30Nov12 Expanded with 1 more marker #10 (of eventual 20). -- 30Nov12 Scaled labels: pos=top as x1.90, left/right x0.65 +2.5px. -- 30Nov12 Scaled markers 1-10 y: 99.2%, x: 99.9% for 2-pixel border. -- 30Nov12 Wrapped each warning message for latitude/longitude. -- 29Dec12 Added markers/labels 11-15 & validation of 11-15. -- 27Feb13 Set option verify=yes to use abs(x) to check coords. 1-5. -- 11Oct13 Expanded with 7 more labels & markers #16-#22. -->