From 5b04cc9a581b7b01173ab9604d5008d094a59595 Mon Sep 17 00:00:00 2001 From: mansi-dev Date: Fri, 30 Jan 2026 23:00:14 +0530 Subject: [PATCH] Implement camera controls and expose MapHandle API in MapView --- example/App.tsx | 21 ++++++++- packages/map-sdk/README.md | 21 +++++++++ packages/map-sdk/src/MapView.tsx | 76 ++++++++++++++++++++++++++++++-- packages/map-sdk/src/index.ts | 1 + 4 files changed, 113 insertions(+), 6 deletions(-) diff --git a/example/App.tsx b/example/App.tsx index 6c4be99..2c710a1 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -1,11 +1,27 @@ -import React from 'react'; -import { SafeAreaView, StyleSheet } from 'react-native'; +import React, { useRef } from 'react'; +import { SafeAreaView, StyleSheet, Button, View } from 'react-native'; import { MapView, Marker } from '@lynkedup/map-sdk'; +import type { MapHandle } from '@lynkedup/map-sdk'; export default function App() { + const mapRef = useRef(null); + return ( + +