Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_barcodes/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [18.3.35-beta] - 10/01/2020
## [18.3.35] - 10/01/2020

No changes.

Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_barcodes/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_barcodes
description: Syncfusion Flutter barcodes widget is used to generate and display data in the machine-readable, industry-standard 1D and 2D barcodes.
version: 18.3.35
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_barcodes

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
5 changes: 4 additions & 1 deletion packages/syncfusion_flutter_calendar/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
include: lib/analysis_options.yaml
include: package:syncfusion_flutter_core/analysis_options.yaml

analyzer:
errors:
include_file_not_found: ignore

This file was deleted.

2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_calendar/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_calendar
description: The Syncfusion Flutter Calendar widget has built-in configurable views that provide basic functionalities for scheduling and representing appointments/events efficiently.
version: 18.3.35
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_calendar

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_charts/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_charts
description: Syncfusion Flutter Charts is a data visualization library written natively in Dart for creating beautiful and high-performance cartesian and circular charts.
version: 18.3.35
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_charts

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_core/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ dependencies:
flutter:
sdk: flutter
syncfusion_flutter_charts:
path: ../syncfusion_flutter_charts
path: ../../syncfusion_flutter_charts

cupertino_icons: ^0.1.3

Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_core
description: Syncfusion Flutter Core is a dependent package for all the Syncfusion Flutter widgets.
version: 18.3.35
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_core

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_datagrid/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_datagrid
description: The Syncfusion Flutter DataGrid is used to display and manipulate data in a tabular view. Its rich feature set includes different types of columns, selections, column sizing, etc.
version: 18.3.35-beta
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_datagrid

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
6 changes: 5 additions & 1 deletion packages/syncfusion_flutter_datepicker/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
include: lib/analysis_options.yaml
include: package:syncfusion_flutter_core/analysis_options.yaml

analyzer:
errors:
include_file_not_found: ignore

This file was deleted.

2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_datepicker/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_datepicker
description: The Syncfusion Flutter Date Range Picker widget allows users to easily select dates or a range of dates. It has built-in views that allow quick navigation to the desired date.
version: 18.3.35-beta
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_datepicker

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/syncfusion_flutter_gauges/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: syncfusion_flutter_gauges
description: Syncfusion Flutter gauges library includes data visualization widgets such as radial gauge, which is written in dart, to create modern, interactive, and animated gauges.
version: 18.3.35
homepage: https://github.com/syncfusion/flutter-examples
homepage: https://github.com/syncfusion/flutter-widgets/tree/master/packages/syncfusion_flutter_gauges

environment:
sdk: ">=2.1.0 <3.0.0"
Expand Down
16 changes: 15 additions & 1 deletion packages/syncfusion_flutter_maps/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,20 @@
## [18.3.35-beta] - 10/01/2020

No changes.
**Features**

* Tile layer
* Zooming and panning in both layers
* Custom widget for tooltips
* Legend for bubbles
* Improvement in interaction animations and web platform hovering

**Breaking changes**

* The `showLegend` property has been removed and the same behavior can be achieved by setting the `legendSource` property to `MapElement.none`.
* The `toggledShapeColor` has been changed to `toggledItemColor` in `SfMapsThemeData` and `MapLegendSettings`.
* The `toggledShapeStrokeColor` has been changed to `toggledItemStrokeColor` in `SfMapsThemeData` and `MapLegendSettings`.
* The `toggledShapeStrokeWidth` has been changed to `toggledItemStrokeWidth` in `SfMapsThemeData` and `MapLegendSettings`.
* The `toggledShapeOpacity` has been changed to `toggledItemOpacity` in `MapLegendSettings`.

## [18.2.59-beta] - 09/23/2020

Expand Down
4 changes: 2 additions & 2 deletions packages/syncfusion_flutter_maps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,13 @@ Create a highly interactive and customizable maps widget that has features set i

**Zooming and panning** - Zoom in shape layer for a closer look at a specific region by pinching, scrolling the mouse wheel or track pad, or using the toolbar on the web. Pan the map to navigate across the regions.

