|
1 | 1 | <!DOCTYPE HTML>
|
2 | 2 | <html>
|
3 |
| - <head> |
4 |
| - <meta http-equiv="content-type" content="text/html; charset=utf-8"> |
5 |
| - <title>pat-leaflet demo</title> |
6 |
| - <link rel="stylesheet" href="bower_components/leaflet/dist/leaflet.css"/> |
7 |
| - <link rel="stylesheet" href="bower_components/Leaflet.fullscreen/dist/leaflet.fullscreen.css"/> |
8 |
| - <link rel="stylesheet" href="bower_components/L.GeoSearch/src/css/l.geosearch.css"/> |
9 |
| - <link rel="stylesheet" href="bower_components/leaflet.markercluster/dist/MarkerCluster.Default.css"/> |
10 |
| - <link rel="stylesheet" href="bower_components/leaflet.markercluster/dist/MarkerCluster.css"/> |
11 |
| - <link rel="stylesheet" href="bower_components/Leaflet.awesome-markers/dist/leaflet.awesome-markers.css"/> |
12 |
| - <link rel="stylesheet" href="bower_components/leaflet.locatecontrol/dist/L.Control.Locate.css"/> |
13 |
| - <link rel="stylesheet" href="bower_components/font-awesome/css/fontawesome.css"/> |
14 |
| - <link rel="stylesheet" href="bower_components/Leaflet-MiniMap/dist/Control.MiniMap.min.css"/> |
15 |
| - <link rel="stylesheet" href="bower_components/Leaflet.SimpleMarkers/lib/Control.SimpleMarkers.css"/> |
16 |
| - <link rel="stylesheet" href="src/pat-leaflet.css"/> |
17 |
| - <script data-main="main" src="bower_components/requirejs/require.js"></script> |
18 |
| - |
19 |
| - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.5.1/themes/prism.min.css"/> |
20 |
| - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.5.1/plugins/unescaped-markup/prism-unescaped-markup.min.css"/> |
21 |
| - |
22 |
| - </head> |
23 |
| - <body role="document"> |
24 |
| - |
25 |
| - <h1>pat-leaflet demo - minimal</h1> |
26 |
| - <div id="map1" class="pat-leaflet" data-pat-leaflet=' |
27 |
| - { |
28 |
| - "fullscreencontrol": false, |
29 |
| - "locatecontrol": false, |
30 |
| - "zoomcontrol": false, |
31 |
| - "map_layers": [{"title": "Map", "id": "OpenStreetMap.Mapnik"}] |
32 |
| - }'></div> |
33 |
| - |
34 |
| - <h2>Code</h2> |
35 |
| - <pre class="language-markup"><code><!-- |
36 |
| - <div id="map1" class="pat-leaflet" data-pat-leaflet=' |
37 |
| - { |
38 |
| - "fullscreencontrol": false, |
39 |
| - "locatecontrol": false, |
40 |
| - "zoomcontrol": false, |
41 |
| - "map_layers": [{"title": "Map", "id": "OpenStreetMap.Mapnik"}] |
42 |
| - }'></div> |
43 |
| - --></code></pre> |
44 |
| - |
45 |
| - <h1>pat-leaflet demo - full</h1> |
46 |
| - <div id="map2" class="pat-leaflet" |
47 |
| - data-pat-leaflet='{ |
48 |
| -"fullscreencontrol": true, |
49 |
| -"locatecontrol": true, |
50 |
| -"zoomcontrol": true, |
51 |
| -"minimap": true, |
52 |
| -"geosearch": true, |
53 |
| -"geosearch_provider": "google", |
54 |
| -"addmarker": true, |
55 |
| -"maxClusterRadius": 80 |
56 |
| -}' |
57 |
| - data-geojson='{ |
58 |
| -"type": "FeatureCollection", |
59 |
| -"features": [ |
60 |
| - { |
61 |
| - "type": "Feature", |
62 |
| - "id": 1, |
63 |
| - "properties": { |
64 |
| - "popup": "reverse - copenhagen international poetry festival (dnk), copenhagen, denmark", |
65 |
| - "editable": true, |
66 |
| - "latinput": "#latinput", |
67 |
| - "lnginput": "#lnginput" |
68 |
| - }, |
69 |
| - "geometry": { |
70 |
| - "type": "Point", |
71 |
| - "coordinates": [ |
72 |
| - 12.55568, |
73 |
| - 55.69078 |
74 |
| - ] |
75 |
| - } |
76 |
| - }, |
77 |
| - { |
78 |
| - "type": "Feature", |
79 |
| - "id": 2, |
80 |
| - "properties": { |
81 |
| - "popup": "hoergeREDE (aut), graz, austria", |
82 |
| - "color": "purple", |
83 |
| - "extraClasses": "pat-leaflet-marker--hoergerede-graz" |
84 |
| - }, |
85 |
| - "geometry": { |
86 |
| - "type": "Point", |
87 |
| - "coordinates": [ |
88 |
| - 15.4382918, |
89 |
| - 47.0708101 |
90 |
| - ] |
91 |
| - } |
92 |
| - }, |
93 |
| - { |
94 |
| - "type": "Feature", |
95 |
| - "id": 3, |
96 |
| - "properties": { |
97 |
| - "popup": "sarajevo days of poetry (bih), sarajevo, bosnia" |
98 |
| - }, |
99 |
| - "geometry": { |
100 |
| - "type": "Point", |
101 |
| - "coordinates": [ |
102 |
| - 18.3886134, |
103 |
| - 43.8514981 |
104 |
| - ] |
105 |
| - } |
106 |
| - } |
107 |
| -]}'></div> |
108 |
| - <input type="text" name="latitude" value="55.69078" id="latinput"/> |
109 |
| - <input type="text" name="longitude" value="12.55568" id="lnginput"/> |
110 |
| - |
111 |
| - <h2>Code</h2> |
112 |
| - <pre class="language-markup"><code><!-- |
113 |
| - <div id="map2" class="pat-leaflet" |
114 |
| - data-pat-leaflet='{ |
115 |
| -"fullscreencontrol": true, |
116 |
| -"locatecontrol": true, |
117 |
| -"zoomcontrol": true, |
118 |
| -"minimap": true, |
119 |
| -"geosearch": true, |
120 |
| -"geosearch_provider": "google", |
121 |
| -"addmarker": true, |
122 |
| -"maxClusterRadius": 80 |
123 |
| -}' |
124 |
| - data-geojson='{ |
125 |
| -"type": "FeatureCollection", |
126 |
| -"features": [ |
127 |
| - { |
128 |
| - "type": "Feature", |
129 |
| - "id": 1, |
130 |
| - "properties": { |
131 |
| - "popup": "reverse - copenhagen international poetry festival (dnk), copenhagen, denmark", |
132 |
| - "editable": true, |
133 |
| - "latinput": "#latinput", |
134 |
| - "lnginput": "#lnginput" |
135 |
| - }, |
136 |
| - "geometry": { |
137 |
| - "type": "Point", |
138 |
| - "coordinates": [ |
139 |
| - 12.55568, |
140 |
| - 55.69078 |
141 |
| - ] |
142 |
| - } |
143 |
| - }, |
144 |
| - { |
145 |
| - "type": "Feature", |
146 |
| - "id": 2, |
147 |
| - "properties": { |
148 |
| - "popup": "hoergeREDE (aut), graz, austria", |
149 |
| - "color": "purple", |
150 |
| - "extraClasses": "pat-leaflet-marker--hoergerede-graz" |
151 |
| - }, |
152 |
| - "geometry": { |
153 |
| - "type": "Point", |
154 |
| - "coordinates": [ |
155 |
| - 15.4382918, |
156 |
| - 47.0708101 |
157 |
| - ] |
158 |
| - } |
159 |
| - }, |
160 |
| - { |
161 |
| - "type": "Feature", |
162 |
| - "id": 3, |
163 |
| - "properties": { |
164 |
| - "popup": "sarajevo days of poetry (bih), sarajevo, bosnia" |
165 |
| - }, |
166 |
| - "geometry": { |
167 |
| - "type": "Point", |
168 |
| - "coordinates": [ |
169 |
| - 18.3886134, |
170 |
| - 43.8514981 |
171 |
| - ] |
172 |
| - } |
173 |
| - } |
174 |
| -]}'></div> |
175 |
| - <input type="text" name="latitude" value="55.69078" id="latinput"/> |
176 |
| - <input type="text" name="longitude" value="12.55568" id="lnginput"/> |
177 |
| -
|
178 |
| - --></code></pre> |
179 |
| - |
180 |
| - <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.5.1/prism.min.js"></script> |
181 |
| - <script src="https://cdnjs.cloudflare.com/ajax/libs/prism/1.5.1/plugins/unescaped-markup/prism-unescaped-markup.min.js"></script> |
182 |
| - |
183 |
| - </body> |
| 3 | +<head> |
| 4 | + <meta http-equiv="refresh" content="0; url=./src" /> |
| 5 | +</head> |
184 | 6 | </html>
|
0 commit comments