28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/example/streetview-service/map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Directly accessing Street View data
6 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/example/streetview-simple/map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Street View service
6 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/example/streetview-simple/page.dart:
--------------------------------------------------------------------------------
1 | import 'package:google_maps/google_maps.dart';
2 | import 'package:google_maps/google_maps_streetview.dart';
3 | import 'package:web/web.dart';
4 |
5 | void main() {
6 | final fenway = LatLng(42.345573, -71.098326);
7 | final mapOptions = MapOptions()
8 | ..center = fenway
9 | ..zoom = 14;
10 | final map =
11 | Map(document.getElementById('map-canvas') as HTMLElement, mapOptions);
12 | final panoramaOptions = StreetViewPanoramaOptions()
13 | ..position = fenway
14 | ..pov = (StreetViewPov()
15 | ..heading = 34
16 | ..pitch = 10);
17 | final panorama = StreetViewPanorama(
18 | document.getElementById('pano') as HTMLElement, panoramaOptions);
19 | map.streetView = panorama;
20 | }
21 |
--------------------------------------------------------------------------------
/example/user-editable-shapes/map.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | User-editable Shapes
5 |
6 |
7 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/example/user-editable-shapes/page.dart:
--------------------------------------------------------------------------------
1 | import 'package:google_maps/google_maps.dart';
2 | import 'package:web/web.dart';
3 |
4 | void main() {
5 | final mapOptions = MapOptions()
6 | ..center = LatLng(44.5452, -78.5389)
7 | ..zoom = 9;
8 | final map =
9 | Map(document.getElementById('map-canvas') as HTMLElement, mapOptions);
10 |
11 | final bounds = LatLngBounds(LatLng(44.490, -78.649), LatLng(44.599, -78.443));
12 |
13 | Rectangle(RectangleOptions()
14 | ..bounds = bounds
15 | ..editable = true)
16 | .map = map;
17 | }
18 |
--------------------------------------------------------------------------------
/lib/google_maps.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'google_maps_core.dart';
16 | export 'google_maps_maps.dart';
17 | export 'google_maps_marker.dart';
18 |
--------------------------------------------------------------------------------
/lib/google_maps_core.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/control.dart';
16 | export 'src/generated/coordinates.dart';
17 | export 'src/generated/directions.dart';
18 | export 'src/generated/errors.dart';
19 | export 'src/generated/event.dart';
20 | export 'src/generated/map.dart';
21 | export 'src/generated/marker.dart';
22 | export 'src/generated/settings.dart';
--------------------------------------------------------------------------------
/lib/google_maps_drawing.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/drawing.dart';
--------------------------------------------------------------------------------
/lib/google_maps_elevation.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/elevation.dart';
--------------------------------------------------------------------------------
/lib/google_maps_geocoding.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/geocoder.dart';
--------------------------------------------------------------------------------
/lib/google_maps_geometry.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/geometry.dart';
--------------------------------------------------------------------------------
/lib/google_maps_maps3d.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/3d_map.dart';
--------------------------------------------------------------------------------
/lib/google_maps_marker.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/advanced_markers.dart';
16 | export 'src/generated/marker.dart';
--------------------------------------------------------------------------------
/lib/google_maps_places.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/autocomplete_data.dart';
16 | export 'src/generated/place.dart';
17 | export 'src/generated/places_autocomplete_service.dart';
18 | export 'src/generated/places_service.dart';
19 | export 'src/generated/places_widget.dart';
--------------------------------------------------------------------------------
/lib/google_maps_routes.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/directions.dart';
16 | export 'src/generated/distance_matrix.dart';
--------------------------------------------------------------------------------
/lib/google_maps_streetview.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/info_window.dart';
16 | export 'src/generated/overlay_view.dart';
17 | export 'src/generated/street_view.dart';
18 | export 'src/generated/street_view_service.dart';
--------------------------------------------------------------------------------
/lib/google_maps_visualization.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | export 'src/generated/visualization.dart';
--------------------------------------------------------------------------------
/lib/src/generated/3d_map/fly_to_animation_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../3d_map.dart';
16 |
17 | extension type FlyToAnimationOptions._(JSObject _) implements JSObject {
18 | external FlyToAnimationOptions({
19 | CameraOptions endCamera,
20 | num? durationMillis,
21 | });
22 | external CameraOptions endCamera;
23 | external num? durationMillis;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/3d_map/location_click_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../3d_map.dart';
16 |
17 | @JS('google.maps.maps3d.LocationClickEvent')
18 | extension type LocationClickEvent._(Event _) implements Event {
19 | external LatLngAltitude? position;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/3d_map/marker_3_dinteractive_element_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../3d_map.dart';
16 |
17 | extension type Marker3DInteractiveElementOptions._(Marker3DElementOptions _)
18 | implements Marker3DElementOptions {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/3d_map/steady_change_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../3d_map.dart';
16 |
17 | @JS('google.maps.maps3d.SteadyChangeEvent')
18 | extension type SteadyChangeEvent._(Event _) implements Event {
19 | external bool isSteady;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/advanced_markers/advanced_marker_click_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../advanced_markers.dart';
16 |
17 | @JS('google.maps.marker.AdvancedMarkerClickEvent')
18 | extension type AdvancedMarkerClickEvent._(Event _) implements Event {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/autocomplete_data/autocomplete_session_token.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../autocomplete_data.dart';
16 |
17 | @JS('google.maps.places.AutocompleteSessionToken')
18 | extension type AutocompleteSessionToken._(JSObject _) implements JSObject {
19 | external AutocompleteSessionToken();
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/autocomplete_data/string_range.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../autocomplete_data.dart';
16 |
17 | @JS('google.maps.places.StringRange')
18 | extension type StringRange._(JSObject _) implements JSObject {
19 | external num endOffset;
20 | external num startOffset;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/control/camera_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type CameraControlOptions._(JSObject _) implements JSObject {
18 | external CameraControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/fullscreen_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type FullscreenControlOptions._(JSObject _) implements JSObject {
18 | external FullscreenControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/motion_tracking_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type MotionTrackingControlOptions._(JSObject _) implements JSObject {
18 | external MotionTrackingControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/pan_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type PanControlOptions._(JSObject _) implements JSObject {
18 | external PanControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/rotate_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type RotateControlOptions._(JSObject _) implements JSObject {
18 | external RotateControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/scale_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type ScaleControlOptions._(JSObject _) implements JSObject {
18 | external ScaleControlOptions({
19 | ScaleControlStyle? style,
20 | });
21 | external ScaleControlStyle? style;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/control/scale_control_style.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | @JS('google.maps.ScaleControlStyle')
18 | extension type ScaleControlStyle._(JSAny _) implements JSAny {
19 | external static ScaleControlStyle get DEFAULT;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/control/zoom_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../control.dart';
16 |
17 | extension type ZoomControlOptions._(JSObject _) implements JSObject {
18 | external ZoomControlOptions({
19 | ControlPosition? position,
20 | });
21 | external ControlPosition? position;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/coordinates/circle_literal.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../coordinates.dart';
16 |
17 | extension type CircleLiteral._(CircleOptions _) implements CircleOptions {
18 | external CircleLiteral({
19 | LatLngOrLatLngLiteral center,
20 | num radius,
21 | });
22 | external LatLngOrLatLngLiteral center;
23 | external num radius;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/coordinates/lat_lng_literal.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../coordinates.dart';
16 |
17 | extension type LatLngLiteral._(JSObject _)
18 | implements JSObject, LatLngOrLatLngLiteral {
19 | external LatLngLiteral({
20 | num lat,
21 | num lng,
22 | });
23 | external num lat;
24 | external num lng;
25 | }
26 |
--------------------------------------------------------------------------------
/lib/src/generated/coordinates/orientation_3_dliteral.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../coordinates.dart';
16 |
17 | extension type Orientation3DLiteral._(JSObject _) implements JSObject {
18 | external Orientation3DLiteral({
19 | num? heading,
20 | num? roll,
21 | num? tilt,
22 | });
23 | external num? heading;
24 | external num? roll;
25 | external num? tilt;
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/generated/coordinates/vector_3_dliteral.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../coordinates.dart';
16 |
17 | extension type Vector3DLiteral._(JSObject _) implements JSObject {
18 | external Vector3DLiteral({
19 | num x,
20 | num y,
21 | num z,
22 | });
23 | external num x;
24 | external num y;
25 | external num z;
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_add_feature_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | extension type DataAddFeatureEvent._(JSObject _) implements JSObject {
18 | external DataAddFeatureEvent({
19 | DataFeature feature,
20 | });
21 | external DataFeature feature;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_geo_json_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | extension type DataGeoJsonOptions._(JSObject _) implements JSObject {
18 | external DataGeoJsonOptions({
19 | String? idPropertyName,
20 | });
21 | external String? idPropertyName;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_geometry.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | extension type DataGeometry._(JSObject _) implements JSObject {
18 | external void forEachLatLng(
19 | JSFunction /*void Function(LatLng)*/ callback,
20 | );
21 | @JS('getType')
22 | external String _getType();
23 | String get type => _getType();
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_mouse_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | extension type DataMouseEvent._(MapMouseEvent _) implements MapMouseEvent {
18 | external DataMouseEvent({
19 | DataFeature feature,
20 | });
21 | external DataFeature feature;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_point.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | @JS('google.maps.Data.Point')
18 | extension type DataPoint._(DataGeometry _) implements DataGeometry {
19 | external DataPoint(
20 | LatLngOrLatLngLiteral latLng,
21 | );
22 | external LatLng get();
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_remove_feature_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | extension type DataRemoveFeatureEvent._(JSObject _) implements JSObject {
18 | external DataRemoveFeatureEvent({
19 | DataFeature feature,
20 | });
21 | external DataFeature feature;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/data/data_styling_function.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data.dart';
16 |
17 | typedef StylingFunction = JSFunction /*DataStyleOptions Function(DataFeature)*/;
18 |
--------------------------------------------------------------------------------
/lib/src/generated/data_driven_styling/feature.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data_driven_styling.dart';
16 |
17 | extension type Feature._(JSObject _) implements JSObject {
18 | external Feature({
19 | FeatureType featureType,
20 | });
21 | external FeatureType featureType;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/data_driven_styling/feature_style_function.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data_driven_styling.dart';
16 |
17 | typedef FeatureStyleFunction
18 | = JSFunction /*FeatureStyleOptions? Function(FeatureStyleFunctionOptions)*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/data_driven_styling/feature_style_function_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../data_driven_styling.dart';
16 |
17 | extension type FeatureStyleFunctionOptions._(JSObject _) implements JSObject {
18 | external FeatureStyleFunctionOptions({
19 | Feature feature,
20 | });
21 | external Feature feature;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/directions_polyline.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type DirectionsPolyline._(JSObject _) implements JSObject {
18 | external DirectionsPolyline({
19 | String points,
20 | });
21 | external String points;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/directions_travel_mode.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.DirectionsTravelMode')
18 | extension type DirectionsTravelMode._(JSAny _) implements JSAny {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/directions_unit_system.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.DirectionsUnitSystem')
18 | extension type DirectionsUnitSystem._(JSAny _) implements JSAny {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/distance.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type Distance._(JSObject _) implements JSObject {
18 | external Distance({
19 | String text,
20 | num value,
21 | });
22 | external String text;
23 | external num value;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/driving_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type DrivingOptions._(JSObject _) implements JSObject {
18 | external DrivingOptions({
19 | Date departureTime,
20 | TrafficModel? trafficModel,
21 | });
22 | external Date departureTime;
23 | external TrafficModel? trafficModel;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/duration.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type Duration._(JSObject _) implements JSObject {
18 | external Duration({
19 | String text,
20 | num value,
21 | });
22 | external String text;
23 | external num value;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/traffic_model.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.TrafficModel')
18 | extension type TrafficModel._(JSAny _) implements JSAny {
19 | external static TrafficModel get BEST_GUESS;
20 | external static TrafficModel get OPTIMISTIC;
21 | external static TrafficModel get PESSIMISTIC;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/transit_agency.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type TransitAgency._(JSObject _) implements JSObject {
18 | external TransitAgency({
19 | String name,
20 | String phone,
21 | String url,
22 | });
23 | external String name;
24 | external String phone;
25 | external String url;
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/transit_fare.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type TransitFare._(JSObject _) implements JSObject {
18 | external TransitFare({
19 | String currency,
20 | num value,
21 | });
22 | external String currency;
23 | external num value;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/transit_route_preference.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.TransitRoutePreference')
18 | extension type TransitRoutePreference._(JSAny _) implements JSAny {
19 | external static TransitRoutePreference get FEWER_TRANSFERS;
20 | external static TransitRoutePreference get LESS_WALKING;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/transit_stop.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | extension type TransitStop._(JSObject _) implements JSObject {
18 | external TransitStop({
19 | LatLng location,
20 | String name,
21 | });
22 | external LatLng location;
23 | external String name;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/travel_mode.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.TravelMode')
18 | extension type TravelMode._(JSAny _) implements JSAny {
19 | external static TravelMode get BICYCLING;
20 | external static TravelMode get DRIVING;
21 | external static TravelMode get TRANSIT;
22 | external static TravelMode get WALKING;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/directions/unit_system.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../directions.dart';
16 |
17 | @JS('google.maps.UnitSystem')
18 | extension type UnitSystem._(JSAny _) implements JSAny {
19 | external static UnitSystem get IMPERIAL;
20 | external static UnitSystem get METRIC;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/errors.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | import '/src/js/error.dart' show JSError;
17 | part 'errors/maps_network_error.dart';
18 | part 'errors/maps_network_error_endpoint.dart';
19 | part 'errors/maps_request_error.dart';
20 | part 'errors/maps_server_error.dart';
21 |
--------------------------------------------------------------------------------
/lib/src/generated/errors/maps_request_error.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../errors.dart';
16 |
17 | @JS('google.maps.MapsRequestError')
18 | extension type MapsRequestError._(MapsNetworkError _)
19 | implements MapsNetworkError {}
20 |
--------------------------------------------------------------------------------
/lib/src/generated/errors/maps_server_error.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../errors.dart';
16 |
17 | @JS('google.maps.MapsServerError')
18 | extension type MapsServerError._(MapsNetworkError _)
19 | implements MapsNetworkError {}
20 |
--------------------------------------------------------------------------------
/lib/src/generated/event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | import '/src/js/error.dart' show JSError;
17 | import 'dart:async' show Stream, StreamController;
18 | part 'event/error_event.dart';
19 | part 'event/event.dart';
20 | part 'event/maps_event_listener.dart';
21 | part 'event/mvcarray.dart';
22 | part 'event/mvcobject.dart';
23 |
--------------------------------------------------------------------------------
/lib/src/generated/event/error_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../event.dart';
16 |
17 | extension type ErrorEvent._(JSObject _) implements JSObject {
18 | external ErrorEvent({
19 | JSError error,
20 | });
21 | external JSError error;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/event/maps_event_listener.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../event.dart';
16 |
17 | extension type MapsEventListener._(JSObject _) implements JSObject {
18 | external void remove();
19 | }
20 |
--------------------------------------------------------------------------------
/lib/src/generated/geocoder/containment.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../geocoder.dart';
16 |
17 | @JS('google.maps.Containment')
18 | extension type Containment._(JSAny _) implements JSAny {
19 | external static Containment get NEAR;
20 | external static Containment get OUTSKIRTS;
21 | external static Containment get WITHIN;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/geocoder/extra_geocode_computation.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../geocoder.dart';
16 |
17 | @JS('google.maps.ExtraGeocodeComputation')
18 | extension type ExtraGeocodeComputation._(JSAny _) implements JSAny {
19 | external static ExtraGeocodeComputation get ADDRESS_DESCRIPTORS;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_authentication/auth_token.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_authentication.dart';
16 |
17 | extension type AuthToken._(JSObject _) implements JSObject {
18 | external AuthToken({
19 | num expiresInSeconds,
20 | String token,
21 | });
22 | external num expiresInSeconds;
23 | external String token;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_authentication/auth_token_fetcher.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_authentication.dart';
16 |
17 | typedef AuthTokenFetcher
18 | = JSFunction /*JSPromise Function(AuthTokenFetcherOptions)*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_fleet_engine_entities/speed.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_fleet_engine_entities.dart';
16 |
17 | @JS('google.maps.journeySharing.Speed')
18 | extension type Speed._(JSAny _) implements JSAny {
19 | external static Speed get NORMAL;
20 | external static Speed get SLOW;
21 | external static Speed get TRAFFIC_JAM;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_fleet_engine_entities/time_window.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_fleet_engine_entities.dart';
16 |
17 | extension type TimeWindow._(JSObject _) implements JSObject {
18 | external TimeWindow({
19 | Date endTime,
20 | Date startTime,
21 | });
22 | external Date endTime;
23 | external Date startTime;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_map_view/location_provider.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_map_view.dart';
16 |
17 | @JS('google.maps.journeySharing.LocationProvider')
18 | extension type LocationProvider._(JSObject _) implements JSObject {
19 | external MapsEventListener addListener(
20 | String eventName,
21 | JSFunction handler,
22 | );
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_ui_customization/marker_setup.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_ui_customization.dart';
16 |
17 | typedef MarkerSetup
18 | = JSAny /*MarkerSetupOptions|MarkerSetupOptions Function(DefaultMarkerSetupOptions)*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_ui_customization/marker_setup_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_ui_customization.dart';
16 |
17 | extension type MarkerSetupOptions._(JSObject _) implements JSObject {
18 | external MarkerSetupOptions({
19 | MarkerOptions? markerOptions,
20 | });
21 | external MarkerOptions? markerOptions;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/journey_sharing_ui_customization/polyline_setup.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../journey_sharing_ui_customization.dart';
16 |
17 | typedef PolylineSetup
18 | = JSAny /*PolylineSetupOptions|PolylineSetupOptions Function(DefaultPolylineSetupOptions)*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/kml/kml_author.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../kml.dart';
16 |
17 | extension type KmlAuthor._(JSObject _) implements JSObject {
18 | external KmlAuthor({
19 | String email,
20 | String name,
21 | String uri,
22 | });
23 | external String email;
24 | external String name;
25 | external String uri;
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/generated/local_context_map_view/map_directions_options_literal.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../local_context_map_view.dart';
16 |
17 | extension type MapDirectionsOptionsLiteral._(JSObject _) implements JSObject {
18 | external MapDirectionsOptionsLiteral({
19 | LatLngOrLatLngLiteral origin,
20 | });
21 | external LatLngOrLatLngLiteral origin;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/local_context_map_view/place_chooser_layout_mode.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../local_context_map_view.dart';
16 |
17 | @JS('google.maps.localContext.PlaceChooserLayoutMode')
18 | extension type PlaceChooserLayoutMode._(JSAny _) implements JSAny {
19 | external static PlaceChooserLayoutMode get HIDDEN;
20 | external static PlaceChooserLayoutMode get SHEET;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/local_context_map_view/place_type_preference.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../local_context_map_view.dart';
16 |
17 | typedef PlaceTypePreference
18 | = JSAny? /*UNPARSED:{ type:string, weight:number optional}*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/map/color_scheme.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | @JS('google.maps.ColorScheme')
18 | extension type ColorScheme._(JSAny _) implements JSAny {
19 | external static ColorScheme get DARK;
20 | external static ColorScheme get FOLLOW_SYSTEM;
21 | external static ColorScheme get LIGHT;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/map/icon_mouse_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | extension type IconMouseEvent._(MapMouseEvent _)
18 | implements MapMouseEvent, MapMouseEventOrIconMouseEvent {
19 | external IconMouseEvent({
20 | String? placeId,
21 | });
22 | external String? placeId;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/map/map_type_id.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | @JS('google.maps.MapTypeId')
18 | extension type MapTypeId._(JSAny _) implements JSAny {
19 | external static MapTypeId get HYBRID;
20 | external static MapTypeId get ROADMAP;
21 | external static MapTypeId get SATELLITE;
22 | external static MapTypeId get TERRAIN;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/map/map_type_registry.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | @JS('google.maps.MapTypeRegistry')
18 | extension type MapTypeRegistry._(MVCObject _) implements MVCObject {
19 | external MapTypeRegistry();
20 | external void set(
21 | String id,
22 | JSAny /*MapType|JSAny?*/ mapType,
23 | );
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/map/rendering_type.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | @JS('google.maps.RenderingType')
18 | extension type RenderingType._(JSAny _) implements JSAny {
19 | external static RenderingType get RASTER;
20 | external static RenderingType get UNINITIALIZED;
21 | external static RenderingType get VECTOR;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/map/traffic_layer_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | extension type TrafficLayerOptions._(JSObject _) implements JSObject {
18 | external TrafficLayerOptions({
19 | bool? autoRefresh,
20 | Map? map,
21 | });
22 | external bool? autoRefresh;
23 | external Map? map;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/map/zoom_change_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../map.dart';
16 |
17 | @JS('google.maps.ZoomChangeEvent')
18 | extension type ZoomChangeEvent._(Event _) implements Event {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/marker/animation.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../marker.dart';
16 |
17 | @JS('google.maps.Animation')
18 | extension type Animation._(JSAny _) implements JSAny {
19 | external static Animation get BOUNCE;
20 | external static Animation get DROP;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/max_zoom.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | import 'coordinates.dart' show LatLngOrLatLngLiteral;
17 | part 'max_zoom/max_zoom_result.dart';
18 | part 'max_zoom/max_zoom_service.dart';
19 | part 'max_zoom/max_zoom_status.dart';
20 |
--------------------------------------------------------------------------------
/lib/src/generated/max_zoom/max_zoom_result.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../max_zoom.dart';
16 |
17 | extension type MaxZoomResult._(JSObject _) implements JSObject {
18 | external MaxZoomResult({
19 | num zoom,
20 | MaxZoomStatus? status,
21 | });
22 | external num zoom;
23 | external MaxZoomStatus? status;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/max_zoom/max_zoom_status.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../max_zoom.dart';
16 |
17 | @JS('google.maps.MaxZoomStatus')
18 | extension type MaxZoomStatus._(JSAny _) implements JSAny {
19 | external static MaxZoomStatus get ERROR;
20 | external static MaxZoomStatus get OK;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/place/attribution.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.Attribution')
18 | extension type Attribution._(JSObject _) implements JSObject {
19 | external String? provider;
20 | external String? providerURI;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/place/author_attribution.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.AuthorAttribution')
18 | extension type AuthorAttribution._(JSObject _) implements JSObject {
19 | external String displayName;
20 | external String? photoURI;
21 | external String? uri;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/place/fuel_price.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.FuelPrice')
18 | extension type FuelPrice._(JSObject _) implements JSObject {
19 | external Money? price;
20 | external FuelType? type;
21 | external Date? updateTime;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/place/money.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.Money')
18 | extension type Money._(JSObject _) implements JSObject {
19 | external String currencyCode;
20 | external num nanos;
21 | external num units;
22 | @JS('toString')
23 | external String toString$js();
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/place/opening_hours_period.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.OpeningHoursPeriod')
18 | extension type OpeningHoursPeriod._(JSObject _) implements JSObject {
19 | external OpeningHoursPoint? close;
20 | external OpeningHoursPoint open;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/place/opening_hours_point.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.OpeningHoursPoint')
18 | extension type OpeningHoursPoint._(JSObject _) implements JSObject {
19 | external num day;
20 | external num hour;
21 | external num minute;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/place/payment_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.PaymentOptions')
18 | extension type PaymentOptions._(JSObject _) implements JSObject {
19 | external bool? acceptsCashOnly;
20 | external bool? acceptsCreditCards;
21 | external bool? acceptsDebitCards;
22 | external bool? acceptsNFC;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/place/plus_code.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.PlusCode')
18 | extension type PlusCode._(JSObject _) implements JSObject {
19 | external String? compoundCode;
20 | external String? globalCode;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/place/search_by_text_rank_preference.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.SearchByTextRankPreference')
18 | extension type SearchByTextRankPreference._(JSAny _) implements JSAny {
19 | external static SearchByTextRankPreference get DISTANCE;
20 | external static SearchByTextRankPreference get RELEVANCE;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/place/search_nearby_rank_preference.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../place.dart';
16 |
17 | @JS('google.maps.places.SearchNearbyRankPreference')
18 | extension type SearchNearbyRankPreference._(JSAny _) implements JSAny {
19 | external static SearchNearbyRankPreference get DISTANCE;
20 | external static SearchNearbyRankPreference get POPULARITY;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/places_autocomplete_service/prediction_substring.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_autocomplete_service.dart';
16 |
17 | extension type PredictionSubstring._(JSObject _) implements JSObject {
18 | external PredictionSubstring({
19 | num length,
20 | num offset,
21 | });
22 | external num length;
23 | external num offset;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/places_autocomplete_service/prediction_term.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_autocomplete_service.dart';
16 |
17 | extension type PredictionTerm._(JSObject _) implements JSObject {
18 | external PredictionTerm({
19 | num offset,
20 | String value,
21 | });
22 | external num offset;
23 | external String value;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/location_bias.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | typedef LocationBias
18 | = JSAny /*LatLng|LatLngLiteral|LatLngBounds|LatLngBoundsLiteral|Circle|CircleLiteral|string*/;
19 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/location_restriction.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | typedef LocationRestriction = LatLngBoundsOrLatLngBoundsLiteral;
18 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/photo_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | extension type PhotoOptions._(JSObject _) implements JSObject {
18 | external PhotoOptions({
19 | num? maxHeight,
20 | num? maxWidth,
21 | });
22 | external num? maxHeight;
23 | external num? maxWidth;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/place_aspect_rating.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | extension type PlaceAspectRating._(JSObject _) implements JSObject {
18 | external PlaceAspectRating({
19 | num rating,
20 | String type,
21 | });
22 | external num rating;
23 | external String type;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/place_geometry.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | extension type PlaceGeometry._(JSObject _) implements JSObject {
18 | external PlaceGeometry({
19 | LatLng? location,
20 | LatLngBounds? viewport,
21 | });
22 | external LatLng? location;
23 | external LatLngBounds? viewport;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/place_search_pagination.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | extension type PlaceSearchPagination._(JSObject _) implements JSObject {
18 | external PlaceSearchPagination({
19 | bool hasNextPage,
20 | });
21 | external bool hasNextPage;
22 | external void nextPage();
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/places_service/rank_by.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_service.dart';
16 |
17 | @JS('google.maps.places.RankBy')
18 | extension type RankBy._(JSAny _) implements JSAny {
19 | external static RankBy get DISTANCE;
20 | external static RankBy get PROMINENCE;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/places_widget/place_autocomplete_place_select_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_widget.dart';
16 |
17 | @JS('google.maps.places.PlaceAutocompletePlaceSelectEvent')
18 | extension type PlaceAutocompletePlaceSelectEvent._(Event _) implements Event {
19 | external Place place;
20 | }
21 |
--------------------------------------------------------------------------------
/lib/src/generated/places_widget/place_autocomplete_request_error_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_widget.dart';
16 |
17 | @JS('google.maps.places.PlaceAutocompleteRequestErrorEvent')
18 | extension type PlaceAutocompleteRequestErrorEvent._(Event _) implements Event {}
19 |
--------------------------------------------------------------------------------
/lib/src/generated/places_widget/search_box_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../places_widget.dart';
16 |
17 | extension type SearchBoxOptions._(JSObject _) implements JSObject {
18 | external SearchBoxOptions({
19 | LatLngBoundsOrLatLngBoundsLiteral? bounds,
20 | });
21 | external LatLngBoundsOrLatLngBoundsLiteral? bounds;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/polygon/poly_mouse_event.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../polygon.dart';
16 |
17 | extension type PolyMouseEvent._(MapMouseEvent _) implements MapMouseEvent {
18 | external PolyMouseEvent({
19 | num? edge,
20 | num? path,
21 | num? vertex,
22 | });
23 | external num? edge;
24 | external num? path;
25 | external num? vertex;
26 | }
27 |
--------------------------------------------------------------------------------
/lib/src/generated/polygon/stroke_position.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../polygon.dart';
16 |
17 | @JS('google.maps.StrokePosition')
18 | extension type StrokePosition._(JSAny _) implements JSAny {
19 | external static StrokePosition get CENTER;
20 | external static StrokePosition get INSIDE;
21 | external static StrokePosition get OUTSIDE;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/settings.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | import '/src/js/iterable.dart' show JSIterable;
17 | part 'settings/settings.dart';
18 |
--------------------------------------------------------------------------------
/lib/src/generated/settings/settings.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../settings.dart';
16 |
17 | @JS('google.maps.Settings')
18 | extension type Settings._(JSObject _) implements JSObject {
19 | external JSIterable experienceIds;
20 | @JS('getInstance')
21 | external static Settings _getInstance();
22 | static Settings get instance => _getInstance();
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view/pano_provider_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view.dart';
16 |
17 | extension type PanoProviderOptions._(JSObject _) implements JSObject {
18 | external PanoProviderOptions({
19 | bool? cors,
20 | });
21 | external bool? cors;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view/street_view_address_control_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view.dart';
16 |
17 | extension type StreetViewAddressControlOptions._(JSObject _)
18 | implements JSObject {
19 | external StreetViewAddressControlOptions({
20 | ControlPosition? position,
21 | });
22 | external ControlPosition? position;
23 | }
24 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view/street_view_pov.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view.dart';
16 |
17 | extension type StreetViewPov._(JSObject _) implements JSObject {
18 | external StreetViewPov({
19 | num heading,
20 | num pitch,
21 | });
22 | external num heading;
23 | external num pitch;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view_service/street_view_pano_request.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view_service.dart';
16 |
17 | extension type StreetViewPanoRequest._(JSObject _) implements JSObject {
18 | external StreetViewPanoRequest({
19 | String? pano,
20 | });
21 | external String? pano;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view_service/street_view_preference.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view_service.dart';
16 |
17 | @JS('google.maps.StreetViewPreference')
18 | extension type StreetViewPreference._(JSAny _) implements JSAny {
19 | external static StreetViewPreference get BEST;
20 | external static StreetViewPreference get NEAREST;
21 | }
22 |
--------------------------------------------------------------------------------
/lib/src/generated/street_view_service/street_view_response.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../street_view_service.dart';
16 |
17 | extension type StreetViewResponse._(JSObject _) implements JSObject {
18 | external StreetViewResponse({
19 | StreetViewPanoramaData data,
20 | });
21 | external StreetViewPanoramaData data;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/generated/top_level.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | part 'top_level/maps.dart';
17 |
--------------------------------------------------------------------------------
/lib/src/generated/visualization.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | import 'dart:js_interop';
16 | import 'coordinates.dart' show LatLng;
17 | import 'event.dart' show MVCArray, MVCObject;
18 | import 'map.dart' show Map;
19 | part 'visualization/heatmap_layer.dart';
20 | part 'visualization/heatmap_layer_options.dart';
21 | part 'visualization/weighted_location.dart';
22 |
--------------------------------------------------------------------------------
/lib/src/generated/visualization/weighted_location.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../visualization.dart';
16 |
17 | extension type WeightedLocation._(JSObject _) implements JSObject {
18 | external WeightedLocation({
19 | LatLng location,
20 | num weight,
21 | });
22 | external LatLng location;
23 | external num weight;
24 | }
25 |
--------------------------------------------------------------------------------
/lib/src/generated/webgl/web_glstate_options.dart:
--------------------------------------------------------------------------------
1 | // Copyright 2015 Alexandre Ardhuin
2 | //
3 | // Licensed under the Apache License, Version 2.0 (the "License");
4 | // you may not use this file except in compliance with the License.
5 | // You may obtain a copy of the License at
6 | //
7 | // http://www.apache.org/licenses/LICENSE-2.0
8 | //
9 | // Unless required by applicable law or agreed to in writing, software
10 | // distributed under the License is distributed on an "AS IS" BASIS,
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 | // See the License for the specific language governing permissions and
13 | // limitations under the License.
14 |
15 | part of '../webgl.dart';
16 |
17 | extension type WebGLStateOptions._(JSObject _) implements JSObject {
18 | external WebGLStateOptions({
19 | WebGLRenderingContext gl,
20 | });
21 | external WebGLRenderingContext gl;
22 | }
23 |
--------------------------------------------------------------------------------
/lib/src/js/date.dart:
--------------------------------------------------------------------------------
1 | import 'dart:js_interop';
2 |
3 | @JS('Date')
4 | extension type Date._(JSObject _) implements JSObject {}
5 |
--------------------------------------------------------------------------------
/lib/src/js/error.dart:
--------------------------------------------------------------------------------
1 | import 'dart:js_interop';
2 |
3 | @JS('Error')
4 | extension type JSError._(JSObject _) implements JSObject {}
5 |
--------------------------------------------------------------------------------
/lib/src/js/iterable.dart:
--------------------------------------------------------------------------------
1 | import 'dart:js_interop';
2 |
3 | extension type JSIterable._(JSObject _) implements JSObject {
4 | external JSIterableNextResult next();
5 | }
6 |
7 | extension type JSIterableNextResult._(JSObject _)
8 | implements JSObject {
9 | external bool get done;
10 | external T? get value;
11 | }
12 |
--------------------------------------------------------------------------------
/pubspec.yaml:
--------------------------------------------------------------------------------
1 | name: google_maps
2 | version: 8.1.1
3 | description: >
4 | With that package you will be able to use Google Maps JavaScript API from Dart
5 | scripts.
6 | homepage: https://github.com/a14n/dart-google-maps
7 | environment:
8 | sdk: ^3.4.0
9 | dependencies:
10 | meta: ^1.3.0
11 | web: ">=0.5.1 <2.0.0"
12 | dev_dependencies:
13 | build_runner: ^2.4.0
14 | build_web_compilers: ^4.0.0
15 | collection:
16 | html: ^0.15.0
17 | http: ^1.2.2
18 | lints: ^5.0.0
19 | path: ^1.7.0
20 | petitparser: ^6.0.2
21 |
--------------------------------------------------------------------------------