From b9cae949d4ca1e499b02bb336698600fd860c534 Mon Sep 17 00:00:00 2001 From: mansi-dev Date: Sat, 31 Jan 2026 23:22:12 +0530 Subject: [PATCH] Add PropertyMap and PriceMarker components with property search functionality --- example/App.tsx | 49 ++-- packages/map-sdk/README.md | 42 ++++ packages/map-sdk/package.json | 4 +- .../map-sdk/src/components/PriceMarker.tsx | 63 +++++ .../map-sdk/src/components/PropertyMap.tsx | 236 ++++++++++++++++++ packages/map-sdk/src/index.ts | 6 + 6 files changed, 380 insertions(+), 20 deletions(-) create mode 100644 packages/map-sdk/src/components/PriceMarker.tsx create mode 100644 packages/map-sdk/src/components/PropertyMap.tsx diff --git a/example/App.tsx b/example/App.tsx index 2c710a1..f6bc057 100644 --- a/example/App.tsx +++ b/example/App.tsx @@ -1,32 +1,43 @@ -import React, { useRef } from 'react'; +import React, { useRef, useState } from 'react'; import { SafeAreaView, StyleSheet, Button, View } from 'react-native'; -import { MapView, Marker } from '@lynkedup/map-sdk'; +import { MapView, Marker, PropertyMap } from '@lynkedup/map-sdk'; import type { MapHandle } from '@lynkedup/map-sdk'; export default function App() { const mapRef = useRef(null); + const [showPropertyMap, setShowPropertyMap] = useState(false); return ( -