@@ -283,79 +283,38 @@ Barking up the right tree
283283</Accordion >
284284
285285## Maps
286-
287286<h2 >Example 1: Map with Location</h2 >
288287<Map
289288 location = " Empire State Building, New York"
290289 zoom = { 15 }
291290/>
292291
293- <h2 >Example 2: Map with Location and Custom Map Type</h2 >
294- <Map
295- location = " Grand Canyon, Arizona"
296- mapType = " satellite"
297- zoom = { 12 }
298- />
299-
300- <h2 >Example 3: Map with Coordinates (Latitude & Longitude)</h2 >
292+ <h2 >Example 2: Map with Coordinates (Latitude & Longitude)</h2 >
301293<Map
302294 lat = { 48.8584 }
303295 lng = { 2.2945 }
304296 zoom = { 16 }
305297 title = " Eiffel Tower, Paris"
306298/>
307299
308- <h2 >Example 4: Map with Coordinates and Terrain Map Type</h2 >
309- <Map
310- lat = { 36.1069 }
311- lng = { - 112.1129 }
312- mapType = " terrain"
313- zoom = { 13 }
314- title = " Grand Canyon"
315- />
316-
317- <h2 >Example 5: Map with Hybrid Map Type</h2 >
300+ <h2 >Example 3: Map with Default Zoom Level</h2 >
318301<Map
319302 location = " Sydney Opera House"
320- mapType = " hybrid"
321- zoom = { 17 }
322303/>
323304
324- <h2 >Example 6 : Map with Map ID </h2 >
305+ <h2 >Example 4 : Map with Custom Title </h2 >
325306<Map
326- mapId = " 0x89c259a944867e5b:0xb2c96748fa5e9cf"
327- title = " Central Park, New York"
328- />
329-
330- <h2 >Example 7: Map with Embed Code from Google Maps</h2 >
331- <Map
332- embedCode = ' <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2624.9916256937586!2d2.2922926156740954!3d48.858370079287475!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x47e66e2964e34e2d%3A0x8ddca9ee380ef7e0!2sEiffel%20Tower!5e0!3m2!1sen!2sus!4v1621536319249!5m2!1sen!2sus" width="600" height="450" style="border:0;" allowfullscreen="" loading="lazy"></iframe>'
333- title = " Eiffel Tower Embed"
334- />
335-
336- <h2 >Example 8: Map with Loading Performance Options</h2 >
337- <Map
338- location = " Golden Gate Bridge, San Francisco"
339- loading = " eager"
340- referrerPolicy = " strict-origin"
307+ lat = { 36.1069 }
308+ lng = { - 112.1129 }
309+ zoom = { 13 }
310+ title = " Grand Canyon"
341311/>
342312
343- <h2 >Example 9 : Map with All Default Values</h2 >
313+ <h2 >Example 5 : Map with All Default Values</h2 >
344314<Map
345315 location = " Statue of Liberty, New York"
346316/>
347317
348- <h2 >Example 10: Full Custom Configuration</h2 >
349- <Map
350- lat = { 40.7484 }
351- lng = { - 73.9857 }
352- zoom = { 16 }
353- mapType = " hybrid"
354- title = " Empire State Building"
355- loading = " eager"
356- referrerPolicy = " no-referrer"
357- />
358-
359318<h2 >Usage in Layout</h2 >
360319<div class = " grid grid-cols-1 md:grid-cols-2 gap-6" >
361320 <div >
0 commit comments