Example #1
0
        public RemarkableTree(RemarkableTreeRoot tree)
        {
            Coordinate = new CLLocationCoordinate2D(((NSNumber)tree.geometry.coordinates[1]).NFloatValue, ((NSNumber)tree.geometry.coordinates[0]).NFloatValue);

            TreeItem = tree;

            this.Title    = tree.fields?.libellefrancais;
            this.Subtitle = tree.fields?.espece;
        }
 public TreeClusterItem(RemarkableTreeRoot tree)
 {
     Position = new LatLng(tree.geometry.coordinates[1], tree.geometry.coordinates[0]);
     Title    = tree.fields.libellefrancais;
 }