Files
smart-city-digital-twin-mar…/smart-app-city/frontend/node_modules/react-native-maps/dist/src/MapCircle.d.ts
Eric FELIXINE e30ae8ed09 feat(smart-app): implement complete mobile app MVP
- 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
2026-06-01 18:00:35 -04:00

118 lines
4.2 KiB
TypeScript

import * as React from 'react';
import { View, type ViewProps } from 'react-native';
import { ProviderContext, type NativeComponent, type MapManagerCommand, type UIManagerCommand } from './decorateMapComponent';
import type { LatLng, LineCapType, LineJoinType } from './sharedTypes';
export type MapCircleProps = ViewProps & {
/**
* The coordinates of the center of the circle.
*
* @platform iOS: Supported
* @platform Android: Supported
*/
center: LatLng;
/**
* The fill color to use for the path.
*
* @default `#000`, `rgba(r,g,b,0.5)`
* @platform iOS: Supported
* @platform Android: Supported
*/
fillColor?: string;
/**
* The line cap style to apply to the open ends of the path
*
* @default `round`
* @platform iOS: Apple Maps only
* @platform Android: Not supported
*/
lineCap?: LineCapType;
/**
* An array of numbers specifying the dash pattern to use for the path.
* The array contains one or more numbers that indicate the lengths (measured in points)
* of the line segments and gaps in the pattern.
* The values in the array alternate, starting with the first line segment length,
* followed by the first gap length, followed by the second line segment length, and so on.
*
* @platform iOS: Apple Maps only
* @platform Android: Not supported
*/
lineDashPattern?: number[];
/**
* The offset (in points) at which to start drawing the dash pattern.
* Use this property to start drawing a dashed line partway through a segment or gap.
* For example, a phase value of 6 for the patter 5-2-3-2 would cause drawing to begin in the middle of the first gap.
*
* @default 0
* @platform iOS: Apple Maps only
* @platform Android: Not supported
*/
lineDashPhase?: number;
/**
* The line join style to apply to corners of the path.
*
* @platform iOS: Apple Maps only
* @platform Android: Not supported
*/
lineJoin?: LineJoinType;
/**
* The limiting value that helps avoid spikes at junctions between connected line segments.
* The miter limit helps you avoid spikes in paths that use the `miter` `lineJoin` style.
* If the ratio of the miter length—that is, the diagonal length of the miter join—to the line thickness exceeds the miter limit,
* the joint is converted to a bevel join.
* The default miter limit is 10, which results in the conversion of miters whose angle at the joint is less than 11 degrees.
*
* @default 10
* @platform iOS: Apple Maps only
* @platform Android: Not supported
*/
miterLimit?: number;
/**
* The radius of the circle to be drawn (in meters)
*
* @platform iOS: Supported
* @platform Android: Supported
*/
radius: number;
/**
* The stroke color to use for the path.
*
* @default `#000`, `rgba(r,g,b,0.5)`
* @platform iOS: Supported
* @platform Android: Supported
*/
strokeColor?: string;
/**
* The stroke width to use for the path.
*
* @default 1
* @platform iOS: Supported
* @platform Android: Supported
*/
strokeWidth?: number;
/**
* The order in which this tile overlay is drawn with respect to other overlays.
* An overlay with a larger z-index is drawn over overlays with smaller z-indices.
* The order of overlays with the same z-index is arbitrary.
*
* @default 0
* @platform iOS: Google Maps only
* @platform Android: Supported
*/
zIndex?: number;
};
type NativeProps = MapCircleProps & {
ref: React.RefObject<View | null>;
};
export declare class MapCircle extends React.Component<MapCircleProps> {
context: React.ContextType<typeof ProviderContext>;
getNativeComponent: () => NativeComponent<NativeProps>;
getMapManagerCommand: (name: string) => MapManagerCommand;
getUIManagerCommand: (name: string) => UIManagerCommand;
private circle;
constructor(props: MapCircleProps);
setNativeProps(props: Partial<NativeProps>): void;
render(): React.JSX.Element;
}
declare const _default: typeof MapCircle;
export default _default;