| OLD | NEW |
| 1 library googleapis.mapsengine.v1; | 1 library googleapis.mapsengine.v1; |
| 2 | 2 |
| 3 import "dart:core" as core; | 3 import "dart:core" as core; |
| 4 import "dart:collection" as collection; | 4 import "dart:collection" as collection; |
| 5 import "dart:async" as async; | 5 import "dart:async" as async; |
| 6 import "dart:convert" as convert; | 6 import "dart:convert" as convert; |
| 7 | 7 |
| 8 import "package:crypto/crypto.dart" as crypto; | 8 import "package:crypto/crypto.dart" as crypto; |
| 9 import 'package:http/http.dart' as http; | 9 import 'package:http/http.dart' as http; |
| 10 import '../src/common_internal.dart' as common_internal; | 10 import '../src/common_internal.dart' as common_internal; |
| (...skipping 7142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7153 | 7153 |
| 7154 | 7154 |
| 7155 /** Style for polygons. */ | 7155 /** Style for polygons. */ |
| 7156 class PolygonStyle { | 7156 class PolygonStyle { |
| 7157 /** | 7157 /** |
| 7158 * Fill color of the polygon. If not provided, the polygon will be transparent | 7158 * Fill color of the polygon. If not provided, the polygon will be transparent |
| 7159 * and not visible if there is no border. | 7159 * and not visible if there is no border. |
| 7160 */ | 7160 */ |
| 7161 Color fill; | 7161 Color fill; |
| 7162 | 7162 |
| 7163 /** Label style for the polygon. */ |
| 7164 LabelStyle label; |
| 7165 |
| 7163 /** Border of the polygon. 0 < border.width <= 10. */ | 7166 /** Border of the polygon. 0 < border.width <= 10. */ |
| 7164 Border stroke; | 7167 Border stroke; |
| 7165 | 7168 |
| 7166 | 7169 |
| 7167 PolygonStyle(); | 7170 PolygonStyle(); |
| 7168 | 7171 |
| 7169 PolygonStyle.fromJson(core.Map _json) { | 7172 PolygonStyle.fromJson(core.Map _json) { |
| 7170 if (_json.containsKey("fill")) { | 7173 if (_json.containsKey("fill")) { |
| 7171 fill = new Color.fromJson(_json["fill"]); | 7174 fill = new Color.fromJson(_json["fill"]); |
| 7172 } | 7175 } |
| 7176 if (_json.containsKey("label")) { |
| 7177 label = new LabelStyle.fromJson(_json["label"]); |
| 7178 } |
| 7173 if (_json.containsKey("stroke")) { | 7179 if (_json.containsKey("stroke")) { |
| 7174 stroke = new Border.fromJson(_json["stroke"]); | 7180 stroke = new Border.fromJson(_json["stroke"]); |
| 7175 } | 7181 } |
| 7176 } | 7182 } |
| 7177 | 7183 |
| 7178 core.Map toJson() { | 7184 core.Map toJson() { |
| 7179 var _json = new core.Map(); | 7185 var _json = new core.Map(); |
| 7180 if (fill != null) { | 7186 if (fill != null) { |
| 7181 _json["fill"] = (fill).toJson(); | 7187 _json["fill"] = (fill).toJson(); |
| 7182 } | 7188 } |
| 7189 if (label != null) { |
| 7190 _json["label"] = (label).toJson(); |
| 7191 } |
| 7183 if (stroke != null) { | 7192 if (stroke != null) { |
| 7184 _json["stroke"] = (stroke).toJson(); | 7193 _json["stroke"] = (stroke).toJson(); |
| 7185 } | 7194 } |
| 7186 return _json; | 7195 return _json; |
| 7187 } | 7196 } |
| 7188 } | 7197 } |
| 7189 | 7198 |
| 7190 | 7199 |
| 7191 /** The response returned by a call to any asset's Process method. */ | 7200 /** The response returned by a call to any asset's Process method. */ |
| 7192 class ProcessResponse { | 7201 class ProcessResponse { |
| (...skipping 1709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8902 _json["max"] = max; | 8911 _json["max"] = max; |
| 8903 } | 8912 } |
| 8904 if (min != null) { | 8913 if (min != null) { |
| 8905 _json["min"] = min; | 8914 _json["min"] = min; |
| 8906 } | 8915 } |
| 8907 return _json; | 8916 return _json; |
| 8908 } | 8917 } |
| 8909 } | 8918 } |
| 8910 | 8919 |
| 8911 | 8920 |
| OLD | NEW |