قالب:Maplink/مختبر/overlays

من أرابيكا، الموسوعة الحرة
اذهب إلى التنقل اذهب إلى البحث
Live template Sandbox
Overlaying another mapframe
{{Maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{Maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}
-- coord=.
Overlaying a static street map
{{Maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={Graph:Street map with marks | width=100 | height=100 | lat=37.8 | lon=-122.4 | zoom=6 | minimap=false |
  { "lat": 37.8, "lon": -122.4 }
}}
}}
-- coord=.


With a frame
{{Maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{Maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
}}
-- coord=.
Alignment of overlay
{{Maplink|frame=yes|plain=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{Maplink|frame=yes|plain=yes|frame-width=180|frame-height=140|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
}}
-- coord=.
Offset for overlay
{{Maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{Maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=left
|overlay-vertical-alignment=top
|overlay-horizontal-offset=10
|overlay-vertical-offset=15
}}
-- coord=.


Offset for overlay (negative)
{{Maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay={{Maplink|frame=yes|plain=yes|frame-width=100|frame-height=100|type=shape|id=Q100|frame-align=center}}
|overlay-horizontal-alignment=right
|overlay-vertical-alignment=top
|overlay-horizontal-offset=-5
|overlay-vertical-offset=-5
}}
-- coord=.
Image overlay
{{Maplink|frame=yes|frame-width=400|frame-height=300|type=point|id=Q100|zoom=13
|overlay=[[File:Example.svg|140x140px]]
}}
-- coord=.