- App.tsx: full navigation (Auth stack + Main tabs with 5 screens) - Auth: LoginScreen, RegisterScreen, ForgotPasswordScreen - HomeScreen: dashboard with IoT metrics, weather widget, alerts, quick actions, sensors - MapScreen: interactive map with layer toggles (6 layers) - MarketplaceScreen: categories (6), products (5), search - ChatScreen: AI chat with quick prompts (4), bot responses - ProfileScreen: user info, stats, menu (9 items), logout - AlertsScreen: alert list with severity, acknowledge - SensorsScreen: sensor list with type filters (6 types), search - ZonesScreen: zone cards with stats - SettingsScreen: language picker (FR/EN/ES/DE), privacy, about - Stores: iotStore (sensors, zones, alerts), notificationStore, uiStore + i18n - Hooks: useSensors, useAlerts, useNotifications, useLocation - Components: Card, Button, LoadingSpinner, ErrorBoundary, Header - Services: iotService, notificationService (with axios API client) - Utils: formatters (temp, AQI, noise, dates), validators (email, password, IBAN) - Theme: colors.ts with full design system (Blue Ocean palette) - Ditto: fixed MongoDB connection, new JWT secrets, official gateway image
58 lines
1.4 KiB
Objective-C
58 lines
1.4 KiB
Objective-C
//
|
|
// AIRUrlTileOverlay.h
|
|
// AirMaps
|
|
//
|
|
// Created by cascadian on 3/19/16.
|
|
// Copyright © 2016. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#import <MapKit/MapKit.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
#import <React/RCTComponent.h>
|
|
#import <React/RCTView.h>
|
|
#import "AIRMapCoordinate.h"
|
|
#import "AIRMap.h"
|
|
#import "RCTConvert+AirMap.h"
|
|
#import "AIRMapUrlTileCachedOverlay.h"
|
|
|
|
@interface AIRMapUrlTile : MKAnnotationView <MKOverlay> {
|
|
BOOL _urlTemplateSet;
|
|
BOOL _tileSizeSet;
|
|
BOOL _flipYSet;
|
|
BOOL _tileCachePathSet;
|
|
BOOL _tileCacheMaxAgeSet;
|
|
BOOL _maximumNativeZSet;
|
|
BOOL _cachedOverlayCreated;
|
|
BOOL _opacitySet;
|
|
}
|
|
|
|
@property (nonatomic, weak) AIRMap *map;
|
|
|
|
@property (nonatomic, strong) AIRMapUrlTileCachedOverlay *tileOverlay;
|
|
@property (nonatomic, strong) MKTileOverlayRenderer *renderer;
|
|
@property (nonatomic, copy) NSString *urlTemplate;
|
|
@property NSInteger maximumZ;
|
|
@property NSInteger maximumNativeZ;
|
|
@property NSInteger minimumZ;
|
|
@property BOOL flipY;
|
|
@property BOOL shouldReplaceMapContent;
|
|
@property NSInteger tileSize;
|
|
@property (nonatomic, copy) NSString *tileCachePath;
|
|
@property NSInteger tileCacheMaxAge;
|
|
@property BOOL offlineMode;
|
|
@property CGFloat opacity;
|
|
|
|
- (void)updateProperties;
|
|
- (void)update;
|
|
|
|
#pragma mark MKOverlay protocol
|
|
|
|
@property(nonatomic, readonly) CLLocationCoordinate2D coordinate;
|
|
@property(nonatomic, readonly) MKMapRect boundingMapRect;
|
|
//- (BOOL)intersectsMapRect:(MKMapRect)mapRect;
|
|
- (BOOL)canReplaceMapContent;
|
|
|
|
@end
|