Rev 315 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 315 | Rev 334 | ||
---|---|---|---|
Line 21... | Line 21... | ||
21 | dlg_Map::dlg_Map(QWidget *parent) : QDialog(parent) |
21 | dlg_Map::dlg_Map(QWidget *parent) : QDialog(parent) |
22 | { |
22 | { |
23 | setupUi(this); |
23 | setupUi(this); |
Line 24... | Line 24... | ||
24 | 24 | ||
25 | // Kartenwahl ausschalten |
25 | // Kartenwahl ausschalten |
26 | lb_Maps->setVisible(false); |
26 | //lb_Maps->setVisible(false); |
- | 27 | //cb_Maps->setVisible(false); |
|
- | 28 | ||
- | 29 | cb_Maps->removeItem(5); |
|
- | 30 | cb_Maps->removeItem(4); |
|
- | 31 | cb_Maps->removeItem(3); |
|
Line 27... | Line 32... | ||
27 | cb_Maps->setVisible(false); |
32 | cb_Maps->removeItem(2); |
28 | 33 | ||
Line 29... | Line 34... | ||
29 | // Noch nicht eingebaut also Button weg. |
34 | // Noch nicht eingebaut also Button weg. |
Line 211... | Line 216... | ||
211 | case 0 : // OpenStreetMap |
216 | case 0 : // OpenStreetMap |
212 | { |
217 | { |
213 | o_Adapter = new OSMMapAdapter(); |
218 | o_Adapter = new OSMMapAdapter(); |
214 | } |
219 | } |
215 | break; |
220 | break; |
- | 221 | case 1 : // Yahoo Sat |
|
- | 222 | { |
|
- | 223 | o_Adapter = new WMSMapAdapter("openaerialmap.org", "/wms/wms.asp?wms=WorldMap&LAYERS=world&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&TRANSPARENT=FALSE", 256); |
|
- | 224 | } |
|
- | 225 | break; |
|
216 | case 1 : // Google Maps |
226 | case 2 : // Google Maps |
217 | { |
227 | { |
218 | o_Adapter = new GoogleMapAdapter(); |
228 | o_Adapter = new GoogleMapAdapter(); |
219 | } |
229 | } |
220 | break; |
230 | break; |
221 | case 2 : // Google Sat |
231 | case 3 : // Google Sat |
222 | { |
232 | { |
223 | o_Adapter = new GoogleSatMapAdapter(); |
233 | o_Adapter = new GoogleSatMapAdapter(); |
224 | } |
234 | } |
225 | break; |
235 | break; |
226 | case 3 : // Yahoo Maps |
236 | case 4 : // Yahoo Maps |
227 | { |
237 | { |
228 | o_Adapter = new YahooMapAdapter(); |
238 | o_Adapter = new YahooMapAdapter(); |
229 | } |
239 | } |
230 | break; |
240 | break; |
231 | case 4 : // Yahoo Sat |
- | |
232 | { |
- | |
233 | o_Adapter = new YahooMapAdapter("us.maps3.yimg.com", "/aerial.maps.yimg.com/png?v=1.7&t=a&s=256&x=%2&y=%3&z=%1"); |
- | |
234 | } |
- | |
235 | case 5 : // Yahoo Sat |
241 | case 5 : // Yahoo Sat |
236 | { |
242 | { |
237 | o_Adapter = new WMSMapAdapter("openaerialmap.org", "/wms/wms.asp?wms=WorldMap&LAYERS=world&FORMAT=image/png&VERSION=1.1.1&SERVICE=WMS&REQUEST=GetMap&STYLES=&EXCEPTIONS=application/vnd.ogc.se_inimage&SRS=EPSG:4326&TRANSPARENT=FALSE", 256); |
243 | o_Adapter = new YahooMapAdapter("us.maps3.yimg.com", "/aerial.maps.yimg.com/png?v=1.7&t=a&s=256&x=%2&y=%3&z=%1"); |
238 | } |
244 | } |
239 | break; |
245 | break; |
240 | } |
246 | } |
Line 241... | Line 247... | ||
241 | 247 |