source: spip-zone/_plugins_/_contenu_editorial_/spipcarto/modeles/map_svgfile.html @ 5205

Last change on this file since 5205 was 5205, checked in by bill@…, 15 years ago

retour des squelettes SVG...

File size: 1.5 KB
Line 
1[(#HTTP_HEADER{Content-type: image/svg+xml[; charset=(#CHARSET)]})]
2<<?php echo'?' ?>xml version="1.0"[ encoding="(#CHARSET)"] standalone="no"?>
3<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg10.dtd">
4<BOUCLE_carte(CARTO_CARTES){id_carto_carte=#ID_MAP}>
5        <svg viewBox="[(#CALLAGE|worldfileLRX)] [(#CALLAGE|worldfileULY)] [(#CALLAGE|worldfileWidth)] [(#CALLAGE|worldfileHeight)]" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve">
6                <defs>
7                 <linearGradient id="myGradient" gradientTransform="rotate(45)">
8                  <stop offset="0%" style="stop-color:white"/>
9                  <stop offset="30%" style="stop-color:red"/>
10                  <stop offset="100%" style="stop-color:black"/>
11                 </linearGradient>
12               
13                <INCLURE(carto_style.css)>
14                <INCLURE(carto_symbol.xml)>
15
16                </defs>
17               
18                <g id="background" visibility="visible">
19                        <image x="[(#CALLAGE|worldfileLRX)]" y="[(#CALLAGE|worldfileULY)]" width="[(#CALLAGE|worldfileWidth)]px" height="[(#CALLAGE|worldfileHeight)]px" xlink:href="#URL_SITE_SPIP/spip_carto.php?fond_carte=[(#URL_CARTE|base64_encode)][&amp;scale=(#ENV{scale})][&amp;x=(#ENV{x})][&amp;y=(#ENV{y})]"/>
20                </g>
21                 
22                 
23                <g id="mainlayer">
24                        <BOUCLE_objets(CARTO_OBJETS){id_carto_carte=#ID_CARTO_CARTE}>
25                                <a xlink:href="[(#URL_OBJET|entites_html)]" alt="#TITRE"><[(#GEOMETRIE|wkt2shape{SVG})] [(#GEOMETRIE|wkt2coords{SVG,#CALLAGE,#URL_CARTE})] class="[(#GEOMETRIE|wkt2shape{SVG})]"/></a>
26                        </BOUCLE_objets>
27                </g>
28        </svg>
29</BOUCLE_carte>
Note: See TracBrowser for help on using the repository browser.