@@ -13,9 +13,11 @@ namespace ExampleLibrary
1313 [ Examples ( "TileMapAnnotation" ) , Tags ( "Annotations" ) ]
1414 public static class TileMapAnnotationExamples
1515 {
16- [ Example ( "TileMapAnnotation (openstreetmap.org)" ) ]
16+ [ Example ( "TileMapAnnotation (openstreetmap.org)" , true ) ]
1717 public static PlotModel TileMapAnnotation2 ( )
1818 {
19+ // See policy document: https://operations.osmfoundation.org/policies/tiles/
20+
1921 var model = new PlotModel { Title = "TileMapAnnotation" } ;
2022 model . Axes . Add ( new LinearAxis { Position = AxisPosition . Bottom , Minimum = 10.4 , Maximum = 10.6 , Title = "Longitude" } ) ;
2123 model . Axes . Add ( new LinearAxis { Position = AxisPosition . Left , Minimum = 59.88 , Maximum = 59.96 , Title = "Latitude" } ) ;
@@ -25,13 +27,14 @@ public static PlotModel TileMapAnnotation2()
2527 new TileMapAnnotation
2628 {
2729 Url = "http://tile.openstreetmap.org/{Z}/{X}/{Y}.png" ,
28- CopyrightNotice = "OpenStreetMap"
30+ CopyrightNotice = "OpenStreetMap" ,
31+ MaxNumberOfDownloads = 2 ,
2932 } ) ;
3033
3134 return model ;
3235 }
3336
34- [ Example ( "TileMapAnnotation (statkart.no)" ) ]
37+ [ Example ( "TileMapAnnotation (statkart.no)" , true ) ]
3538 public static PlotModel TileMapAnnotation ( )
3639 {
3740 var model = new PlotModel { Title = "TileMapAnnotation" } ;
@@ -64,4 +67,4 @@ public static PlotModel TileMapAnnotation()
6467 return model ;
6568 }
6669 }
67- }
70+ }
0 commit comments