Skip to content

Commit

Permalink
fix:block map scrolling without ctrl/cmd key pressed (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
RazvanBalota authored Jan 24, 2024
1 parent 107f6eb commit b53db35
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions src/components/Map.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ export default function MyMap() {
}}
style={{ width: 600, height: 600 }}
mapStyle="mapbox://styles/razvan42/clrj101eb00oo01qththo326l"
cooperativeGestures={true}
>
<Marker
longitude={longitude}
latitude={latitude}
anchor="bottom"
>
<img
src="/logo.png"
className="w-12 h-12"
/>
<Marker longitude={longitude} latitude={latitude} anchor="bottom">
<a href="https://www.google.com/maps/place/Resource+Center+-+Ladies+Academy/@46.0709601,23.5448508,15z/data=!4m6!3m5!1s0x474ea7d08f406dc7:0x7cef99f43db6a8c4!8m2!3d46.0695681!4d23.5558827!16s%2Fg%2F11c6cdh7t4?entry=tts">
<img src="/logo.png" className=" w-14 h-14" />
</a>
</Marker>
</Map>
);
Expand Down

0 comments on commit b53db35

Please sign in to comment.