![maps zoompan](http://cdn.syncfusion.com/content/images/zoompan.gif)
![maps zoompan](https://cdn.syncfusion.com/content/images/zoompan.gif)

### Tile layer

**Markers** - Show markers for the tile layer in the specific latitudes and longitudes.

![tile layer marker](http://cdn.syncfusion.com/content/images/Tile_withmarker.png)
![tile layer marker](https://cdn.syncfusion.com/content/images/Tile_withmarker.png)

**Zooming and panning** - Zoom in tile layer for a closer look at a specific region by pinching, scrolling the mouse wheel or track pad, or using the toolbar on the web. Pan the map to navigate across the regions.

Expand Down
9 changes: 9 additions & 0 deletions packages/syncfusion_flutter_maps/lib/maps.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
/// Syncfusion Flutter Maps is a data visualization library written natively in
/// Dart for creating beautiful and customizable maps.
///
/// To use, import `package:syncfusion_flutter_maps/maps.dart`;
///
/// See also:
/// * [Syncfusion Flutter Maps product page](https://www.syncfusion.com/flutter-widgets/flutter-maps)
/// * [User guide documentation](https://help.syncfusion.com/flutter/maps/overview)

library maps;

import 'dart:async';
Expand Down
84 changes: 44 additions & 40 deletions packages/syncfusion_flutter_maps/lib/src/layer/maps_tile_layer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ part of maps;
/// Tile layer which renders the tiles returned from the Web Map Tile
/// Services (WMTS) like OpenStreetMap, Bing Maps, Google Maps, TomTom etc.
///
/// The [urlTemplate] accepts the URL in WMTS format i.e. {z} — zoom level, {x}
/// and {y} — tile coordinates.
/// The [MapTileLayer.urlTemplate] accepts the URL in WMTS format
/// i.e. {z} — zoom level, {x} and {y} — tile coordinates.
///
/// This URL might vary slightly depends on the providers. The formats can be,
/// https://exampleprovider/{z}/{x}/{y}.png,
Expand All @@ -15,24 +15,26 @@ part of maps;
/// current center point and the zoom level.
///
/// The subscription key may be needed for some of the providers. Please include
/// them in the [urlTemplate] itself as mentioned in above example. Please note
/// that the format may vary between the each map providers. You can check the
/// exact URL format needed for the providers in their official websites.
/// them in the [MapTileLayer.urlTemplate] itself as mentioned in above example.
/// Please note that the format may vary between the each map providers. You can
/// check the exact URL format needed for the providers in their official
/// websites.
///
/// Regarding the tile rendering, at the lowest zoom level (Level 0), the map is
/// 256 x 256 pixels and the
/// whole world map renders as a single tile. At each increase in level, the map
/// width and height grow by a factor of 2 i.e. Level 1 is 512 x 512 pixels with
/// 4 tiles ((0, 0), (0, 1), (1, 0), (1, 1) where 0 and 1 are {x} and {y} in
/// [urlTemplate]), Level 2 is 2048 x 2048 pixels with 8
/// [MapTileLayer.urlTemplate]), Level 2 is 2048 x 2048 pixels with 8
/// tiles (from (0, 0) to (3, 3)), and so on.
/// (These details are just for your information and all these calculation are
/// done internally.)
///
/// However, based on the size of the [SfMaps] widget, [initialFocalLatLng] and
/// [initialZoomLevel] number of initial tiles needed in the view port alone
/// will be rendered. While zooming and panning, new tiles will be requested and
/// rendered on demand based on the current zoom level and focal point.
/// However, based on the size of the [SfMaps] widget,
/// [MapTileLayer.initialFocalLatLng] and [MapTileLayer.initialZoomLevel] number
/// of initial tiles needed in the view port alone will be rendered.
/// While zooming and panning, new tiles will be requested and rendered on
/// demand based on the current zoom level and focal point.
/// The current zoom level and focal point can be obtained from the
/// [MapZoomPanBehavior.zoomLevel] and [MapZoomPanBehavior.focalLatLng]
/// respectively. Once the particular tile is rendered, it will be stored in the
Expand All @@ -57,8 +59,8 @@ part of maps;
/// ```
///
/// See also:
/// * For enabling zooming and panning, set [zoomPanBehavior] with the instance
/// of [MapZoomPanBehavior].
/// * For enabling zooming and panning, set [MapTileLayer.zoomPanBehavior]
/// with the instance of [MapZoomPanBehavior].
class MapTileLayer extends MapLayer {
/// Creates a [MapTileLayer].
MapTileLayer({
Expand Down Expand Up @@ -86,8 +88,8 @@ class MapTileLayer extends MapLayer {

/// URL to request the tiles from the providers.
///
/// The [urlTemplate] accepts the URL in WMTS format i.e. {z} — zoom level,
/// {x} and {y} — tile coordinates.
/// The [MapTileLayer.urlTemplate] accepts the URL in WMTS format
/// i.e. {z} — zoom level, {x} and {y} — tile coordinates.
///
/// This URL might vary slightly depends on the providers. The formats can be,
/// https://exampleprovider/{z}/{x}/{y}.png,
Expand All @@ -98,10 +100,10 @@ class MapTileLayer extends MapLayer {
/// current center point and the zoom level.
///
/// The subscription key may be needed for some of the providers. Please
/// include them in the [urlTemplate] itself as mentioned in above example.
/// Please note that the format may vary between the each map providers. You
/// can check the exact URL format needed for the providers in their official
/// websites.
/// include them in the [MapTileLayer.urlTemplate] itself as mentioned in
/// above example. Please note that the format may vary between the each
/// map providers. You can check the exact URL format needed for the providers
/// in their official websites.
///
/// ```dart
/// @override
Expand All @@ -122,7 +124,7 @@ class MapTileLayer extends MapLayer {
/// URL varies from the other tile services. Hence, we have added a top-level
/// [getBingUrlTemplate] method which returns the URL in the required format.
/// You can use the URL returned from this method to pass it to the
/// [urlTemplate] property.
/// [MapTileLayer.urlTemplate] property.
///
/// ```dart
/// @override
Expand Down Expand Up @@ -151,52 +153,54 @@ class MapTileLayer extends MapLayer {
///
/// Some of the providers provide different map types. For example, Bing Maps
/// provide map types like Road, Aerial, AerialWithLabels etc. These types too
/// can be passed in the [urlTemplate] itself as shown in the above example.
/// You can check the official websites of the tile providers to know about
/// the available types and the code for it.
/// can be passed in the [MapTileLayer.urlTemplate] itself as shown in the
/// above example. You can check the official websites of the tile providers
/// to know about the available types and the code for it.
///
/// See also:
/// * For Bing Maps, use the [getBingUrlTemplate] method to get the URL in
/// required format and set it to the [urlTemplate].
/// required format and set it to the [MapTileLayer.urlTemplate].
final String urlTemplate;

/// Represents the initial focal latitude and longitude position.
///
/// Based on the size of the [SfMaps] widget, [initialFocalLatLng] and
/// [initialZoomLevel] number of initial tiles needed in the view port alone
/// will be rendered. While zooming and panning, new tiles will be requested
/// and rendered on demand based on the current zoom level and focal point.
/// The current zoom level and focal point can be obtained from the
/// [MapZoomPanBehavior.zoomLevel] and [MapZoomPanBehavior.focalLatLng].
/// Based on the size of the [SfMaps] widget,[MapTileLayer.initialFocalLatLng]
/// and [MapTileLayer.initialZoomLevel] number of initial tiles needed in the
/// view port alone will be rendered. While zooming and panning, new tiles
/// will be requested and rendered on demand based on the current zoom level
/// and focal point. The current zoom level and focal point can be obtained
/// from the [MapZoomPanBehavior.zoomLevel] and
/// [MapZoomPanBehavior.focalLatLng].
///
/// This properties cannot be changed dynamically.
///
/// Defaults to `MapLatLng(0.0, 0.0)`.
///
/// See also:
/// * For enabling zooming and panning, set [zoomPanBehavior] with the
/// instance of [MapZoomPanBehavior].
/// * For enabling zooming and panning, set [MapTileLayer.zoomPanBehavior]
/// with the instance of [MapZoomPanBehavior].
/// * [MapZoomPanBehavior.focalLatLng], to dynamically change the center
/// position.
/// * [MapZoomPanBehavior.zoomLevel], to dynamically change the zoom level.
final MapLatLng initialFocalLatLng;

/// Represents the initial zooming level.
///
/// Based on the size of the [SfMaps] widget, [initialFocalLatLng] and
/// [initialZoomLevel] number of initial tiles needed in the view port alone
/// will be rendered. While zooming and panning, new tiles will be requested
/// and rendered on demand based on the current zoom level and focal point.
/// The current zoom level and focal point can be obtained from the
/// [MapZoomPanBehavior.zoomLevel] and [MapZoomPanBehavior.focalLatLng].
/// Based on the size of the [SfMaps] widget,[MapTileLayer.initialFocalLatLng]
/// and [MapTileLayer.initialZoomLevel] number of initial tiles needed in the
/// view port alone will be rendered. While zooming and panning, new tiles
/// will be requested and rendered on demand based on the current zoom level
/// and focal point. The current zoom level and focal point can be obtained
/// from the [MapZoomPanBehavior.zoomLevel] and
/// [MapZoomPanBehavior.focalLatLng].
///
/// This properties cannot be changed dynamically.
///
/// Defaults to 1.
///
/// See also:
/// * For enabling zooming and panning, set [zoomPanBehavior] with the
/// instance of [MapZoomPanBehavior].
/// * For enabling zooming and panning, set [MapTileLayer.zoomPanBehavior]
/// with the instance of [MapZoomPanBehavior].
/// * [MapZoomPanBehavior.focalLatLng], to dynamically change the center
/// position.
/// * [MapZoomPanBehavior.zoomLevel], to dynamically change the zoom level.
Expand Down Expand Up @@ -933,7 +937,7 @@ class _MapTileLayerState extends State<_MapTileLayer> {
);
}

// Converts the [urlTemplate] format into respective map
// Converts the [MapTileLayer.urlTemplate] format into respective map
// providers URL format.
String _getTileUrl(int x, int y, int z) {
String previousLetter;
Expand Down
26 changes: 14 additions & 12 deletions packages/syncfusion_flutter_maps/lib/src/maps.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@ part of maps;
/// Tile layer which renders the tiles returned from the Web Map Tile
/// Services (WMTS) like OpenStreetMap, Bing Maps, Google Maps, TomTom etc.
///
/// The [urlTemplate] accepts the URL in WMTS format i.e. {z} — zoom level, {x}
/// and {y} — tile coordinates.
/// The [MapTileLayer.urlTemplate] accepts the URL in WMTS format
/// i.e. {z} — zoom level, {x} and {y} — tile coordinates.
///
/// This URL might vary slightly depends on the providers. The formats can be,
/// https://exampleprovider/{z}/{x}/{y}.png,
Expand All @@ -88,24 +88,26 @@ part of maps;
/// current center point and the zoom level.
///
/// The subscription key may be needed for some of the providers. Please include
/// them in the [urlTemplate] itself as mentioned in above example. Please note
/// that the format may vary between the each map providers. You can check the
/// exact URL format needed for the providers in their official websites.
/// them in the [MapTileLayer.urlTemplate] itself as mentioned in above example.
/// Please note that the format may vary between the each map providers.
/// You can check the exact URL format needed for the providers in their
/// official websites.
///
/// Regarding the tile rendering, at the lowest zoom level (Level 0), the map is
/// 256 x 256 pixels and the
/// whole world map renders as a single tile. At each increase in level, the map
/// width and height grow by a factor of 2 i.e. Level 1 is 512 x 512 pixels with
/// 4 tiles ((0, 0), (0, 1), (1, 0), (1, 1) where 0 and 1 are {x} and {y} in
/// [urlTemplate]), Level 2 is 2048 x 2048 pixels with 8
/// [MapTileLayer.urlTemplate]), Level 2 is 2048 x 2048 pixels with 8
/// tiles (from (0, 0) to (3, 3)), and so on.
/// (These details are just for your information and all these calculation are
/// done internally.)
///
/// However, based on the size of the [SfMaps] widget, [initialFocalLatLng] and
/// [initialZoomLevel] number of initial tiles needed in the view port alone
/// will be rendered. While zooming and panning, new tiles will be requested and
/// rendered on demand based on the current zoom level and focal point.
/// However, based on the size of the [SfMaps] widget,
/// [MapTileLayer.initialFocalLatLng] and [MapTileLayer.initialZoomLevel] number
/// of initial tiles needed in the view port alone will be rendered.
/// While zooming and panning, new tiles will be requested and rendered on
/// demand based on the current zoom level and focal point.
/// The current zoom level and focal point can be obtained from the
/// [MapZoomPanBehavior.zoomLevel] and [MapZoomPanBehavior.focalLatLng]
/// respectively. Once the particular tile is rendered, it will be stored in the
Expand Down Expand Up @@ -134,8 +136,8 @@ part of maps;
/// bubbles, legends, selection etc.
/// * [MapShapeLayerDelegate], for providing the data for the elements like data
/// labels, tooltip, bubbles, legends etc.
/// * For enabling zooming and panning, set [zoomPanBehavior] with the instance
/// of [MapZoomPanBehavior].
/// * For enabling zooming and panning, set [MapTileLayer.zoomPanBehavior]
/// with the instance of [MapZoomPanBehavior].

class SfMaps extends StatefulWidget {
/// Creates a [SfMaps].
Expand Down
Loading