Template:OSM Location map/core: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Switch to #tag:mapframe which cuts out overheads from maplink and overlay templates (from sandbox)
implement nolabels (at present not working in preview mode!)
Line 13: Line 13:
padding:0px;
padding:0px;
height: {{{height|250}}}px;
height: {{{height|250}}}px;
width: {{{width|400}}}px;">{{#tag:mapframe||width={{{width|400}}}|height={{{height|250}}}|zoom={{{zoom|11}}}|longitude={{{lon|-122.3988}}}|latitude={{{lat|37.8013}}}|frameless=true}}{{OSM Location map/cssmapping
width: {{{width|400}}}px;">{{#tag:mapframe||width={{{width|400}}}|height={{{height|250}}}|zoom={{{zoom|11}}}|longitude={{{lon|-122.3988}}}|latitude={{{lat|37.8013}}}|mapstyle={{#ifeq:{{{nolabels|0}}}|1|"osm"|"osm-intl"}}|frameless=true}}{{OSM Location map/cssmapping
| mark-width={{{width|400}}}| mark-height={{{height|250}}}
| mark-width={{{width|400}}}| mark-height={{{height|250}}}
|x1= {{#expr:{{{width|400}}}/2}}
|x1= {{#expr:{{{width|400}}}/2}}

Revision as of 23:44, 15 April 2024